aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-09-27 22:47:22 +0800
committerwg <wg@FreeBSD.org>2013-09-27 22:47:22 +0800
commit136eb0745949e21600167411d7e7e578bb81cde0 (patch)
tree1fd4ca2e07a6af5e10e345ce0d62a324a31a2ff3 /x11-wm
parent590e0d85082ed5b8765abf923149e1aac7badf23 (diff)
downloadfreebsd-ports-gnome-136eb0745949e21600167411d7e7e578bb81cde0.tar.gz
freebsd-ports-gnome-136eb0745949e21600167411d7e7e578bb81cde0.tar.zst
freebsd-ports-gnome-136eb0745949e21600167411d7e7e578bb81cde0.zip
x11-wm/awesome-vicious: allow staging
- Allow staging
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>