aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
Diffstat (limited to 'ftp')
-rw-r--r--ftp/ftpmirror/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/ftp/ftpmirror/Makefile b/ftp/ftpmirror/Makefile
index 4aac193ab1c8..28ee60eb6f5f 100644
--- a/ftp/ftpmirror/Makefile
+++ b/ftp/ftpmirror/Makefile
@@ -21,6 +21,10 @@ GNU_CONFIGURE= 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
.for f in ftpmirror rotate
@@ -29,7 +33,6 @@ post-configure:
post-install:
.if !defined (NOPORTDOCS)
- PORTDOCS= README.jis RELEASE.jis
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}