mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Add configuration variable WITHOUT_OPENMOTIF_MANUALS, which controls
building/installing of open-motif's manpages and docs
This commit is contained in:
parent
97acc426b9
commit
1d49dbd67e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127787
@ -50,7 +50,10 @@ MAKE_ENV+= DEMOS="demos"
|
||||
PLIST_SUB+= MOTIF_DEMOS=""
|
||||
.endif
|
||||
|
||||
# User config option: Build and install Motif manuals
|
||||
.if !defined(WITHOUT_OPENMOTIF_MANUALS)
|
||||
.include "${.CURDIR}/Makefile.man"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${DEMOS_SRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
@ -145,9 +148,11 @@ post-install:
|
||||
${INSTALL_MAN} ${DEMOS_SRC}/setdate/setDate.man \
|
||||
${MANPREFIX}/man/man1/setDate.1
|
||||
.endif
|
||||
.if !defined(WITHOUT_OPENMOTIF_MANUALS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for i in BUGREPORT COPYRIGHT.MOTIF README RELNOTES
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user