diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-05 00:06:55 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-05 00:06:55 +0000 |
commit | 9412986685d3654a0b601ba2b0f1c5049fe1613c (patch) | |
tree | 851a50ff4fd6723fd0eb268b37b1252509684dc0 /x11-toolkits | |
parent | 604116319397d8837379d628a953297d6e20f678 (diff) | |
download | ports-9412986685d3654a0b601ba2b0f1c5049fe1613c.tar.gz ports-9412986685d3654a0b601ba2b0f1c5049fe1613c.zip |
Remove NOPORTDOCS and NOPORTEXAMPLES from unstaged ports. Stage a couple while
we're here. Remove any other references to NOPORT*.
Approved by: portmgr (blanket for modernization)
Notes
Notes:
svn path=/head/; revision=360702
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/mowitz/Makefile | 3 | ||||
-rw-r--r-- | x11-toolkits/mowitz/files/patch-doc | 2 | ||||
-rw-r--r-- | x11-toolkits/py-kiwi/Makefile | 9 |
3 files changed, 11 insertions, 3 deletions
diff --git a/x11-toolkits/mowitz/Makefile b/x11-toolkits/mowitz/Makefile index 061ab3654f03..3545ffd05bea 100644 --- a/x11-toolkits/mowitz/Makefile +++ b/x11-toolkits/mowitz/Makefile @@ -19,4 +19,7 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-xawm=Xaw3d INSTALL_TARGET= install-strip +OPTIONS_DEFINE= DOCS +DOCS_MAKE_ENV= PORTDOCS=yes + .include <bsd.port.mk> diff --git a/x11-toolkits/mowitz/files/patch-doc b/x11-toolkits/mowitz/files/patch-doc index 6066b33d3f3a..7432f8d7e085 100644 --- a/x11-toolkits/mowitz/files/patch-doc +++ b/x11-toolkits/mowitz/files/patch-doc @@ -4,7 +4,7 @@ -SUBDIRS = Mowitz examples doc +SUBDIRS = Mowitz examples -+.ifndef NOPORTDOCS ++.ifdef PORTDOCS +SUBDIRS+= doc +.endif diff --git a/x11-toolkits/py-kiwi/Makefile b/x11-toolkits/py-kiwi/Makefile index 32f6c5749d21..f21dc5f6e5e0 100644 --- a/x11-toolkits/py-kiwi/Makefile +++ b/x11-toolkits/py-kiwi/Makefile @@ -24,12 +24,17 @@ USE_XZ= yes DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/${PYTHON_PKGNAMEPREFIX}${PORTNAME} +OPTIONS_DEFINE= DOCS EXAMPLES + NO_STAGE= yes + +.include <bsd.port.options.mk> + post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR} .endif -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR} .endif |