summaryrefslogtreecommitdiff
path: root/print/php-pdflib
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-11-08 20:02:23 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-11-08 20:02:23 +0000
commit8c5aa94ccbbfc9c10b3e2e6a48debe824470e773 (patch)
treec022ae9e40205efe0b4b9a96c46f008bd6309785 /print/php-pdflib
parentced8008a4c0f8588a1a772d5e03f5b0fb5e2bb0a (diff)
downloadpkgsrc-8c5aa94ccbbfc9c10b3e2e6a48debe824470e773.tar.gz
Add php pdflib PECL extension package version 1.0 - PHP extension for
PDFlib on-the-fly PDF generation. This replaces php4-only php4-zip. While there is newer version available in PECL (2.0.2 ATM), it doesn't build with PDFlib 4.x, so we use version 1.0, i.e. the same version which ships with PHP 4.3.9.
Diffstat (limited to 'print/php-pdflib')
-rw-r--r--print/php-pdflib/DESCR2
-rw-r--r--print/php-pdflib/Makefile16
2 files changed, 18 insertions, 0 deletions
diff --git a/print/php-pdflib/DESCR b/print/php-pdflib/DESCR
new file mode 100644
index 00000000000..0c104c0818a
--- /dev/null
+++ b/print/php-pdflib/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides an interface to PDFlib for on-the-fly PDF generation.
diff --git a/print/php-pdflib/Makefile b/print/php-pdflib/Makefile
new file mode 100644
index 00000000000..ecd9d34a2c6
--- /dev/null
+++ b/print/php-pdflib/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/08 20:02:23 jdolecek Exp $
+
+MODNAME= pdflib
+PKGMODNAME= pdf
+PECL_VERSION= 1.0
+CATEGORIES+= print
+PKGREVISION= # empty
+COMMENT= PHP extension for PDFlib on-the-fly PDF generation
+
+USE_BUILDLINK3= YES
+
+CONFIGURE_ARGS+= --with-pdflib=shared,${BUILDLINK_PREFIX.pdflib}
+
+.include "../../lang/php/ext.mk"
+.include "../../print/pdflib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"