diff --git a/print/pdflib/Makefile b/print/pdflib/Makefile new file mode 100644 index 00000000000..e20b9ad3387 --- /dev/null +++ b/print/pdflib/Makefile @@ -0,0 +1,37 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2000/09/28 20:36:56 jakob Exp $ + +DISTNAME= pdflib-3.02 +CATEGORIES= print +NEED_VERSION= 1.319 + +HOMEPAGE= http://www.pdflib.com/pdflib/ + +MAINTAINER= Jakob Schlyter + +PERMIT_PACKAGE_CDROM= No +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= No +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= http://www.pdflib.com/pdflib/download/ + +LIB_DEPENDS= jpeg.62::graphics/jpeg \ + png.1::graphics/png \ + tiff.35::graphics/tiff + +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS= --with-tifflib=${PREFIX} \ + --with-pnglib=${PREFIX} \ + --without-perl \ + --without-java \ + --without-py \ + --without-tcl + +do-install: + ${INSTALL_DATA} ${WRKBUILD}/pdflib/pdflib.h ${PREFIX}/include + ${INSTALL_DATA} ${WRKBUILD}/pdflib/.libs/libpdf.al ${PREFIX}/lib/libpdf.a + ${INSTALL_SCRIPT} ${WRKBUILD}/pdflib-config ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pdflib + ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/pdflib + +.include diff --git a/print/pdflib/files/md5 b/print/pdflib/files/md5 new file mode 100644 index 00000000000..e14de8fdbf3 --- /dev/null +++ b/print/pdflib/files/md5 @@ -0,0 +1,3 @@ +MD5 (pdflib-3.02.tar.gz) = 167d4a6af2af60ea83c2670ad5c5eecf +RMD160 (pdflib-3.02.tar.gz) = 341be17ecdfab60fa43a12b2539feb64c59d1f62 +SHA1 (pdflib-3.02.tar.gz) = c8c1025d7bb9ed171025dfe166d107c91bd6d8ba diff --git a/print/pdflib/patches/patch-pdflib_Makefile.in b/print/pdflib/patches/patch-pdflib_Makefile.in new file mode 100644 index 00000000000..e39a0f9d13d --- /dev/null +++ b/print/pdflib/patches/patch-pdflib_Makefile.in @@ -0,0 +1,11 @@ +--- pdflib/Makefile.in.orig Tue Aug 22 03:02:00 2000 ++++ pdflib/Makefile.in Thu Sep 28 16:58:10 2000 +@@ -17,7 +17,7 @@ + LIBTOOL = ../libtool + + # installation directories +-prefix = @prefix@ ++prefix = $(DESTDIR)/@prefix@ + exec_prefix = @exec_prefix@ + + # directories for the final library and include files for PDFlib users diff --git a/print/pdflib/pkg/COMMENT b/print/pdflib/pkg/COMMENT new file mode 100644 index 00000000000..854847ac200 --- /dev/null +++ b/print/pdflib/pkg/COMMENT @@ -0,0 +1 @@ +C library to produce PDF files diff --git a/print/pdflib/pkg/DESCR b/print/pdflib/pkg/DESCR new file mode 100644 index 00000000000..10384b7995f --- /dev/null +++ b/print/pdflib/pkg/DESCR @@ -0,0 +1,8 @@ +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. + +WWW: ${HOMEPAGE} diff --git a/print/pdflib/pkg/PLIST b/print/pdflib/pkg/PLIST new file mode 100644 index 00000000000..7003fe2f1ee --- /dev/null +++ b/print/pdflib/pkg/PLIST @@ -0,0 +1,16 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2000/09/28 20:36:56 jakob Exp $ +bin/pdflib-config +include/pdflib.h +lib/libpdf.a +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