summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
Diffstat (limited to 'print')
-rw-r--r--print/php3-pdflib/DESCR2
-rw-r--r--print/php3-pdflib/Makefile22
2 files changed, 24 insertions, 0 deletions
diff --git a/print/php3-pdflib/DESCR b/print/php3-pdflib/DESCR
new file mode 100644
index 00000000000..719309afaaf
--- /dev/null
+++ b/print/php3-pdflib/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides access to PDF library functions.
diff --git a/print/php3-pdflib/Makefile b/print/php3-pdflib/Makefile
new file mode 100644
index 00000000000..7eeb97fc3df
--- /dev/null
+++ b/print/php3-pdflib/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/01/10 13:10:26 jlam Exp $
+
+MODNAME= pdf
+CATEGORIES+= print
+PKGREVISION= 1
+COMMENT= PHP3 extension for PDFlib on-the-fly PDF generation
+
+USE_BUILDLINK_ONLY= yes
+
+.include "../../www/php3/Makefile.module"
+
+PKGNAME= php-pdflib-${BASE_VERS}
+
+CONFIGURE_ARGS+= --with-pdflib=${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --with-jpeg-dir=${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --with-tiff-dir==${BUILDLINK_DIR}
+LIBS+= -lpng -lz
+
+MOD_LIBS+= -lpdf -lm -ltiff -ljpeg -lpng -lz
+
+.include "../../print/pdflib/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"