diff options
author | phantom <phantom@FreeBSD.org> | 2005-01-31 16:27:50 +0000 |
---|---|---|
committer | phantom <phantom@FreeBSD.org> | 2005-01-31 16:27:50 +0000 |
commit | 80268f10b67e78d835efdff6117226ef066f16c3 (patch) | |
tree | 9953ffb69c85e466a11c6479fd2850feeddafc01 /x11-toolkits/open-motif | |
parent | b6cf17f62754476f801f84ba322faca2134c660e (diff) | |
download | FreeBSD-ports-80268f10b67e78d835efdff6117226ef066f16c3.zip FreeBSD-ports-80268f10b67e78d835efdff6117226ef066f16c3.tar.gz |
Add configuration variable WITHOUT_OPENMOTIF_MANUALS, which controls
building/installing of open-motif's manpages and docs
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 50d380d..b36ea14 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> |