mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Stagify.
This commit is contained in:
parent
97376e06fc
commit
4a225cc8bd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357948
1 changed files with 9 additions and 9 deletions
|
@ -14,9 +14,10 @@ RUN_DEPENDS+= p5-GD>=0:${PORTSDIR}/graphics/p5-GD \
|
||||||
convert:${PORTSDIR}/graphics/ImageMagick \
|
convert:${PORTSDIR}/graphics/ImageMagick \
|
||||||
gifsicle:${PORTSDIR}/graphics/gifsicle
|
gifsicle:${PORTSDIR}/graphics/gifsicle
|
||||||
|
|
||||||
USES= perl5
|
USES= perl5 shebangfix
|
||||||
USE_PERL5= run
|
USE_PERL5= run
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
SHEBANG_FILES= bin/cuttlefish.pl
|
||||||
|
|
||||||
IMAGES= caida_logo.gif caida_logo_gray.gif \
|
IMAGES= caida_logo.gif caida_logo_gray.gif \
|
||||||
japan-water-okinawa.jpg japan-water.jpg \
|
japan-water-okinawa.jpg japan-water.jpg \
|
||||||
|
@ -26,7 +27,6 @@ EXAMPLES= japan-traces-small.config japan-traces.config \
|
||||||
nyxem-hosts-both.config \
|
nyxem-hosts-both.config \
|
||||||
witty-combined-small.config witty-combined.config
|
witty-combined-small.config witty-combined.config
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e "s|../lib|../lib/cuttlefish|" \
|
@${REINPLACE_CMD} -e "s|../lib|../lib/cuttlefish|" \
|
||||||
${WRKSRC}/bin/cuttlefish.pl
|
${WRKSRC}/bin/cuttlefish.pl
|
||||||
|
@ -36,18 +36,18 @@ post-patch:
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${INSTALL_SCRIPT} ${WRKSRC}/bin/cuttlefish.pl ${PREFIX}/bin
|
@${INSTALL_SCRIPT} ${WRKSRC}/bin/cuttlefish.pl ${STAGEDIR}${PREFIX}/bin
|
||||||
@${MKDIR} ${PREFIX}/lib/cuttlefish
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/cuttlefish
|
||||||
@${MKDIR} ${DATADIR}
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||||
@${MKDIR} ${EXAMPLESDIR}
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||||
.for f in Canvas.pm Control.pm Histogram.pm Image.pm Legend.pm Map.pm Util.pm
|
.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
|
.endfor
|
||||||
.for f in ${EXAMPLES}
|
.for f in ${EXAMPLES}
|
||||||
@${INSTALL_DATA} ${WRKSRC}/configs/${f} ${EXAMPLESDIR}/${f}
|
@${INSTALL_DATA} ${WRKSRC}/configs/${f} ${STAGEDIR}${EXAMPLESDIR}/${f}
|
||||||
.endfor
|
.endfor
|
||||||
.for f in ${IMAGES}
|
.for f in ${IMAGES}
|
||||||
@${INSTALL_DATA} ${WRKSRC}/images/${f} ${DATADIR}/${f}
|
@${INSTALL_DATA} ${WRKSRC}/images/${f} ${STAGEDIR}${DATADIR}/${f}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue