diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-05 08:03:38 +0800 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-05 08:03:38 +0800 |
commit | 604116319397d8837379d628a953297d6e20f678 (patch) | |
tree | 4c812b5cfa9abc839ea8f55bf58fbe2d2ad8ae2d /x11-wm/awesome2 | |
parent | 2e071148542cd98a0a4ce116b408147b7e8e5fa8 (diff) | |
download | freebsd-ports-gnome-604116319397d8837379d628a953297d6e20f678.tar.gz freebsd-ports-gnome-604116319397d8837379d628a953297d6e20f678.tar.zst freebsd-ports-gnome-604116319397d8837379d628a953297d6e20f678.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)
Diffstat (limited to 'x11-wm/awesome2')
-rw-r--r-- | x11-wm/awesome2/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/x11-wm/awesome2/Makefile b/x11-wm/awesome2/Makefile index 34715be8f135..eaf498ecc826 100644 --- a/x11-wm/awesome2/Makefile +++ b/x11-wm/awesome2/Makefile @@ -34,7 +34,12 @@ MAN5= awesome2rc.5 PORTDOCS= AUTHORS LICENSE README STYLE UPGRADE PORTEXAMPLES= awesomerc +OPTIONS_DEFINE= DOCS EXAMPLES + NO_STAGE= yes + +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e 's, "$$(DESTDIR)$$(docdir)";,;,g' \ -e 's,\([[:space:]]\)install-docDATA ,\1,g' \ @@ -58,14 +63,14 @@ post-configure: ${WRKSRC}/Makefile post-install: -. if !defined(NOPORTDOCS) +. if ${PORT_OPTIONS:MDOCS} @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}" @${MKDIR} ${DOCSDIR} . for doc in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} . endfor . endif -. if !defined(NOPORTEXAMPLES) +. if ${PORT_OPTIONS:MEXAMPLES} @${ECHO_MSG} "installing example config file to ${EXAMPLESDIR}" @${MKDIR} ${EXAMPLESDIR} . for example in ${PORTEXAMPLES} |