aboutsummaryrefslogtreecommitdiff
path: root/ftp/fmirror
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-18 09:40:06 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-18 09:40:06 +0000
commitc79912bb0195df56f804f66d6d79151eb5e8a32a (patch)
tree916e2c05d254953791bf552997d88d43f770e27c /ftp/fmirror
parent222f32d0484b217c50404a7153832a268949a470 (diff)
downloadports-c79912bb0195df56f804f66d6d79151eb5e8a32a.tar.gz
ports-c79912bb0195df56f804f66d6d79151eb5e8a32a.zip
Notes
Diffstat (limited to 'ftp/fmirror')
-rw-r--r--ftp/fmirror/Makefile16
-rw-r--r--ftp/fmirror/pkg-plist1
2 files changed, 8 insertions, 9 deletions
diff --git a/ftp/fmirror/Makefile b/ftp/fmirror/Makefile
index 91a58efeacd8..47df130ca441 100644
--- a/ftp/fmirror/Makefile
+++ b/ftp/fmirror/Makefile
@@ -13,19 +13,17 @@ COMMENT= Program for mirroring files and directories from a remote FTP server
GNU_CONFIGURE= yes
-MAN1= fmirror.1
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
do-install:
cd ${WRKSRC} && \
- ${INSTALL_PROGRAM} fmirror ${PREFIX}/bin && \
- ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR} && \
+ ${INSTALL_PROGRAM} fmirror ${STAGEDIR}${PREFIX}/bin && \
+ ${INSTALL_MAN} ${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
+ ${MKDIR} ${STAGEDIR}${DOCSDIR} && \
cd ${WRKSRC} && \
- ${INSTALL_DATA} ChangeLog README ${DOCSDIR} && \
+ ${INSTALL_DATA} ChangeLog README ${STAGEDIR}${DOCSDIR} && \
cd ${WRKSRC}/configs && \
- ${INSTALL_DATA} generic.conf redhat.conf sample.conf ${DOCSDIR}
-.endif
+ ${INSTALL_DATA} generic.conf redhat.conf sample.conf \
+ ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/ftp/fmirror/pkg-plist b/ftp/fmirror/pkg-plist
index 85b2e733b806..e81851a3e13b 100644
--- a/ftp/fmirror/pkg-plist
+++ b/ftp/fmirror/pkg-plist
@@ -1,4 +1,5 @@
bin/fmirror
+man/man1/fmirror.1.gz
%%PORTDOCS%%share/doc/fmirror/ChangeLog
%%PORTDOCS%%share/doc/fmirror/README
%%PORTDOCS%%share/doc/fmirror/generic.conf