aboutsummaryrefslogtreecommitdiff
path: root/print/pdflib3/Makefile
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>1999-07-30 21:04:01 +0000
committerDirk Froemberg <dirk@FreeBSD.org>1999-07-30 21:04:01 +0000
commit6a1452975fa87962f3c000eb6af09a21d80e92af (patch)
tree9b1a867c867e9ea28b00a8869be01a7c7c9b331e /print/pdflib3/Makefile
parent2038d4921ba38971425e0872679586af77276fae (diff)
downloadports-6a1452975fa87962f3c000eb6af09a21d80e92af.tar.gz
ports-6a1452975fa87962f3c000eb6af09a21d80e92af.zip
Notes
Diffstat (limited to 'print/pdflib3/Makefile')
-rw-r--r--print/pdflib3/Makefile35
1 files changed, 16 insertions, 19 deletions
diff --git a/print/pdflib3/Makefile b/print/pdflib3/Makefile
index d72630387fdd..420fb9614426 100644
--- a/print/pdflib3/Makefile
+++ b/print/pdflib3/Makefile
@@ -1,39 +1,36 @@
# New ports collection makefile for: pdflib
-# Version required: 0.6
+# Version required: 2.0
# Date created: Mon Jan 18 17:03:33 CET 1999
-# Whom: Dirk Froemberg <dirk@FreeBSD.ORG>
+# Whom: Dirk Froemberg <dirk@FreeBSD.org>
#
-# $Id: Makefile,v 1.1.1.1 1999/01/20 14:49:12 dirk Exp $
+# $Id: Makefile,v 1.2 1999/05/19 21:45:53 dirk Exp $
#
-DISTNAME= pdflib-0.6
+DISTNAME= pdflib-2.0
CATEGORIES= print
-MASTER_SITES= http://www.ifconnection.de/~tm/software/pdflib/ \
+MASTER_SITES= http://www.ifconnection.de/~tm/pdflib/ \
http://www.physik.TU-Berlin.DE/~ibex/ports/distfiles/
-MAINTAINER= dirk@FreeBSD.ORG
+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
-MAKE_ENV= CC=${CC}
-
-pre-build:
- ${SED} -e "s#!!PREFIX!!#${PREFIX}#" < ${WRKSRC}/pdf.h > ${WRKSRC}/pdf.h.tmp
- ${MV} ${WRKSRC}/pdf.h.tmp ${WRKSRC}/pdf.h
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-perl5=${PERL} \
+ --with-tiff=${PREFIX} \
+ --with-jpeg=${PREFIX} \
+ --with-zlib=/usr
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
+ ${INSTALL_DATA} ${WRKSRC}/pdflib/libpdf.so.2 ${PREFIX}/lib
+ ${LN} -s libpdf.so.2 ${PREFIX}/lib/libpdf.so
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/pdflib/pdflib.h ${PREFIX}/include
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/pdflib
- ${INSTALL_DATA} ${WRKSRC}/PDFlib-0.6.pdf ${PREFIX}/share/doc/pdflib
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/pdflib
.endif
.include <bsd.port.mk>