diff options
author | Alexey Zelkin <phantom@FreeBSD.org> | 2005-01-31 16:27:50 +0000 |
---|---|---|
committer | Alexey Zelkin <phantom@FreeBSD.org> | 2005-01-31 16:27:50 +0000 |
commit | 1d49dbd67e3da41b6aceee2607d8b7e8672fbb80 (patch) | |
tree | 6f4329dc332dc3519276c4a1aa384bfc2260cc00 /x11-toolkits/open-motif | |
parent | 97acc426b9ccc9331c525adcaf326b03c98babd3 (diff) |
Add configuration variable WITHOUT_OPENMOTIF_MANUALS, which controls
building/installing of open-motif's manpages and docs
Notes
Notes:
svn path=/head/; revision=127787
Diffstat (limited to 'x11-toolkits/open-motif')
-rw-r--r-- | x11-toolkits/open-motif/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/x11-toolkits/open-motif/Makefile b/x11-toolkits/open-motif/Makefile index 50d380d2fde3..b36ea14a8c28 100644 --- a/x11-toolkits/open-motif/Makefile +++ b/x11-toolkits/open-motif/Makefile @@ -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> |