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