svn commit: r357948 - head/graphics/cuttlefish

Vanilla I. Shu vanilla at FreeBSD.org
Mon Jun 16 06:48:03 UTC 2014


Author: vanilla
Date: Mon Jun 16 06:48:02 2014
New Revision: 357948
URL: http://svnweb.freebsd.org/changeset/ports/357948
QAT: https://qat.redports.org/buildarchive/r357948/

Log:
  Stagify.

Modified:
  head/graphics/cuttlefish/Makefile

Modified: head/graphics/cuttlefish/Makefile
==============================================================================
--- head/graphics/cuttlefish/Makefile	Mon Jun 16 06:44:24 2014	(r357947)
+++ head/graphics/cuttlefish/Makefile	Mon Jun 16 06:48:02 2014	(r357948)
@@ -14,9 +14,10 @@ RUN_DEPENDS+=	p5-GD>=0:${PORTSDIR}/graph
 		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 japa
 		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>


More information about the svn-ports-head mailing list