openbsd-ports/graphics/gd/Makefile
2000-06-12 17:25:48 +00:00

36 lines
946 B
Makefile

# $OpenBSD: Makefile,v 1.16 2000/06/12 17:25:48 brad Exp $
# $FreeBSD: Makefile,v 1.5 1998/06/25 03:13:16 vanilla Exp $
DISTNAME= gd-1.8.3
CATEGORIES= graphics
NEED_VERSION= 1.301
MASTER_SITES= http://www.boutell.com/gd/http/ \
ftp://ftp.boutell.com/pub/boutell/gd/
HOMEPAGE= http://www.boutell.com/gd/
LIB_DEPENDS= jpeg.62::graphics/jpeg \
png.1.6::graphics/png \
ttf.1.3::print/freetype
MAINTAINER= brad@openbsd.org
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MAKE_FLAGS= COMPILER="${CC}"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gd
${INSTALL_DATA} ${WRKSRC}/demoin.png ${PREFIX}/share/examples/gd
${INSTALL_DATA} ${WRKSRC}/demoout.png ${PREFIX}/share/examples/gd
${INSTALL_DATA} ${WRKSRC}/index.html ${PREFIX}/share/examples/gd
.include <bsd.port.mk>
.if defined(NO_SHARED_LIBS) && ${NO_SHARED_LIBS:U} == YES
MAKE_ENV= NO_SHARED_LIBS= Yes
.endif