summaryrefslogtreecommitdiff
path: root/graphics/fly/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/fly/Makefile')
-rw-r--r--graphics/fly/Makefile17
1 files changed, 15 insertions, 2 deletions
diff --git a/graphics/fly/Makefile b/graphics/fly/Makefile
index 20b140d3384..076caca4165 100644
--- a/graphics/fly/Makefile
+++ b/graphics/fly/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.18 2002/11/28 10:56:37 tron Exp $
+# $NetBSD: Makefile,v 1.19 2003/06/06 21:27:17 jmmv Exp $
DISTNAME= fly-1.6.5
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= graphics www
MASTER_SITES= ftp://www.unimelb.edu.au/pub/www/tools/unix/fly/
@@ -12,8 +12,21 @@ COMMENT= command-file interface for creating and modifying PNG images
BUILD_DEPENDS+= gif2png>=2.4.2:../../graphics/gif2png
USE_BUILDLINK2= YES
+USE_PERL5= YES
USE_X11= YES
+REPLACE_PERL= ${WRKSRC}/examples/cgi-perl-example.pl \
+ ${WRKSRC}/examples/fly-tester.pl \
+ ${WRKSRC}/examples/size.pl \
+ ${WRKSRC}/examples/perl.example
+
+pre-configure:
+ ${SED} -e 's|@PREFIX@|${PREFIX}|g' \
+ < ${WRKSRC}/examples/cgi-perl-example.pl \
+ > ${WRKSRC}/examples/cgi-perl-example.pl.new
+ ${MV} ${WRKSRC}/examples/cgi-perl-example.pl.new \
+ ${WRKSRC}/examples/cgi-perl-example.pl
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fly ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fly