- fix NOPORTDOCS installation
- while here tighten COMMENT and adoption of optionsNG for DOCS PR: 174590 PR: 170542 Submitted by: olivier@gid0.org Approved by: maintainer timeout, kamikaze@bsdforen.de ( 75 days )
This commit is contained in:
parent
f9ba68b320
commit
101a81eb37
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313441
1 changed files with 7 additions and 5 deletions
|
@ -8,15 +8,15 @@ CATEGORIES= sysutils ports-mgmt
|
|||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
|
||||
|
||||
MAINTAINER= kamikaze@bsdforen.de
|
||||
COMMENT= A collection of administration scripts
|
||||
COMMENT= Collection of administration scripts
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
||||
NO_BUILD= yes
|
||||
MANCOMPRESSED= yes
|
||||
|
||||
.if defined(NOPORTDOCS)
|
||||
NOPORTDOCS= -nodoc
|
||||
.else
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
MAN1= bsdadminscripts.1 \
|
||||
buildflags.mk.1 buildflags.conf.1 buildflags.awk.1 \
|
||||
distviper.1 \
|
||||
|
@ -32,6 +32,8 @@ PORT_SCRIPTS= build clean fetch package \
|
|||
config-recursive fetch-recursive
|
||||
MLINKS+= ${RC_SCRIPTS:S,^,rc,:S,$,.1,:S,^,rcstart.1 ,} \
|
||||
${PORT_SCRIPTS:S,^,port,:S,$,.1,:S,^,portconfig.1 ,}
|
||||
.else
|
||||
EVALDOCS= -nodoc
|
||||
.endif
|
||||
|
||||
plist: patch
|
||||
|
@ -41,6 +43,6 @@ plist: patch
|
|||
do-install:
|
||||
@cd ${WRKSRC}; ./install.sh \
|
||||
-prefix=${PREFIX} -ports=${PORTSDIR} -distdir=${DISTDIR} \
|
||||
-datadir=${DATADIR} ${NOPORTDOCS}
|
||||
-datadir=${DATADIR} ${EVALDOCS}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue