pkgsrc/graphics/php-gd/Makefile
joerg 5fe074f21e Fix CONFLICTS of php/pear packages, the asterix was missing (thanks tv).
While going through the tree, fix some more packages which had similiar
issues with too strict conflicts, bump the revisions of those.
2006-06-04 16:26:52 +00:00

26 lines
920 B
Makefile

# $NetBSD: Makefile,v 1.14 2006/06/04 16:26:54 joerg Exp $
MODNAME= gd
CATEGORIES+= graphics
COMMENT= PHP extension for GD graphics library
CONFLICTS= php-gd-[0-9]*
# XXX we use bundled GD so that extension is usable also by non-threaded
# PHP, such as CLI/CGI version or ap-php on Apache 1.x.
CONFIGURE_ARGS+= --with-${MODNAME}
CONFIGURE_ARGS+= --with-jpeg-dir=${BUILDLINK_DIR:Q}
CONFIGURE_ARGS+= --with-png-dir=${BUILDLINK_DIR:Q}
CONFIGURE_ARGS+= --with-zlib-dir=${BUILDLINK_DIR:Q}
CONFIGURE_ARGS+= --with-freetype-dir=${BUILDLINK_DIR:Q}
CONFIGURE_ARGS+= --enable-${MODNAME}-native-ttf
CONFIGURE_ARGS+= --enable-${MODNAME}-jis-conv
CONFIGURE_ARGS+= --without-t1lib
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"