openbsd-ports/graphics/gd/Makefile
naddy 3d990673e6 * fix timestamps to prevent autotools cascade from triggering
* switch to REVISION and new LIB_DEPENDS/WANTLIB while here
2010-09-27 19:54:28 +00:00

41 lines
871 B
Makefile

# $OpenBSD: Makefile,v 1.53 2010/09/27 19:54:28 naddy Exp $
COMMENT= library for dynamic creation of images
DISTNAME= gd-2.0.35
REVISION= 0
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
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --without-xpm
USE_X11= Yes
USE_LIBTOOL= Yes
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>