summaryrefslogtreecommitdiff
path: root/graphics/elementary-xfce-icon-theme/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/elementary-xfce-icon-theme/Makefile')
-rw-r--r--graphics/elementary-xfce-icon-theme/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/graphics/elementary-xfce-icon-theme/Makefile b/graphics/elementary-xfce-icon-theme/Makefile
new file mode 100644
index 00000000000..f6f35983885
--- /dev/null
+++ b/graphics/elementary-xfce-icon-theme/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2015/04/21 08:56:38 jperkin Exp $
+
+GHCOMMIT= 47f947becd85583da089c0132b86011d0ecd3d60
+DISTNAME= ${GHCOMMIT}
+PKGNAME= elementary-xfce-icon-theme-0.5
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GITHUB:=shimmerproject/elementary-xfce/archive/}
+
+MAINTAINER= youri.mout@gmail.com
+HOMEPAGE= https://github.com/shimmerproject/elementary-xfce
+COMMENT= Elementary icons forked, extended and maintained for Xfce
+LICENSE= gnu-gpl-v2
+
+NO_BUILD= YES
+USE_LANGUAGES= # none, not even C
+USE_TOOLS+= pax
+
+WRKSRC= ${WRKDIR}/elementary-xfce-${GHCOMMIT}
+
+EVAL_PREFIX+= PREFIX.gtk2=gtk2+
+FILES_SUBST+= GTK_UPDATE_ICON_CACHE="${PREFIX.gtk2}/bin/gtk-update-icon-cache"
+FILES_SUBST+= ICON_THEME_DIR="${PREFIX}/share/icons"
+INSTALL_TEMPLATES+= ../../graphics/elementary-xfce-icon-theme/files/icon-cache.tmpl
+DEINSTALL_TEMPLATES+= ../../graphics/elementary-xfce-icon-theme/files/icon-cache.tmpl
+PRINT_PLIST_AWK+=/^share\/icons\/elementary-xfce\/icon-theme.cache$$/ { next; }
+PRINT_PLIST_AWK+=/^share\/icons\/elementary-xfce-dark\/icon-theme.cache$$/ { next; }
+PRINT_PLIST_AWK+=/^share\/icons\/elemantary-xfce-darker\/icon-theme.cache$$/ { next; }
+
+INSTALLATION_DIRS+= share/icons
+
+do-install:
+ cd ${WRKSRC} && pax -rw -pe e* ${DESTDIR}${PREFIX}/share/icons/
+
+
+.include "../../graphics/gnome-icon-theme/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"