summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2002-01-10 13:10:26 +0000
committerjlam <jlam>2002-01-10 13:10:26 +0000
commitb91c377e054f32098fdf7225cfbd89b2d51fb44d (patch)
treeebdf1d05b28ad17a6c37a83686496f921c3fa267
parent637681e3cfcc71e36f9a72fb1ea1f1d33c7bf167 (diff)
downloadpkgsrc-b91c377e054f32098fdf7225cfbd89b2d51fb44d.tar.gz
Move to print/php3-pdflib from the www category to match similar
relocations of the PHP4 module packages. Also update to 3.0.18nb1 as the shared module is now installed as "pdf.so" so match the php4-pdflib package.
-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"