aboutsummaryrefslogtreecommitdiff
path: root/x11-themes/gtk-longhorninspirat-theme
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2014-06-03 04:49:02 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2014-06-03 04:49:02 +0000
commitdda4a694f062105b3f9458543aeba24af8fd0c91 (patch)
tree5953f9d4db215780fa8933c5f5cb3a76e53a6a17 /x11-themes/gtk-longhorninspirat-theme
parenta4eb231d9e019fa99892798566eee6d89670476b (diff)
downloadports-dda4a694f062105b3f9458543aeba24af8fd0c91.tar.gz
ports-dda4a694f062105b3f9458543aeba24af8fd0c91.zip
Stagify and cleanup my remaining ports under
Notes
Notes: svn path=/head/; revision=356282
Diffstat (limited to 'x11-themes/gtk-longhorninspirat-theme')
-rw-r--r--x11-themes/gtk-longhorninspirat-theme/Makefile22
-rw-r--r--x11-themes/gtk-longhorninspirat-theme/pkg-descr2
2 files changed, 10 insertions, 14 deletions
diff --git a/x11-themes/gtk-longhorninspirat-theme/Makefile b/x11-themes/gtk-longhorninspirat-theme/Makefile
index 521843d86938..ab606f04e44a 100644
--- a/x11-themes/gtk-longhorninspirat-theme/Makefile
+++ b/x11-themes/gtk-longhorninspirat-theme/Makefile
@@ -11,17 +11,16 @@ PKGNAMESUFFIX= -theme
DISTNAME= Longhorn_Inspirat
MAINTAINER= danfe@FreeBSD.org
-COMMENT= A port of Windows XP theme Longhorn Inspirat
+COMMENT= Port of Windows XP theme Longhorn Inspirat
-TYPE?= gtk
+USES= tar:bzip2
+NO_BUILD= yes
+TYPE?= gtk
THEME_NAME= "${DISTNAME:S/_/ /}"
WRKSRC= ${WRKDIR}/${THEME_NAME}
-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
@@ -31,20 +30,19 @@ PLIST_SUB+= GTK20="@comment " METACITY=""
USE_GNOME= gnomehier
.endif
-NO_STAGE= yes
post-extract:
@${FIND} ${WRKSRC} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
@${RM} -r ${WRKSRC}/gtk-2.0/.Trash-roberto
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 | \
- ${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${THEME_DIR}
+ ${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${THEME_DIR}
.else
cd ${WRKSRC} && ${FIND} metacity-1 | \
- ${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-longhorninspirat-theme/pkg-descr b/x11-themes/gtk-longhorninspirat-theme/pkg-descr
index ae2aeba3d87c..2487e9ad225e 100644
--- a/x11-themes/gtk-longhorninspirat-theme/pkg-descr
+++ b/x11-themes/gtk-longhorninspirat-theme/pkg-descr
@@ -1,4 +1,2 @@
Port of Longhorn Inspirat theme, originally created by Stefanka for
Windows XP.
-
-WWW: http://www.users.monornet.hu/linux/