openbsd-ports/graphics/gd/Makefile

40 lines
889 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.41 2005/10/16 16:48:14 fgsch Exp $
1999-02-21 18:28:05 -05:00
COMMENT= "library for dynamic creation of images"
DISTNAME= gd-2.0.33
PKGNAME= ${DISTNAME}p1
1999-02-21 18:28:05 -05:00
CATEGORIES= graphics
MASTER_SITES= http://www.boutell.com/gd/http/
HOMEPAGE= http://www.boutell.com/gd/
LIB_DEPENDS= jpeg.62::graphics/jpeg \
png.2::graphics/png \
ttf.1.3::print/freetype
1999-02-21 18:28:05 -05:00
MODULES= converters/libiconv
WANTLIB= X11 Xpm c fontconfig freetype m ttf 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_ENV= CPPFLAGS="-DHAVE_LIBTTF" \
LDFLAGS="-L/usr/local/lib" \
LIBS="-lttf"
USE_X11= Yes
NO_REGRESS= 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>