diff options
author | dirk <dirk@FreeBSD.org> | 1999-01-20 22:49:13 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 1999-01-20 22:49:13 +0800 |
commit | 1b4a5c7ebce4c96a8dc61e0b1baef7a519058c6b (patch) | |
tree | ead30f45949fcd5d8306b6125afb98a4fbd2c5dd /print/pdflib/Makefile | |
parent | fce811d06860043fac3099ff8ec364b98eabf09c (diff) | |
download | freebsd-ports-gnome-1b4a5c7ebce4c96a8dc61e0b1baef7a519058c6b.tar.gz freebsd-ports-gnome-1b4a5c7ebce4c96a8dc61e0b1baef7a519058c6b.tar.zst freebsd-ports-gnome-1b4a5c7ebce4c96a8dc61e0b1baef7a519058c6b.zip |
pdflib v0.6 - a C library for dynamically generating PDF
Diffstat (limited to 'print/pdflib/Makefile')
-rw-r--r-- | print/pdflib/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/print/pdflib/Makefile b/print/pdflib/Makefile new file mode 100644 index 000000000000..759a7da7989d --- /dev/null +++ b/print/pdflib/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: pdflib +# Version required: 0.6 +# Date created: Mon Jan 18 17:03:33 CET 1999 +# Whom: Dirk Froemberg <dirk@FreeBSD.ORG> +# +# $Id$ +# + +DISTNAME= pdflib-0.6 +CATEGORIES= print +MASTER_SITES= http://www.ifconnection.de/~tm/software/pdflib/ \ + http://www.physik.TU-Berlin.DE/~ibex/ports/distfiles/ + +MAINTAINER= dirk@FreeBSD.ORG + +RUN_DEPENDS= ${PREFIX}/lib/afm/Courier:${PORTSDIR}/print/afm +LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff34 \ + jpeg.9:${PORTSDIR}/graphics/jpeg + +USE_GMAKE= yes +MAKEFILE= makefile.gcc + +pre-build: + ${SED} -e "s#!!PREFIX!!#${PREFIX}#" < ${WRKSRC}/pdf.h > ${WRKSRC}/pdf.h.tmp + ${MV} ${WRKSRC}/pdf.h.tmp ${WRKSRC}/pdf.h + +do-install: + ${INSTALL_DATA} ${WRKSRC}/libpdf.a ${PREFIX}/lib +.for prg in imagepdf pdfclock pdfdemo pdfgraph text2pdf + ${INSTALL_PROGRAM} ${WRKSRC}/${prg} ${PREFIX}/bin +.endfor + ${INSTALL_DATA} ${WRKSRC}/pdf.h ${PREFIX}/include +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/pdflib + ${INSTALL_DATA} ${WRKSRC}/PDFlib-0.6.pdf ${PREFIX}/share/doc/pdflib +.endif + +.include <bsd.port.mk> |