mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
1: Stagify.
2: convert NOPORTDOCS to options.
This commit is contained in:
parent
5645612e3f
commit
cd9e033782
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359098
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user