1999-01-20 09:49:13 -05:00
|
|
|
# New ports collection makefile for: pdflib
|
|
|
|
# Date created: Mon Jan 18 17:03:33 CET 1999
|
1999-07-30 17:04:01 -04:00
|
|
|
# Whom: Dirk Froemberg <dirk@FreeBSD.org>
|
1999-01-20 09:49:13 -05:00
|
|
|
#
|
1999-08-30 21:53:22 -04:00
|
|
|
# $FreeBSD$
|
1999-01-20 09:49:13 -05:00
|
|
|
#
|
|
|
|
|
2000-04-09 13:50:59 -04:00
|
|
|
PORTNAME= pdflib
|
2001-03-10 19:47:19 -05:00
|
|
|
PORTVERSION= 3.03
|
1999-01-20 09:49:13 -05:00
|
|
|
CATEGORIES= print
|
2000-09-13 17:46:33 -04:00
|
|
|
MASTER_SITES= http://www.pdflib.com/pdflib/download/
|
1999-01-20 09:49:13 -05:00
|
|
|
|
2000-09-13 17:46:33 -04:00
|
|
|
MAINTAINER= billf@FreeBSD.org
|
1999-01-20 09:49:13 -05:00
|
|
|
|
2000-09-13 17:46:33 -04:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/afm/Courier:${PORTSDIR}/print/afm
|
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2001-09-10 22:59:20 -04:00
|
|
|
png.5:${PORTSDIR}/graphics/png
|
1999-01-20 09:49:13 -05:00
|
|
|
|
2000-09-13 17:46:33 -04:00
|
|
|
RESTRICTED= "many odd restrictions on usage and distribution"
|
2000-06-16 17:52:40 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-09-13 17:46:33 -04:00
|
|
|
USE_LIBTOOL= yes
|
1999-07-30 17:04:01 -04:00
|
|
|
CONFIGURE_ARGS= --with-perl5=${PERL} \
|
|
|
|
--with-jpeg=${PREFIX} \
|
2000-09-13 17:46:33 -04:00
|
|
|
--with-pnglib=${PREFIX} \
|
|
|
|
--enable-shared-pdflib \
|
|
|
|
--enable-cxx \
|
1999-07-30 17:04:01 -04:00
|
|
|
--with-zlib=/usr
|
1999-01-20 09:49:13 -05:00
|
|
|
|
|
|
|
do-install:
|
2000-09-13 17:46:33 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/pdflib/.libs/libpdf.so.3 ${PREFIX}/lib
|
|
|
|
${LN} -s libpdf.so.3 ${PREFIX}/lib/libpdf.so
|
1999-07-30 17:04:01 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/pdflib/pdflib.h ${PREFIX}/include
|
1999-01-20 09:49:13 -05:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/pdflib
|
1999-07-30 17:04:01 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/pdflib
|
1999-01-20 09:49:13 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|