openbsd-ports/graphics/gd/Makefile

38 lines
809 B
Makefile
Raw Normal View History

2007-04-08 11:31:01 -04:00
# $OpenBSD: Makefile,v 1.48 2007/04/08 15:31:01 sturm Exp $
1999-02-21 18:28:05 -05:00
COMMENT= "library for dynamic creation of images"
DISTNAME= gd-2.0.34
2007-04-08 11:31:01 -04:00
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= gd 20.34
1999-02-21 18:28:05 -05:00
CATEGORIES= graphics
MASTER_SITES= ${HOMEPAGE}releases/
HOMEPAGE= http://www.libgd.org/
2006-08-02 06:10:35 -04:00
LIB_DEPENDS= jpeg.>=62::graphics/jpeg \
png.>=2::graphics/png
1999-02-21 18:28:05 -05:00
MODULES= converters/libiconv
2007-04-08 11:31:01 -04:00
WANTLIB= c expat fontconfig freetype m z
1999-02-21 18:28:05 -05:00
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-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
1999-02-21 18:28:05 -05:00
.include <bsd.port.mk>