diff options
author | Renato Botelho <garga@FreeBSD.org> | 2012-08-03 15:34:45 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2012-08-03 15:34:45 +0000 |
commit | 90d97bb7c0b335bf482b1243aaab6676246ab4ea (patch) | |
tree | 840e8379f841715c5db9a647458ff49f7766d803 /ftp | |
parent | 3699fb2fba0a69c608a43ba48f60a0bf905f0f1c (diff) | |
download | ports-90d97bb7c0b335bf482b1243aaab6676246ab4ea.tar.gz ports-90d97bb7c0b335bf482b1243aaab6676246ab4ea.zip |
Notes
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/ftpmirror/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/ftp/ftpmirror/Makefile b/ftp/ftpmirror/Makefile index 61ce3fa19a3b..9ffa431e02e5 100644 --- a/ftp/ftpmirror/Makefile +++ b/ftp/ftpmirror/Makefile @@ -16,15 +16,16 @@ COMMENT= An utility to mirror directory hierarchy with FTP RUN_DEPENDS= p5-Socket6>=0:${PORTSDIR}/net/p5-Socket6 +OPTIONS_DEFINE= DOCS +OPTIONS_DEFAULT=DOCS + USE_PERL5= yes GNU_CONFIGURE= yes MAKE_JOBS_SAFE= yes CONFIGURE_ENV+= PERL="${PERL}" INSTALL_PROGRAM="${INSTALL_SCRIPT}" -.if !defined (NOPORTDOCS) PORTDOCS= README.jis RELEASE.jis -.endif post-configure: @${PERL} -i.bak -pe 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/Fan/Fan.pm @@ -32,12 +33,14 @@ post-configure: @${PERL} -i.bak -pe 's,^#!.*$$,#!${PERL}, if $$. == 1' ${WRKSRC}/${f} .endfor +.include <bsd.port.pre.mk> + post-install: -.if !defined (NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for i in ${PORTDOCS} @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |