diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-06-16 14:48:02 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-06-16 14:48:02 +0800 |
commit | 1528552694cb9a96206082c01543a2142bf5189a (patch) | |
tree | 66a444215f601490418cd9773dc9d2a55d56c64d /graphics/cuttlefish | |
parent | c31cad6622f4184bef12268afdb8a8b3abe011e4 (diff) | |
download | freebsd-ports-gnome-1528552694cb9a96206082c01543a2142bf5189a.tar.gz freebsd-ports-gnome-1528552694cb9a96206082c01543a2142bf5189a.tar.zst freebsd-ports-gnome-1528552694cb9a96206082c01543a2142bf5189a.zip |
Stagify.
Diffstat (limited to 'graphics/cuttlefish')
-rw-r--r-- | graphics/cuttlefish/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/graphics/cuttlefish/Makefile b/graphics/cuttlefish/Makefile index 5048f73f97dc..21c3a5956de2 100644 --- a/graphics/cuttlefish/Makefile +++ b/graphics/cuttlefish/Makefile @@ -14,9 +14,10 @@ RUN_DEPENDS+= p5-GD>=0:${PORTSDIR}/graphics/p5-GD \ convert:${PORTSDIR}/graphics/ImageMagick \ gifsicle:${PORTSDIR}/graphics/gifsicle -USES= perl5 +USES= perl5 shebangfix USE_PERL5= run NO_BUILD= yes +SHEBANG_FILES= bin/cuttlefish.pl IMAGES= caida_logo.gif caida_logo_gray.gif \ japan-water-okinawa.jpg japan-water.jpg \ @@ -26,7 +27,6 @@ EXAMPLES= japan-traces-small.config japan-traces.config \ nyxem-hosts-both.config \ witty-combined-small.config witty-combined.config -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e "s|../lib|../lib/cuttlefish|" \ ${WRKSRC}/bin/cuttlefish.pl @@ -36,18 +36,18 @@ post-patch: .endfor do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/bin/cuttlefish.pl ${PREFIX}/bin - @${MKDIR} ${PREFIX}/lib/cuttlefish - @${MKDIR} ${DATADIR} - @${MKDIR} ${EXAMPLESDIR} + @${INSTALL_SCRIPT} ${WRKSRC}/bin/cuttlefish.pl ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/cuttlefish + @${MKDIR} ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in Canvas.pm Control.pm Histogram.pm Image.pm Legend.pm Map.pm Util.pm - @${INSTALL_DATA} ${WRKSRC}/lib/${f} ${PREFIX}/lib/cuttlefish/${f} + @${INSTALL_DATA} ${WRKSRC}/lib/${f} ${STAGEDIR}${PREFIX}/lib/cuttlefish/${f} .endfor .for f in ${EXAMPLES} - @${INSTALL_DATA} ${WRKSRC}/configs/${f} ${EXAMPLESDIR}/${f} + @${INSTALL_DATA} ${WRKSRC}/configs/${f} ${STAGEDIR}${EXAMPLESDIR}/${f} .endfor .for f in ${IMAGES} - @${INSTALL_DATA} ${WRKSRC}/images/${f} ${DATADIR}/${f} + @${INSTALL_DATA} ${WRKSRC}/images/${f} ${STAGEDIR}${DATADIR}/${f} .endfor .include <bsd.port.mk> |