diff options
author | Andrej Zverev <az@FreeBSD.org> | 2013-07-25 17:45:09 +0000 |
---|---|---|
committer | Andrej Zverev <az@FreeBSD.org> | 2013-07-25 17:45:09 +0000 |
commit | 8e2084427b6beb3d7a5458f5c7fcea080ddbb9b2 (patch) | |
tree | 17b7739cec5c8bd24318f8970c77d5508f40b335 /ftp/ftpmirror | |
parent | 72f2f983e22b1d65c479ff810e3f1d974b5932ad (diff) |
Notes
Diffstat (limited to 'ftp/ftpmirror')
-rw-r--r-- | ftp/ftpmirror/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ftp/ftpmirror/Makefile b/ftp/ftpmirror/Makefile index 92d6f5270f54..e0f2da9378b7 100644 --- a/ftp/ftpmirror/Makefile +++ b/ftp/ftpmirror/Makefile @@ -18,15 +18,15 @@ USE_PERL5= yes GNU_CONFIGURE= yes MAKE_JOBS_SAFE= yes +USES= shebangfix +SHEBANG_FILES= ftpmirror rotate + CONFIGURE_ENV+= PERL="${PERL}" INSTALL_PROGRAM="${INSTALL_SCRIPT}" PORTDOCS= README.jis RELEASE.jis post-configure: - @${PERL} -i.bak -pe 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/Fan/Fan.pm -.for f in ftpmirror rotate - @${PERL} -i.bak -pe 's,^#!.*$$,#!${PERL}, if $$. == 1' ${WRKSRC}/${f} -.endfor + @${REINPLACE_CMD} -i '' -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/Fan/Fan.pm .include <bsd.port.pre.mk> |