diff options
author | Alex Dupre <ale@FreeBSD.org> | 2005-01-23 11:21:07 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2005-01-23 11:21:07 +0000 |
commit | 6dc126eca78e1b571ae8ee2661df545d34aa9d97 (patch) | |
tree | 61d5a4f92d8dfeebf4d807905315a9d6ccac6219 /print/pdflib/Makefile | |
parent | dfecac5763d37dddbc1d328fcaeccc15810135a5 (diff) | |
download | ports-6dc126eca78e1b571ae8ee2661df545d34aa9d97.tar.gz ports-6dc126eca78e1b571ae8ee2661df545d34aa9d97.zip |
Notes
Diffstat (limited to 'print/pdflib/Makefile')
-rw-r--r-- | print/pdflib/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/print/pdflib/Makefile b/print/pdflib/Makefile index a09ab8f595fd..33860040cc81 100644 --- a/print/pdflib/Makefile +++ b/print/pdflib/Makefile @@ -7,6 +7,7 @@ PORTNAME= pdflib PORTVERSION= 6.0.1 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://www.pdflib.com/products/pdflib/download/${PORTVERSION:S/.//g}src/ DISTNAME= PDFlib-Lite-${PORTVERSION} @@ -14,8 +15,6 @@ DISTNAME= PDFlib-Lite-${PORTVERSION} MAINTAINER= ale@FreeBSD.org COMMENT= A C library for dynamically generating PDF -FORBIDDEN= http://vuxml.freebsd.org/fc7e6a42-6012-11d9-a9e7-0001020eed82.html - RESTRICTED= "many odd restrictions on usage and distribution" INSTALLS_SHLIB= yes @@ -41,6 +40,11 @@ PLIST_SUB= PERL="@comment " PORTDOCS= * .endif +.include <bsd.port.pre.mk> + +.if ${ARCH} == "amd64" || ${ARCH} == "ia64" || ${ARCH} == "sparc64" +CONFIGURE_ARGS+=--enable-64bit +.endif post-patch: @${REINPLACE_CMD} -e "s|\(PDFLIB_LTCURRENT\)=5|\1=7|g" ${WRKSRC}/configure @${REINPLACE_CMD} -e 's^\$$(top_builddir)/libtool^${LIBTOOL}^' ${WRKSRC}/config/mkcommon.inc.in @@ -53,4 +57,4 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/doc/pdflib/* ${DOCSDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |