diff options
Diffstat (limited to 'print/pdflib/Makefile')
-rw-r--r-- | print/pdflib/Makefile | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/print/pdflib/Makefile b/print/pdflib/Makefile index 97576dd803c..5f9b355a161 100644 --- a/print/pdflib/Makefile +++ b/print/pdflib/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.10 2001/05/22 09:32:25 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2001/07/29 05:38:40 jlam Exp $ -DISTNAME= pdflib-3.03 +DISTNAME= pdflib-4.0.1 CATEGORIES= print MASTER_SITES= http://www.pdflib.com/pdflib/download/ @@ -8,16 +8,32 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.pdflib.com/pdflib/index.html COMMENT= C library to produce PDF files -DEPENDS+= tiff-3.5.5:../../graphics/tiff -DEPENDS+= jpeg-6b:../../graphics/jpeg -DEPENDS+= png>=1.0.11:../../graphics/png +USE_BUILDLINK_ONLY= yes +REPLACE_BUILDLINK= pdflib-config USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-tifflib=${PREFIX} \ - --with-pnglib=${PREFIX} \ - --enable-shared-pdflib +CONFIGURE_ARGS= --with-tifflib +CONFIGURE_ARGS+= --with-zlib +CONFIGURE_ARGS+= --with-pnglib +CPPFLAGS+= -Dunix + USE_LIBTOOL= yes LTCONFIG_OVERRIDE= ${WRKSRC}/config/ltconfig +ALL_TARGET= pdflib +DOCDIR= ${PREFIX}/share/doc/pdflib + +post-install: + ${INSTALL_DATA_DIR} ${DOCDIR} + cd ${WRKSRC}/doc; for file in \ + PDFlib-license.pdf \ + PDFlib-manual.pdf \ + aladdin-license.pdf; \ + do \ + ${INSTALL_DATA} $${file} ${DOCDIR}; \ + done + +.include "../../graphics/png/buildlink.mk" +.include "../../graphics/tiff/buildlink.mk" .include "../../mk/bsd.pkg.mk" |