openbsd-ports/graphics/gd/Makefile
2013-03-21 08:45:11 +00:00

36 lines
763 B
Makefile

# $OpenBSD: Makefile,v 1.58 2013/03/21 08:45:18 ajacoutot Exp $
COMMENT= library for dynamic creation of images
DISTNAME= gd-2.0.35
REVISION= 1
SHARED_LIBS= gd 20.35
CATEGORIES= graphics
MASTER_SITES= ${HOMEPAGE}/releases/
HOMEPAGE= http://www.libgd.org/
LIB_DEPENDS= graphics/jpeg \
graphics/png
MODULES= converters/libiconv
WANTLIB= c expat fontconfig freetype jpeg m png z
PERMIT_PACKAGE_CDROM= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --without-xpm
post-patch:
@cd ${WRKSRC} && touch Makefile.in aclocal.m4 config.hin configure
post-install:
@cd ${WRKSRC} && ./gddemo
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gd
cd ${WRKSRC} && ${INSTALL_DATA} demoin.png demoout.png index.html \
${PREFIX}/share/examples/gd
.include <bsd.port.mk>