aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-09-27 14:47:22 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-09-27 14:47:22 +0000
commit1cbd6dc8ff9453869cf959bf7edddfe25370f274 (patch)
tree1fd4ca2e07a6af5e10e345ce0d62a324a31a2ff3 /x11-wm
parent3fd82d6620646476fe89d7e0a29d171f6811d223 (diff)
downloadports-1cbd6dc8ff9453869cf959bf7edddfe25370f274.tar.gz
ports-1cbd6dc8ff9453869cf959bf7edddfe25370f274.zip
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/awesome-vicious/Makefile19
1 files changed, 6 insertions, 13 deletions
diff --git a/x11-wm/awesome-vicious/Makefile b/x11-wm/awesome-vicious/Makefile
index 1f3857eeb11e..b8566fe72fc3 100644
--- a/x11-wm/awesome-vicious/Makefile
+++ b/x11-wm/awesome-vicious/Makefile
@@ -19,20 +19,13 @@ NO_BUILD= yes
NO_INSTALL= yes
PORTDOCS= README TODO CHANGES LICENSE
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
do-install:
- @${MKDIR} ${PREFIX}/share/awesome/lib/vicious
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
-.for i in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
-.endfor
-.endif
- @${CP} -fr ${WRKSRC}/ ${PREFIX}/share/awesome/lib/vicious
-.for i in ${PORTDOCS}
- @${RM} ${PREFIX}/share/awesome/lib/vicious/${i}
-.endfor
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/awesome/lib/vicious
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+ @${CP} -fr ${WRKSRC}/ ${STAGEDIR}${PREFIX}/share/awesome/lib/vicious
+ @${RM} ${PORTDOCS:S,^,${STAGEDIR}${PREFIX}/share/awesome/lib/vicious/,}
.include <bsd.port.mk>