summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-01-10 13:10:26 +0000
committerjlam <jlam@pkgsrc.org>2002-01-10 13:10:26 +0000
commit887e6b54ea48e173667251b93052d932604804d1 (patch)
treeebdf1d05b28ad17a6c37a83686496f921c3fa267 /print
parent97e7251d12db439d8b128eeb7d1b4739bb05b56f (diff)
downloadpkgsrc-887e6b54ea48e173667251b93052d932604804d1.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.
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"