mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Update pdflib to v 4
PR: 34178 Submitted by: sysadmin@alexdupre.com, yds@CoolRat.org
This commit is contained in:
parent
2744bb2a08
commit
481a8410cc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53852
@ -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>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (pdflib-3.03.tar.gz) = 693c76acb8881b554992786e81ada91b
|
||||
MD5 (pdflib-4.0.1.tar.gz) = 92cb24075945c2151b7524bc7e8ef8c3
|
||||
|
@ -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
|
||||
|
11
print/pdflib/files/patch-configure
Normal file
11
print/pdflib/files/patch-configure
Normal file
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (pdflib-3.03.tar.gz) = 693c76acb8881b554992786e81ada91b
|
||||
MD5 (pdflib-4.0.1.tar.gz) = 92cb24075945c2151b7524bc7e8ef8c3
|
||||
|
@ -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
|
||||
|
11
print/pdflib4/files/patch-configure
Normal file
11
print/pdflib4/files/patch-configure
Normal file
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user