mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support staging
This commit is contained in:
parent
222f32d048
commit
c79912bb01
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344850
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user