1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00

- Support staging

This commit is contained in:
Dmitry Marakasov 2013-10-22 07:52:56 +00:00
parent 5cd85ee18f
commit 1e21b2a36f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331230

View File

@ -12,23 +12,17 @@ COMMENT= Create patchset information from CVS
CONFLICTS= cvsps-devel-[0-9]*
MAN1= cvsps.1
PLIST_FILES= bin/cvsps
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
PORTDOCS= *
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= README
.endif
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cvsps ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/cvsps.1 ${MANPREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>