openbsd-ports/graphics/gd/Makefile

30 lines
805 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.8 2000/01/20 04:11:31 brad Exp $
1999-02-21 18:28:05 -05:00
# $FreeBSD: Makefile,v 1.5 1998/06/25 03:13:16 vanilla Exp $
1999-11-16 03:03:23 -05:00
DISTNAME= gd-1.7.3
1999-02-21 18:28:05 -05:00
CATEGORIES= graphics
MASTER_SITES= http://www.boutell.com/gd/http/ \
ftp://ftp.boutell.com/pub/boutell/gd/
HOMEPAGE= http://www.boutell.com/gd/
NEED_VERSION= 1.73
LIB_DEPENDS= png.1.3:${PORTSDIR}/graphics/png \
ttf.1.3:${PORTSDIR}/print/freetype
1999-02-21 18:28:05 -05:00
MAINTAINER= brad@openbsd.org
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
@${LDCONFIG} -m ${PREFIX}/lib
1999-02-21 18:28:05 -05:00
.include <bsd.port.mk>
.if defined(NO_SHARED_LIBS)
MAKE_ENV= NO_SHARED_LIBS=yes
.endif