aboutsummaryrefslogtreecommitdiff
path: root/print/pdflib3
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>2000-09-13 21:46:33 +0000
committerBill Fumerola <billf@FreeBSD.org>2000-09-13 21:46:33 +0000
commitb46212005617dd77e941b5486b5336b409a08972 (patch)
tree29a8d7760abe4616d2987fe5e9ce2e1d82f4d90a /print/pdflib3
parent28f9408d6b08d3d9d82f40cbb52c94ca9d1e4a5c (diff)
downloadports-b46212005617dd77e941b5486b5336b409a08972.tar.gz
ports-b46212005617dd77e941b5486b5336b409a08972.zip
Notes
Diffstat (limited to 'print/pdflib3')
-rw-r--r--print/pdflib3/Makefile25
-rw-r--r--print/pdflib3/distinfo2
-rw-r--r--print/pdflib3/files/patch-ad32
-rw-r--r--print/pdflib3/pkg-plist14
4 files changed, 31 insertions, 42 deletions
diff --git a/print/pdflib3/Makefile b/print/pdflib3/Makefile
index e42635be3632..248b0f86b4eb 100644
--- a/print/pdflib3/Makefile
+++ b/print/pdflib3/Makefile
@@ -6,28 +6,29 @@
#
PORTNAME= pdflib
-PORTVERSION= 2.01
+PORTVERSION= 3.02
CATEGORIES= print
-MASTER_SITES= http://www.pdflib.com/pdflib/download/ \
- http://www.physik.TU-Berlin.DE/~ibex/ports/distfiles/
+MASTER_SITES= http://www.pdflib.com/pdflib/download/
-MAINTAINER= dirk@FreeBSD.org
+MAINTAINER= billf@FreeBSD.org
-RUN_DEPENDS= ${PREFIX}/lib/afm/Courier:${PORTSDIR}/print/afm
-LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
- jpeg.9:${PORTSDIR}/graphics/jpeg
+RUN_DEPENDS= ${LOCALBASE}/lib/afm/Courier:${PORTSDIR}/print/afm
+LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
+ png.4:${PORTSDIR}/graphics/png
-FETCH_BEFORE_ARGS= -b
+RESTRICTED= "many odd restrictions on usage and distribution"
INSTALLS_SHLIB= yes
-GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
CONFIGURE_ARGS= --with-perl5=${PERL} \
- --with-tiff=${PREFIX} \
--with-jpeg=${PREFIX} \
+ --with-pnglib=${PREFIX} \
+ --enable-shared-pdflib \
+ --enable-cxx \
--with-zlib=/usr
do-install:
- ${INSTALL_DATA} ${WRKSRC}/pdflib/libpdf.so.2 ${PREFIX}/lib
- ${LN} -s libpdf.so.2 ${PREFIX}/lib/libpdf.so
+ ${INSTALL_DATA} ${WRKSRC}/pdflib/.libs/libpdf.so.3 ${PREFIX}/lib
+ ${LN} -s libpdf.so.3 ${PREFIX}/lib/libpdf.so
${INSTALL_DATA} ${WRKSRC}/pdflib/pdflib.h ${PREFIX}/include
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/pdflib
diff --git a/print/pdflib3/distinfo b/print/pdflib3/distinfo
index 150bb362495c..8a295ba2d4c1 100644
--- a/print/pdflib3/distinfo
+++ b/print/pdflib3/distinfo
@@ -1 +1 @@
-MD5 (pdflib-2.01.tar.gz) = 193f938f1066e7a560874c9e483bd3db
+MD5 (pdflib-3.02.tar.gz) = 167d4a6af2af60ea83c2670ad5c5eecf
diff --git a/print/pdflib3/files/patch-ad b/print/pdflib3/files/patch-ad
index a8d0d5636b06..a481416c61af 100644
--- a/print/pdflib3/files/patch-ad
+++ b/print/pdflib3/files/patch-ad
@@ -1,29 +1,11 @@
---- configure.orig Mon Aug 2 18:04:00 1999
-+++ configure Tue Sep 7 23:14:14 1999
-@@ -557,7 +557,7 @@
+--- configure.old Wed Sep 13 17:10:19 2000
++++ configure Wed Sep 13 17:10:01 2000
+@@ -578,7 +578,7 @@
--VERSION="2.01"
-+VERSION="2"
-
- WITH_CXX=nope
- WITH_JAVA=nope
-@@ -1936,7 +1936,7 @@
- PDFLIB_STATIC=libpdf$VERSION.a
-
- case $ac_sys_system in
-- NetBSD*) PDFLIB_SHARED=libpdf$SO.$VERSION;;
-+ NetBSD*|FreeBSD*) PDFLIB_SHARED=libpdf$SO.$VERSION;;
- *) PDFLIB_SHARED=libpdf$VERSION$SO;;
- esac
-
-@@ -1971,7 +1971,7 @@
- # This must work with the shared as well as the dynamic version.
-
- case $ac_sys_system in
-- NetBSD*) PDFLIBLINK="-lpdf $TIFFLINK $ZLIBLINK -lm";;
-+ NetBSD*|FreeBSD*) PDFLIBLINK="-lpdf $TIFFLINK $ZLIBLINK -lm";;
- *) PDFLIBLINK="-lpdf$VERSION $TIFFLINK $ZLIBLINK -lm";;
- esac
+-PDFLIB_CURRENT=1
++PDFLIB_CURRENT=3
+ PDFLIB_REVISION=0
+ PDFLIB_AGE=0
diff --git a/print/pdflib3/pkg-plist b/print/pdflib3/pkg-plist
index f78afa5e0824..72209c46710d 100644
--- a/print/pdflib3/pkg-plist
+++ b/print/pdflib3/pkg-plist
@@ -1,9 +1,15 @@
include/pdflib.h
lib/libpdf.so
-lib/libpdf.so.2
-share/doc/pdflib/PDFlib.pdf
+lib/libpdf.so.3
+share/doc/pdflib/PDFlib-license.pdf
+share/doc/pdflib/PDFlib-manual.pdf
+share/doc/pdflib/PDFlib-purchase-order.pdf
+share/doc/pdflib/aladdin-license.pdf
share/doc/pdflib/changes.txt
share/doc/pdflib/compatibility.txt
-share/doc/pdflib/install.txt
-share/doc/pdflib/license.pdf
+share/doc/pdflib/grid.pdf
+share/doc/pdflib/readme_ebcdic.txt
+share/doc/pdflib/readme_mac.txt
+share/doc/pdflib/readme_unix.txt
+share/doc/pdflib/readme_win.txt
@dirrm share/doc/pdflib