diff options
author | jdolecek <jdolecek> | 2004-10-31 19:30:29 +0000 |
---|---|---|
committer | jdolecek <jdolecek> | 2004-10-31 19:30:29 +0000 |
commit | 64281bb941afc86bea764d8e1310ecc9260c3342 (patch) | |
tree | 9eebc2a4ea3e6fa6c783e1abb83bc43228266985 /graphics/php-gd | |
parent | ddaac6391e32b7d4a0e3a238d0abee88719f97fc (diff) | |
download | pkgsrc-64281bb941afc86bea764d8e1310ecc9260c3342.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/php-gd')
-rw-r--r-- | graphics/php-gd/DESCR | 2 | ||||
-rw-r--r-- | graphics/php-gd/Makefile | 28 |
2 files changed, 30 insertions, 0 deletions
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" |