Support staging

This commit is contained in:
Emanuel Haupt 2014-02-26 07:24:08 +00:00
parent b7118810a5
commit 8b6aa7976d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346131

View file

@ -20,14 +20,13 @@ NO_WRKSUBDIR= yes
NO_BUILD= yes
PLIST_FILES= bin/adcomplain
NO_STAGE= yes
post-patch:
cd ${WRKSRC}; \
${CP} adcomplain.pl adcomplain.pl.old; \
${SED} 's=%PERL5%=${PERL}=' < adcomplain.pl.old > adcomplain.pl
do-install:
cd ${WRKSRC}; \
${INSTALL_SCRIPT} adcomplain.pl ${PREFIX}/bin/adcomplain
${INSTALL_SCRIPT} ${WRKSRC}/adcomplain.pl \
${STAGEDIR}${PREFIX}/bin/adcomplain
.include <bsd.port.mk>