summaryrefslogtreecommitdiffstats
path: root/print/pdflib
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>1999-01-20 14:49:13 +0000
committerdirk <dirk@FreeBSD.org>1999-01-20 14:49:13 +0000
commit1b4a5c7ebce4c96a8dc61e0b1baef7a519058c6b (patch)
treeead30f45949fcd5d8306b6125afb98a4fbd2c5dd /print/pdflib
parentfce811d06860043fac3099ff8ec364b98eabf09c (diff)
downloadFreeBSD-ports-1b4a5c7ebce4c96a8dc61e0b1baef7a519058c6b.zip
FreeBSD-ports-1b4a5c7ebce4c96a8dc61e0b1baef7a519058c6b.tar.gz
pdflib v0.6 - a C library for dynamically generating PDF
Diffstat (limited to 'print/pdflib')
-rw-r--r--print/pdflib/Makefile38
-rw-r--r--print/pdflib/distinfo1
-rw-r--r--print/pdflib/pkg-comment1
-rw-r--r--print/pdflib/pkg-descr12
-rw-r--r--print/pdflib/pkg-plist9
5 files changed, 61 insertions, 0 deletions
diff --git a/print/pdflib/Makefile b/print/pdflib/Makefile
new file mode 100644
index 0000000..759a7da
--- /dev/null
+++ b/print/pdflib/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: pdflib
+# Version required: 0.6
+# Date created: Mon Jan 18 17:03:33 CET 1999
+# Whom: Dirk Froemberg <dirk@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= pdflib-0.6
+CATEGORIES= print
+MASTER_SITES= http://www.ifconnection.de/~tm/software/pdflib/ \
+ http://www.physik.TU-Berlin.DE/~ibex/ports/distfiles/
+
+MAINTAINER= dirk@FreeBSD.ORG
+
+RUN_DEPENDS= ${PREFIX}/lib/afm/Courier:${PORTSDIR}/print/afm
+LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff34 \
+ jpeg.9:${PORTSDIR}/graphics/jpeg
+
+USE_GMAKE= yes
+MAKEFILE= makefile.gcc
+
+pre-build:
+ ${SED} -e "s#!!PREFIX!!#${PREFIX}#" < ${WRKSRC}/pdf.h > ${WRKSRC}/pdf.h.tmp
+ ${MV} ${WRKSRC}/pdf.h.tmp ${WRKSRC}/pdf.h
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/libpdf.a ${PREFIX}/lib
+.for prg in imagepdf pdfclock pdfdemo pdfgraph text2pdf
+ ${INSTALL_PROGRAM} ${WRKSRC}/${prg} ${PREFIX}/bin
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/pdf.h ${PREFIX}/include
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/pdflib
+ ${INSTALL_DATA} ${WRKSRC}/PDFlib-0.6.pdf ${PREFIX}/share/doc/pdflib
+.endif
+
+.include <bsd.port.mk>
diff --git a/print/pdflib/distinfo b/print/pdflib/distinfo
new file mode 100644
index 0000000..87ab9b2
--- /dev/null
+++ b/print/pdflib/distinfo
@@ -0,0 +1 @@
+MD5 (pdflib-0.6.tar.gz) = a7773a2cbebe30655cbbe884f3a012db
diff --git a/print/pdflib/pkg-comment b/print/pdflib/pkg-comment
new file mode 100644
index 0000000..374fc0a
--- /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 0000000..4c26d48
--- /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.
+
+ http://www.ifconnection.de/~tm/software/pdflib/
diff --git a/print/pdflib/pkg-plist b/print/pdflib/pkg-plist
new file mode 100644
index 0000000..79825e4
--- /dev/null
+++ b/print/pdflib/pkg-plist
@@ -0,0 +1,9 @@
+bin/imagepdf
+bin/pdfclock
+bin/pdfdemo
+bin/pdfgraph
+bin/text2pdf
+include/pdf.h
+lib/libpdf.a
+share/doc/pdflib/PDFlib-0.6.pdf
+@dirrm share/doc/pdflib
OpenPOWER on IntegriCloud