1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

1: Stagify.

2: convert NOPORTDOCS to options.
This commit is contained in:
Vanilla I. Shu 2014-06-24 15:34:26 +00:00
parent 5645612e3f
commit cd9e033782
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359098

View File

@ -9,12 +9,15 @@ MASTER_SITES= http://korzen.org/soft/trf/
MAINTAINER= ports@FreeBSD.org
COMMENT= Billing software for traffic counting working with most Polish ISPs
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in README CHANGELOG
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.endif