mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
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
This commit is contained in:
parent
28f9408d6b
commit
b462120056
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32591
@ -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
|
||||
|
@ -1 +1 @@
|
||||
MD5 (pdflib-2.01.tar.gz) = 193f938f1066e7a560874c9e483bd3db
|
||||
MD5 (pdflib-3.02.tar.gz) = 167d4a6af2af60ea83c2670ad5c5eecf
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user