2006-06-04 18:26:52 +02:00
|
|
|
# $NetBSD: Makefile,v 1.14 2006/06/04 16:26:54 joerg Exp $
|
2004-10-31 20:30:29 +01:00
|
|
|
|
|
|
|
MODNAME= gd
|
|
|
|
CATEGORIES+= graphics
|
|
|
|
COMMENT= PHP extension for GD graphics library
|
|
|
|
|
2006-06-04 18:26:52 +02:00
|
|
|
CONFLICTS= php-gd-[0-9]*
|
2004-10-31 20:30:29 +01:00
|
|
|
|
2004-11-23 20:46:14 +01:00
|
|
|
# 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}
|
2005-12-06 00:55:01 +01:00
|
|
|
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}
|
2004-10-31 20:30:29 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-${MODNAME}-native-ttf
|
|
|
|
CONFIGURE_ARGS+= --enable-${MODNAME}-jis-conv
|
|
|
|
CONFIGURE_ARGS+= --without-t1lib
|
|
|
|
|
2004-11-23 20:46:14 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
2004-11-05 18:11:39 +01:00
|
|
|
.include "../../lang/php/ext.mk"
|
2004-10-31 20:30:29 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|