pkgsrc/graphics/php4-gd/Makefile
2004-04-25 00:27:56 +00:00

30 lines
986 B
Makefile

# $NetBSD: Makefile,v 1.17 2004/04/25 00:28:21 xtraeme Exp $
MODNAME= gd
CATEGORIES+= graphics
PKGREVISION= # empty
COMMENT= PHP4 extension for GD graphics library
USE_BUILDLINK3= YES
USE_X11= YES
.include "../../www/php4/Makefile.module"
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 "../../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"