summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-10-31 19:30:29 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-10-31 19:30:29 +0000
commit52c19805011b2d8d525f4d2a6c01cf961940d9aa (patch)
tree9eebc2a4ea3e6fa6c783e1abb83bc43228266985 /graphics
parent0ed49ace1ff1fc3ca3ff39742f593ac63c9a9c81 (diff)
downloadpkgsrc-52c19805011b2d8d525f4d2a6c01cf961940d9aa.tar.gz
new PHP extension module framework, which makes it possible to build
individual PHP extension packages with either PHP 4.x or PHP 5.x convert existing php4-* packages to this framework and import as php-*
Diffstat (limited to 'graphics')
-rw-r--r--graphics/php-exif/DESCR4
-rw-r--r--graphics/php-exif/Makefile13
-rw-r--r--graphics/php-gd/DESCR2
-rw-r--r--graphics/php-gd/Makefile28
4 files changed, 47 insertions, 0 deletions
diff --git a/graphics/php-exif/DESCR b/graphics/php-exif/DESCR
new file mode 100644
index 00000000000..3d48ad4d9a6
--- /dev/null
+++ b/graphics/php-exif/DESCR
@@ -0,0 +1,4 @@
+PHP is a programming language designed to be embedded into web pages.
+This extension allows one to extract information from files with a EXIF
+header within a PHP script. Usually, digital camera will produce JPEG
+or other image files with an EXIF header.
diff --git a/graphics/php-exif/Makefile b/graphics/php-exif/Makefile
new file mode 100644
index 00000000000..e16ab406745
--- /dev/null
+++ b/graphics/php-exif/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME= exif
+CATEGORIES+= graphics
+PKGREVISION= # empty
+COMMENT= PHP extension to extract information from EXIF headers
+
+USE_BUILDLINK3= YES
+
+CONFIGURE_ARGS+= --with-${MODNAME}=shared
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/php-gd/DESCR b/graphics/php-gd/DESCR
new file mode 100644
index 00000000000..e4e0ac63eda
--- /dev/null
+++ b/graphics/php-gd/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides GD graphics library support.
diff --git a/graphics/php-gd/Makefile b/graphics/php-gd/Makefile
new file mode 100644
index 00000000000..18d17e993f0
--- /dev/null
+++ b/graphics/php-gd/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME= gd
+CATEGORIES+= graphics
+PKGREVISION= # empty
+COMMENT= PHP extension for GD graphics library
+
+USE_BUILDLINK3= YES
+USE_X11= YES
+
+CONFIGURE_ARGS+= --with-${MODNAME} # use bundled libgd
+CONFIGURE_ARGS+= --with-jpeg-dir=${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --with-png-dir=${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --with-zlib-dir=${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --with-xpm-dir=${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --with-ttf=${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --with-freetype-dir=${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --enable-${MODNAME}-native-ttf
+CONFIGURE_ARGS+= --enable-${MODNAME}-jis-conv
+CONFIGURE_ARGS+= --without-t1lib
+
+.include "../../lang/php/ext.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/xpm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"