aboutsummaryrefslogtreecommitdiffstats
path: root/print/pdflib
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2002-01-28 00:04:16 +0800
committerdwcjr <dwcjr@FreeBSD.org>2002-01-28 00:04:16 +0800
commit400d90cfe775312ebc3b3d9fe47583f3c8f92e37 (patch)
tree8a0634ce840de68178bb38b84b6e789179bdf476 /print/pdflib
parent292035b1c5deae38e07696c07831f1f6fa65f1a9 (diff)
downloadfreebsd-ports-gnome-400d90cfe775312ebc3b3d9fe47583f3c8f92e37.tar.gz
freebsd-ports-gnome-400d90cfe775312ebc3b3d9fe47583f3c8f92e37.tar.zst
freebsd-ports-gnome-400d90cfe775312ebc3b3d9fe47583f3c8f92e37.zip
Update pdflib to v 4
PR: 34178 Submitted by: sysadmin@alexdupre.com, yds@CoolRat.org
Diffstat (limited to 'print/pdflib')
-rw-r--r--print/pdflib/Makefile29
-rw-r--r--print/pdflib/distinfo2
-rw-r--r--print/pdflib/files/patch-ad11
-rw-r--r--print/pdflib/files/patch-configure11
-rw-r--r--print/pdflib/pkg-descr3
-rw-r--r--print/pdflib/pkg-plist32
6 files changed, 43 insertions, 45 deletions
diff --git a/print/pdflib/Makefile b/print/pdflib/Makefile
index c1a33184fe0d..18d9a2e4d5ab 100644
--- a/print/pdflib/Makefile
+++ b/print/pdflib/Makefile
@@ -1,38 +1,27 @@
# New ports collection makefile for: pdflib
-# Date created: Mon Jan 18 17:03:33 CET 1999
-# Whom: Dirk Froemberg <dirk@FreeBSD.org>
+# Date created: Wed Jan 9 12:27:54 CET 2002
+# Whom: Alex Dupre <sysadmin@alexdupre.com>
#
# $FreeBSD$
#
PORTNAME= pdflib
-PORTVERSION= 3.03
+PORTVERSION= 4.0.1
CATEGORIES= print
MASTER_SITES= http://www.pdflib.com/pdflib/download/
-MAINTAINER= ports@FreeBSD.org
-
-RUN_DEPENDS= ${LOCALBASE}/lib/afm/Courier:${PORTSDIR}/print/afm
-LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
- png.5:${PORTSDIR}/graphics/png
+MAINTAINER= sysadmin@alexdupre.com
RESTRICTED= "many odd restrictions on usage and distribution"
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
-CONFIGURE_ARGS= --with-perl5=${PERL} \
- --with-jpeg=${PREFIX} \
- --with-pnglib=${PREFIX} \
- --enable-shared-pdflib \
- --enable-cxx \
- --with-zlib=/usr
+USE_PERL5= yes
+CONFIGURE_ARGS= --enable-cxx
-do-install:
- ${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
+post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/pdflib
- ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/pdflib
+ ${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/print/pdflib/distinfo b/print/pdflib/distinfo
index 352868bb9c78..94aa7798daa7 100644
--- a/print/pdflib/distinfo
+++ b/print/pdflib/distinfo
@@ -1 +1 @@
-MD5 (pdflib-3.03.tar.gz) = 693c76acb8881b554992786e81ada91b
+MD5 (pdflib-4.0.1.tar.gz) = 92cb24075945c2151b7524bc7e8ef8c3
diff --git a/print/pdflib/files/patch-ad b/print/pdflib/files/patch-ad
deleted file mode 100644
index d87fbf7806ad..000000000000
--- a/print/pdflib/files/patch-ad
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Thu Dec 21 18:03:35 2000
-+++ configure Sat Mar 10 16:47:35 2001
-@@ -580,7 +580,7 @@
-
-
-
--PDFLIB_CURRENT=1
-+PDFLIB_CURRENT=3
- PDFLIB_REVISION=1
- PDFLIB_AGE=1
-
diff --git a/print/pdflib/files/patch-configure b/print/pdflib/files/patch-configure
new file mode 100644
index 000000000000..b1fd293f8e90
--- /dev/null
+++ b/print/pdflib/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Fri May 18 06:29:15 2001
++++ configure Tue Jan 22 14:25:21 2002
+@@ -576,7 +576,7 @@
+
+
+
+-PDFLIB_LTCURRENT=2
++PDFLIB_LTCURRENT=4
+ PDFLIB_LTREVISION=1
+ PDFLIB_LTAGE=1
+
diff --git a/print/pdflib/pkg-descr b/print/pdflib/pkg-descr
index 4eca1ff360f4..c6a837fedc8f 100644
--- a/print/pdflib/pkg-descr
+++ b/print/pdflib/pkg-descr
@@ -10,3 +10,6 @@ from complete, PDFlib already offers many useful functions for
creating text, graphics, images and hypertext elements in PDF files.
WWW: http://www.PDFlib.com/
+
+- Alex Dupre
+sysadmin@alexdupre.com
diff --git a/print/pdflib/pkg-plist b/print/pdflib/pkg-plist
index 72209c46710d..37bedf5a47e2 100644
--- a/print/pdflib/pkg-plist
+++ b/print/pdflib/pkg-plist
@@ -1,15 +1,21 @@
+bin/pdflib-config
include/pdflib.h
+lib/libpdf.a
lib/libpdf.so
-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/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
+lib/libpdf.so.4
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/pdflib_pl.a
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/pdflib_pl.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/pdflib_pl.so
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/pdflib_pl.so.4
+%%PORTDOCS%%share/doc/pdflib/PDFlib-license.pdf
+%%PORTDOCS%%share/doc/pdflib/PDFlib-manual.pdf
+%%PORTDOCS%%share/doc/pdflib/PDFlib-purchase-order.pdf
+%%PORTDOCS%%share/doc/pdflib/aladdin-license.pdf
+%%PORTDOCS%%share/doc/pdflib/changes.txt
+%%PORTDOCS%%share/doc/pdflib/compatibility.txt
+%%PORTDOCS%%share/doc/pdflib/grid.pdf
+%%PORTDOCS%%share/doc/pdflib/readme_ebcdic.txt
+%%PORTDOCS%%share/doc/pdflib/readme_mac.txt
+%%PORTDOCS%%share/doc/pdflib/readme_unix.txt
+%%PORTDOCS%%share/doc/pdflib/readme_win.txt
+%%PORTDOCS%%@dirrm share/doc/pdflib