aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>2000-09-14 05:46:33 +0800
committerbillf <billf@FreeBSD.org>2000-09-14 05:46:33 +0800
commit00c97e2830a3923ce41a6cc2509822898ab62559 (patch)
tree1550d110d2a15616557486f62a4867a4e905dae9 /print
parentb9bde1b853b252c4a145f17cccc0898e74b5a274 (diff)
downloadfreebsd-ports-gnome-00c97e2830a3923ce41a6cc2509822898ab62559.tar.gz
freebsd-ports-gnome-00c97e2830a3923ce41a6cc2509822898ab62559.tar.zst
freebsd-ports-gnome-00c97e2830a3923ce41a6cc2509822898ab62559.zip
new port pdflib3 (repocopy from pdflib):
version 3 of pdflib has odd restrictions for usage (and you may need to purchase a license depending on what you do with it). It is however needed for php4's pdf functions and is of use to many, so we'll keep a seperate restricted port available for those of us who need it. Support for languages other then C/C++ are turned off for now, but I may change that (turning on perl/tcl/python support involves turning _off_ C/C++ support, so I'll add a WITH_FOO knob later) Submitted by: sobomax, billf
Diffstat (limited to 'print')
-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