aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-18 17:40:06 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-18 17:40:06 +0800
commit4a723637d89aad534440faa3c9d5f691cf211561 (patch)
tree916e2c05d254953791bf552997d88d43f770e27c
parentb13cfd29eb7cc5c5039b924bff915c4dc73eccf7 (diff)
downloadfreebsd-ports-gnome-4a723637d89aad534440faa3c9d5f691cf211561.tar.gz
freebsd-ports-gnome-4a723637d89aad534440faa3c9d5f691cf211561.tar.zst
freebsd-ports-gnome-4a723637d89aad534440faa3c9d5f691cf211561.zip
Support staging
-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