aboutsummaryrefslogtreecommitdiff
path: root/print/pdflib
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2004-01-27 00:24:56 +0000
committerAlex Dupre <ale@FreeBSD.org>2004-01-27 00:24:56 +0000
commitc4db8f4fb7aac11da8d388187630bc6a7340ca4c (patch)
tree0b9f4b6310663605a6bb9e09218e8fee75650c02 /print/pdflib
parent44f6e99f4e94e9037c9f82717031cd4940c5a330 (diff)
downloadports-c4db8f4fb7aac11da8d388187630bc6a7340ca4c.tar.gz
ports-c4db8f4fb7aac11da8d388187630bc6a7340ca4c.zip
Notes
Diffstat (limited to 'print/pdflib')
-rw-r--r--print/pdflib/Makefile9
-rw-r--r--print/pdflib/distinfo2
-rw-r--r--print/pdflib/files/patch-configure19
-rw-r--r--print/pdflib/pkg-plist25
4 files changed, 21 insertions, 34 deletions
diff --git a/print/pdflib/Makefile b/print/pdflib/Makefile
index 3d378c6aec11..9ebd97d39ef6 100644
--- a/print/pdflib/Makefile
+++ b/print/pdflib/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= pdflib
-PORTVERSION= 5.0.2
+PORTVERSION= 5.0.3
CATEGORIES= print
-MASTER_SITES= http://www.pdflib.com/products/pdflib/download/
+MASTER_SITES= http://www.pdflib.com/products/pdflib/download/503src/
DISTNAME= PDFlib-Lite-${PORTVERSION}-Unix-src
MAINTAINER= ale@FreeBSD.org
@@ -19,6 +19,8 @@ RESTRICTED= "many odd restrictions on usage and distribution"
LATEST_LINK?= ${PORTNAME}
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
+USE_GNOME= lthack
+USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-cxx \
@@ -36,6 +38,9 @@ CONFIGURE_ARGS+=--with-perl=no
PLIST_SUB= PERL="@comment "
.endif
+post-patch:
+ @${REINPLACE_CMD} -e "s|\(PDFLIB_LTCURRENT\)=4|\1=6|g" ${WRKSRC}/configure
+
post-install:
${MKDIR} ${DATADIR}/fonts
${INSTALL_DATA} ${WRKSRC}/fonts/* ${DATADIR}/fonts
diff --git a/print/pdflib/distinfo b/print/pdflib/distinfo
index 4f58acbe52f7..c3eb3e81d2c5 100644
--- a/print/pdflib/distinfo
+++ b/print/pdflib/distinfo
@@ -1 +1 @@
-MD5 (PDFlib-Lite-5.0.2-Unix-src.tar.gz) = 009fb9a1bace2ba86d6ed5373a18fa4b
+MD5 (PDFlib-Lite-5.0.3-Unix-src.tar.gz) = cb34cffd4a6e150b63c2513e79409d4b
diff --git a/print/pdflib/files/patch-configure b/print/pdflib/files/patch-configure
deleted file mode 100644
index 13daa270a69c..000000000000
--- a/print/pdflib/files/patch-configure
+++ /dev/null
@@ -1,19 +0,0 @@
---- configure.orig Mon Sep 22 17:37:48 2003
-+++ configure Thu Sep 25 09:18:12 2003
-@@ -1125,7 +1125,7 @@
- PDFLIB_MINOR=0
- PDFLIB_REVISION=2
-
--PDFLIB_LTCURRENT=4
-+PDFLIB_LTCURRENT=6
- PDFLIB_LTREVISION=0
- PDFLIB_LTAGE=2
-
-@@ -6884,6 +6884,7 @@
-
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
-
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/print/pdflib/pkg-plist b/print/pdflib/pkg-plist
index 91c23ef0c348..9b992016431b 100644
--- a/print/pdflib/pkg-plist
+++ b/print/pdflib/pkg-plist
@@ -7,19 +7,20 @@ lib/libpdf.so.6
%%PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/pdflib_pl.pm
%%PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/pdflib_pl.so
%%PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/pdflib_pl.so.0
-%%PORTDOCS%%share/doc/pdflib/PDFlib-Lite-license.pdf
-%%PORTDOCS%%share/doc/pdflib/PDFlib-manual.pdf
-%%PORTDOCS%%share/doc/pdflib/PDFlib-purchase-order.pdf
-%%PORTDOCS%%share/doc/pdflib/changes.txt
-%%PORTDOCS%%share/doc/pdflib/changes4.txt
-%%PORTDOCS%%share/doc/pdflib/compatibility.txt
-%%PORTDOCS%%share/doc/pdflib/readme-binary.txt
-%%PORTDOCS%%share/doc/pdflib/readme-source-mac.txt
-%%PORTDOCS%%share/doc/pdflib/readme-source-unix.txt
-%%PORTDOCS%%share/doc/pdflib/readme-source-windows.txt
-%%PORTDOCS%%share/doc/pdflib/readme.txt
+%%PORTDOCS%%%%DOCSDIR%%/PDFlib-Lite-license.pdf
+%%PORTDOCS%%%%DOCSDIR%%/PDFlib-manual.pdf
+%%PORTDOCS%%%%DOCSDIR%%/PDFlib-purchase-order.pdf
+%%PORTDOCS%%%%DOCSDIR%%/changes.txt
+%%PORTDOCS%%%%DOCSDIR%%/changes4.txt
+%%PORTDOCS%%%%DOCSDIR%%/compatibility.txt
+%%PORTDOCS%%%%DOCSDIR%%/readme-binary.txt
+%%PORTDOCS%%%%DOCSDIR%%/readme-source-as400.txt
+%%PORTDOCS%%%%DOCSDIR%%/readme-source-mac.txt
+%%PORTDOCS%%%%DOCSDIR%%/readme-source-unix.txt
+%%PORTDOCS%%%%DOCSDIR%%/readme-source-windows.txt
+%%PORTDOCS%%%%DOCSDIR%%/readme.txt
share/pdflib/fonts/pdflib.upr
share/pdflib/fonts/print_glyphs.ps
-%%PORTDOCS%%@dirrm share/doc/pdflib
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm share/pdflib/fonts
@dirrm share/pdflib