openbsd-ports/graphics/gd/Makefile
jasper 023b5d3d20 SECURITY FIX for CVE-2009-3546
buffer overflow or buffer over-read attacks via a crafted GD file
2010-01-04 15:05:49 +00:00

38 lines
809 B
Makefile

# $OpenBSD: Makefile,v 1.52 2010/01/04 15:05:49 jasper Exp $
COMMENT= library for dynamic creation of images
DISTNAME= gd-2.0.35
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= gd 20.35
CATEGORIES= graphics
MASTER_SITES= ${HOMEPAGE}/releases/
HOMEPAGE= http://www.libgd.org/
LIB_DEPENDS= jpeg.>=62::graphics/jpeg \
png.>=2::graphics/png
MODULES= converters/libiconv
WANTLIB= c expat fontconfig freetype m 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-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>