aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/gtk-digital-cream-theme
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2014-06-03 12:49:02 +0800
committerdanfe <danfe@FreeBSD.org>2014-06-03 12:49:02 +0800
commit7ab2bbd880d9d8daa8da953d1a1704d595a7d0c7 (patch)
tree5953f9d4db215780fa8933c5f5cb3a76e53a6a17 /x11-themes/gtk-digital-cream-theme
parent97a5af1025fc80914f511d32ffa4dc6a704d0637 (diff)
downloadfreebsd-ports-gnome-7ab2bbd880d9d8daa8da953d1a1704d595a7d0c7.tar.gz
freebsd-ports-gnome-7ab2bbd880d9d8daa8da953d1a1704d595a7d0c7.tar.zst
freebsd-ports-gnome-7ab2bbd880d9d8daa8da953d1a1704d595a7d0c7.zip
Stagify and cleanup my remaining ports under
Diffstat (limited to 'x11-themes/gtk-digital-cream-theme')
-rw-r--r--x11-themes/gtk-digital-cream-theme/Makefile22
-rw-r--r--x11-themes/gtk-digital-cream-theme/pkg-descr2
2 files changed, 10 insertions, 14 deletions
diff --git a/x11-themes/gtk-digital-cream-theme/Makefile b/x11-themes/gtk-digital-cream-theme/Makefile
index 2a2190e11603..d3f13629f01d 100644
--- a/x11-themes/gtk-digital-cream-theme/Makefile
+++ b/x11-themes/gtk-digital-cream-theme/Makefile
@@ -11,16 +11,15 @@ PKGNAMESUFFIX= -theme
DISTNAME= Digital-Cream
MAINTAINER= danfe@FreeBSD.org
-COMMENT= Very neat and clean theme for GNOME desktop
+COMMENT= Neat and clean theme for GNOME desktop
-TYPE?= gtk
+USES= tar:bzip2
+NO_BUILD= yes
+TYPE?= gtk
THEME_NAME= ${DISTNAME}
-USE_BZIP2= yes
-NO_BUILD= yes
-
-.if ${TYPE} == "gtk"
+.if ${TYPE} == gtk
THEME_DIR= ${PREFIX}/share/themes/${THEME_NAME}
PLIST_SUB+= GTK20="" METACITY="@comment "
USE_GNOME= gtk20
@@ -30,19 +29,18 @@ PLIST_SUB+= GTK20="@comment " METACITY=""
USE_GNOME= gnomehier
.endif
-NO_STAGE= yes
post-extract:
@${FIND} ${WRKSRC} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
do-install:
- @${MKDIR} ${THEME_DIR}
- ${INSTALL_DATA} ${WRKSRC}/index.theme ${THEME_DIR}
-.if ${TYPE} == "gtk"
+ @${MKDIR} ${STAGEDIR}${THEME_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/index.theme ${STAGEDIR}${THEME_DIR}
+.if ${TYPE} == gtk
cd ${WRKSRC} && ${FIND} gtk-2.0 -name '*[^~]' | \
- ${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${THEME_DIR}
+ ${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${THEME_DIR}
.else
cd ${WRKSRC} && ${FIND} metacity-1 -name '*[^~]' | \
- ${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${THEME_DIR}
+ ${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${THEME_DIR}
.endif
.include <bsd.port.mk>
diff --git a/x11-themes/gtk-digital-cream-theme/pkg-descr b/x11-themes/gtk-digital-cream-theme/pkg-descr
index 635e50734d80..4f7f559712c8 100644
--- a/x11-themes/gtk-digital-cream-theme/pkg-descr
+++ b/x11-themes/gtk-digital-cream-theme/pkg-descr
@@ -1,3 +1 @@
Neat and clean theme for GNOME desktop by roberTO.
-
-WWW: http://www.users.monornet.hu/linux/