mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
- fix docs installation
- define PORTDOCS list uncoditionally, while here PR: ports/175610 Submitted by: Nicolas Jombart <ecu@200ok.org> (maintainer)
This commit is contained in:
parent
c3be10f03f
commit
1d74f0d605
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311033
@ -21,16 +21,14 @@ DATADIR= share/sec
|
||||
PORTCONTRIB= convert.pl itostream.c swatch2sec.pl
|
||||
PLIST_FILES+= ${PORTCONTRIB:S|^|%%DATADIR%%/|}
|
||||
PLIST_DIRS+= ${DATADIR}
|
||||
PORTDOCS= ChangeLog README
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
PORTDOCS= ChangeLog README
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
|
||||
${INSTALL_MAN} ${WRKSRC}/sec.man ${PREFIX}/man/man8/sec.8
|
||||
.if empty(PORT_OPTIONS:MDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for file in ${PORTDOCS}
|
||||
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user