diff options
author | jlam <jlam@pkgsrc.org> | 1999-11-01 03:31:45 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 1999-11-01 03:31:45 +0000 |
commit | 61a5c84807787f7e43d2b5599d41196ffc817662 (patch) | |
tree | d69d0029ad3a1cff886da2ccd644acf6b4f5d497 /graphics/fly/Makefile | |
parent | 2e2b3511561d94a568e47133fe4966be18de87d0 (diff) | |
download | pkgsrc-61a5c84807787f7e43d2b5599d41196ffc817662.tar.gz |
* Modify to support gd-1.7.3.
* Finish transforming references to "gif" to "png".
Diffstat (limited to 'graphics/fly/Makefile')
-rw-r--r-- | graphics/fly/Makefile | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/graphics/fly/Makefile b/graphics/fly/Makefile index 6b74d53662c..91069febb2d 100644 --- a/graphics/fly/Makefile +++ b/graphics/fly/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 1999/08/27 10:11:01 agc Exp $ +# $NetBSD: Makefile,v 1.9 1999/11/01 03:31:45 jlam Exp $ # DISTNAME= fly-1.6.5 @@ -8,19 +8,21 @@ MASTER_SITES= ftp://www.unimelb.edu.au/pub/www/tools/unix/fly/ MAINTAINER= bouyer@netbsd.org HOMEPAGE= http://www.unimelb.edu.au/fly/fly.html -DEPENDS+= gd-1.6.3:../../graphics/gd -BUILD_DEPENDS+= ${LOCALBASE}/bin/giftopnm:../../graphics/netpbm +BUILD_DEPENDS+= ${LOCALBASE}/bin/gif2png:../../graphics/gif2png +DEPENDS+= gd-1.7.3:../../graphics/gd + +USE_X11= yes # -lXpm +CPPFLAGS+= -I${X11BASE}/include -I${X11BASE}/include/X11 # Xpm.h +CPPFLAGS+= -I${LOCALBASE}/include # gd.h +MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" do-install: - ${MKDIR} ${PREFIX}/share/doc/fly - ${MKDIR} ${PREFIX}/share/examples/fly ${INSTALL_PROGRAM} ${WRKSRC}/fly ${PREFIX}/bin - for f in example fly-logo nav-copyright nav-docs nav-feedback \ - nav-home new valid_html; do \ - ${LOCALBASE}/bin/giftopnm < ${WRKSRC}/doc/$$f.gif | \ - ${LOCALBASE}/bin/pnmtopng > ${PREFIX}/share/doc/fly/$$f.png; \ - done - ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/fly - ${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/fly + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fly + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/fly + cd ${WRKSRC}/doc; ${LOCALBASE}/bin/gif2png *.gif + cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.png ${PREFIX}/share/doc/fly + ${RM} -f ${WRKSRC}/examples/*.orig + cd ${WRKSRC}/examples; ${INSTALL_DATA} * ${PREFIX}/share/examples/fly .include "../../mk/bsd.pkg.mk" |