1999-01-20 14:49:13 +00:00
|
|
|
# New ports collection makefile for: pdflib
|
|
|
|
# Date created: Mon Jan 18 17:03:33 CET 1999
|
1999-07-30 21:04:01 +00:00
|
|
|
# Whom: Dirk Froemberg <dirk@FreeBSD.org>
|
1999-01-20 14:49:13 +00:00
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1999-01-20 14:49:13 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 17:50:59 +00:00
|
|
|
PORTNAME= pdflib
|
|
|
|
PORTVERSION= 2.01
|
1999-01-20 14:49:13 +00:00
|
|
|
CATEGORIES= print
|
1999-09-08 13:51:02 +00:00
|
|
|
MASTER_SITES= http://www.pdflib.com/pdflib/download/ \
|
1999-01-20 14:49:13 +00:00
|
|
|
http://www.physik.TU-Berlin.DE/~ibex/ports/distfiles/
|
|
|
|
|
1999-07-30 21:04:01 +00:00
|
|
|
MAINTAINER= dirk@FreeBSD.org
|
1999-01-20 14:49:13 +00:00
|
|
|
|
|
|
|
RUN_DEPENDS= ${PREFIX}/lib/afm/Courier:${PORTSDIR}/print/afm
|
1999-09-07 10:45:31 +00:00
|
|
|
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
|
1999-01-20 14:49:13 +00:00
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg
|
|
|
|
|
1999-08-01 19:21:35 +00:00
|
|
|
FETCH_BEFORE_ARGS= -b
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
1999-07-30 21:04:01 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-perl5=${PERL} \
|
|
|
|
--with-tiff=${PREFIX} \
|
|
|
|
--with-jpeg=${PREFIX} \
|
|
|
|
--with-zlib=/usr
|
1999-01-20 14:49:13 +00:00
|
|
|
|
|
|
|
do-install:
|
1999-07-30 21:04:01 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/pdflib/libpdf.so.2 ${PREFIX}/lib
|
|
|
|
${LN} -s libpdf.so.2 ${PREFIX}/lib/libpdf.so
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pdflib/pdflib.h ${PREFIX}/include
|
1999-01-20 14:49:13 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/pdflib
|
1999-07-30 21:04:01 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/pdflib
|
1999-01-20 14:49:13 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|