diff --git a/print/pdflib/Makefile b/print/pdflib/Makefile new file mode 100644 index 000000000000..c1a33184fe0d --- /dev/null +++ b/print/pdflib/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: pdflib +# Date created: Mon Jan 18 17:03:33 CET 1999 +# Whom: Dirk Froemberg +# +# $FreeBSD$ +# + +PORTNAME= pdflib +PORTVERSION= 3.03 +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 + +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 + +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 +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/pdflib + ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/pdflib +.endif + +.include diff --git a/print/pdflib/distinfo b/print/pdflib/distinfo new file mode 100644 index 000000000000..352868bb9c78 --- /dev/null +++ b/print/pdflib/distinfo @@ -0,0 +1 @@ +MD5 (pdflib-3.03.tar.gz) = 693c76acb8881b554992786e81ada91b diff --git a/print/pdflib/files/patch-ad b/print/pdflib/files/patch-ad new file mode 100644 index 000000000000..d87fbf7806ad --- /dev/null +++ b/print/pdflib/files/patch-ad @@ -0,0 +1,11 @@ +--- 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/pkg-comment b/print/pdflib/pkg-comment new file mode 100644 index 000000000000..374fc0a251f4 --- /dev/null +++ b/print/pdflib/pkg-comment @@ -0,0 +1 @@ +A C library for dynamically generating PDF diff --git a/print/pdflib/pkg-descr b/print/pdflib/pkg-descr new file mode 100644 index 000000000000..4eca1ff360f4 --- /dev/null +++ b/print/pdflib/pkg-descr @@ -0,0 +1,12 @@ +PDFlib is a library of C routines which allow you to programmatically +generate files in Adobe's Portable Document Format PDF. PDFlib +acts as a backend processor to your own programs. While you (the +programmer) are responsible for retrieving or maintaining the data +to be processed, PDFlib takes over the task of generating the PDF +code which graphically represents your data. While you must still +format and arrange your text and graphical objects, PDFlib frees +you from the internals and intricacies of PDF. Although being far +from complete, PDFlib already offers many useful functions for +creating text, graphics, images and hypertext elements in PDF files. + +WWW: http://www.PDFlib.com/ diff --git a/print/pdflib/pkg-plist b/print/pdflib/pkg-plist new file mode 100644 index 000000000000..72209c46710d --- /dev/null +++ b/print/pdflib/pkg-plist @@ -0,0 +1,15 @@ +include/pdflib.h +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 diff --git a/print/pdflib4/Makefile b/print/pdflib4/Makefile new file mode 100644 index 000000000000..c1a33184fe0d --- /dev/null +++ b/print/pdflib4/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: pdflib +# Date created: Mon Jan 18 17:03:33 CET 1999 +# Whom: Dirk Froemberg +# +# $FreeBSD$ +# + +PORTNAME= pdflib +PORTVERSION= 3.03 +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 + +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 + +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 +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/pdflib + ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/pdflib +.endif + +.include diff --git a/print/pdflib4/distinfo b/print/pdflib4/distinfo new file mode 100644 index 000000000000..352868bb9c78 --- /dev/null +++ b/print/pdflib4/distinfo @@ -0,0 +1 @@ +MD5 (pdflib-3.03.tar.gz) = 693c76acb8881b554992786e81ada91b diff --git a/print/pdflib4/files/patch-ad b/print/pdflib4/files/patch-ad new file mode 100644 index 000000000000..d87fbf7806ad --- /dev/null +++ b/print/pdflib4/files/patch-ad @@ -0,0 +1,11 @@ +--- 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/pdflib4/pkg-comment b/print/pdflib4/pkg-comment new file mode 100644 index 000000000000..374fc0a251f4 --- /dev/null +++ b/print/pdflib4/pkg-comment @@ -0,0 +1 @@ +A C library for dynamically generating PDF diff --git a/print/pdflib4/pkg-descr b/print/pdflib4/pkg-descr new file mode 100644 index 000000000000..4eca1ff360f4 --- /dev/null +++ b/print/pdflib4/pkg-descr @@ -0,0 +1,12 @@ +PDFlib is a library of C routines which allow you to programmatically +generate files in Adobe's Portable Document Format PDF. PDFlib +acts as a backend processor to your own programs. While you (the +programmer) are responsible for retrieving or maintaining the data +to be processed, PDFlib takes over the task of generating the PDF +code which graphically represents your data. While you must still +format and arrange your text and graphical objects, PDFlib frees +you from the internals and intricacies of PDF. Although being far +from complete, PDFlib already offers many useful functions for +creating text, graphics, images and hypertext elements in PDF files. + +WWW: http://www.PDFlib.com/ diff --git a/print/pdflib4/pkg-plist b/print/pdflib4/pkg-plist new file mode 100644 index 000000000000..72209c46710d --- /dev/null +++ b/print/pdflib4/pkg-plist @@ -0,0 +1,15 @@ +include/pdflib.h +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