aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-11 17:29:04 +0800
committermiwi <miwi@FreeBSD.org>2014-02-11 17:29:04 +0800
commitdd0495482807496c1306f46cd1d1673dd4686849 (patch)
tree998a023d85bb895f9b871c2599bf4939b3e433b1
parent63d6bfa00513c04429250ab211bb33ae75db5812 (diff)
downloadfreebsd-ports-gnome-dd0495482807496c1306f46cd1d1673dd4686849.tar.gz
freebsd-ports-gnome-dd0495482807496c1306f46cd1d1673dd4686849.tar.zst
freebsd-ports-gnome-dd0495482807496c1306f46cd1d1673dd4686849.zip
- Stage support
-rw-r--r--x11-themes/claws-mail-themes/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/x11-themes/claws-mail-themes/Makefile b/x11-themes/claws-mail-themes/Makefile
index 9cebde3dcda4..2e1ec3f5a40b 100644
--- a/x11-themes/claws-mail-themes/Makefile
+++ b/x11-themes/claws-mail-themes/Makefile
@@ -13,16 +13,13 @@ NO_BUILD= yes
THEMESDIR?= ${PREFIX}/share/claws-mail/themes
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
do-install:
- @${MKDIR} ${THEMESDIR}
+ @${MKDIR} ${STAGEDIR}${THEMESDIR}
cd ${WRKSRC}/ && ${FIND} . -mindepth 2 -print | \
${GREP} -vE '(Makefile.*|INSTALL)' | \
- ${CPIO} -pdu -R ${BINOWN}:${BINGRP} --quiet ${THEMESDIR}
- @${CHMOD} -R a+r ${THEMESDIR}
- @${FIND} ${THEMESDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
- @${FIND} ${THEMESDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
+ ${CPIO} -pdu -R ${BINOWN}:${BINGRP} --quiet ${STAGEDIR}${THEMESDIR}
+ @${CHMOD} -R a+r ${STAGEDIR}${THEMESDIR}
+ @${FIND} ${STAGEDIR}${THEMESDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
+ @${FIND} ${STAGEDIR}${THEMESDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>