1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-02-18 09:40:06 +00:00
parent 222f32d048
commit c79912bb01
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344850
2 changed files with 8 additions and 9 deletions

View File

@ -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>

View File

@ -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