1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Add stage support

This commit is contained in:
Danilo Egea Gondolfo 2014-02-08 14:37:44 +00:00
parent 60145bfe76
commit 59490432fd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343340

View File

@ -21,12 +21,12 @@ USES= shebangfix perl5
SHEBANG_FILES= profxpv3.pl
perl_OLD_CMD= /home/tom/ActivePerl-5.6/bin/perl
NO_STAGE= yes
post-patch1:
@${REINPLACE_CMD} -i '' '1s|^\#.*|#!${PERL}|' ${WRKSRC}/profxpv3.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/profxpv3.pl ${PREFIX}/bin/profxp
${CP} -R ${WRKSRC}/profxp ${SITE_PERL}
@${MKDIR} ${STAGEDIR}${SITE_PERL}
${INSTALL_SCRIPT} ${WRKSRC}/profxpv3.pl ${STAGEDIR}${PREFIX}/bin/profxp
${CP} -R ${WRKSRC}/profxp ${STAGEDIR}${SITE_PERL}
.include <bsd.port.mk>