# New ports collection makefile for:	pdflib
# Date created:		Wed Jan 9 12:27:54 CET 2002
# Whom:			Alex Dupre <sysadmin@alexdupre.com>
#
# $FreeBSD: ports/print/pdflib/Makefile,v 1.18 2002/05/10 06:48:05 max Exp $
#

PORTNAME=	pdflib
PORTVERSION=	4.0.2
CATEGORIES=	print
MASTER_SITES=	http://www.pdflib.com/pdflib/download/

MAINTAINER=	sysadmin@alexdupre.com

RESTRICTED=	"many odd restrictions on usage and distribution"

INSTALLS_SHLIB=	yes
USE_GMAKE=	yes
USE_LIBTOOL=	yes
LIBTOOLFILES=	config/aclocal.m4
USE_PERL5=	yes
CONFIGURE_ARGS=	--enable-cxx

post-install:
.if !defined(NOPORTDOCS)
	${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif

.include <bsd.port.mk>
