aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-05-30 17:23:02 +0800
committermarino <marino@FreeBSD.org>2014-05-30 17:23:02 +0800
commit5fe2f02aed47f25679fb24525d0fd013eb21dc4b (patch)
tree755fa84aeaf49b19e53263bc9b4a3eddbd1a31d9 /x11-themes
parented227e69ff381f4a81002f4f0d869216217582bc (diff)
downloadfreebsd-ports-gnome-5fe2f02aed47f25679fb24525d0fd013eb21dc4b.tar.gz
freebsd-ports-gnome-5fe2f02aed47f25679fb24525d0fd013eb21dc4b.tar.zst
freebsd-ports-gnome-5fe2f02aed47f25679fb24525d0fd013eb21dc4b.zip
x11-themes/clearlooks-themes-extras: Stage support+
In addition to supporting stage, the unnecessarily custom extraction target was replaced with NO_WRKSUBDIR.
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/clearlooks-themes-extras/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/x11-themes/clearlooks-themes-extras/Makefile b/x11-themes/clearlooks-themes-extras/Makefile
index 607dfdfaef3b..65edf294f8f2 100644
--- a/x11-themes/clearlooks-themes-extras/Makefile
+++ b/x11-themes/clearlooks-themes-extras/Makefile
@@ -12,11 +12,11 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Extras colour schemes for Clearlooks engine theme
NO_BUILD= yes
+NO_WRKSUBDIR= yes
USE_GNOME= gtk20
THEME_DIR= ${PREFIX}/share/themes
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/libdata/pkgconfig/gtk-engines-2.pc) || defined(WITH_GTKENGINE)
@@ -25,14 +25,10 @@ RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gtk-engines-2.pc:${PORTSDIR}/x11-the
RUN_DEPENDS= ${LOCALBASE}/lib/gtk-2.0/${GTK2_VERSION}/engines/libclearlooks.so:${PORTSDIR}/x11-themes/clearlooks
.endif
-do-extract:
- @${MKDIR} ${WRKSRC}
- @(cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
- ${DISTDIR}/${DISTFILES} ${EXTRACT_AFTER_ARGS})
-
do-install:
@${MKDIR} ${THEME_DIR}
@cd ${WRKSRC} && ${FIND} . -print | \
- ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${THEME_DIR}
+ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} \
+ ${STAGEDIR}${THEME_DIR}
.include <bsd.port.post.mk>