summaryrefslogtreecommitdiffstats
path: root/x11-themes/beastie/Makefile
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-09-06 13:47:42 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-09-06 13:47:42 +0800
commit7a7735d5305cb13b1d49d3975267955fe43b1c75 (patch)
treeba2bfbc13af7c49df4ef5d55a9dbda63848b485e /x11-themes/beastie/Makefile
parent17fbb240d2ce2bcd91f57a658f118863eb08fed0 (diff)
downloadmarcuscom-ports-7a7735d5305cb13b1d49d3975267955fe43b1c75.tar
marcuscom-ports-7a7735d5305cb13b1d49d3975267955fe43b1c75.tar.gz
marcuscom-ports-7a7735d5305cb13b1d49d3975267955fe43b1c75.tar.bz2
marcuscom-ports-7a7735d5305cb13b1d49d3975267955fe43b1c75.tar.lz
marcuscom-ports-7a7735d5305cb13b1d49d3975267955fe43b1c75.tar.xz
marcuscom-ports-7a7735d5305cb13b1d49d3975267955fe43b1c75.tar.zst
marcuscom-ports-7a7735d5305cb13b1d49d3975267955fe43b1c75.zip
- Add mezz & my theme, beastie
Gnome theme with freebsd colors. Also this port is testing gtk-engines2>=2.6.4:${PORTSDIR}/x11-themes/gtk-engines2 git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4737 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-themes/beastie/Makefile')
-rw-r--r--x11-themes/beastie/Makefile57
1 files changed, 57 insertions, 0 deletions
diff --git a/x11-themes/beastie/Makefile b/x11-themes/beastie/Makefile
new file mode 100644
index 000000000..e035fa781
--- /dev/null
+++ b/x11-themes/beastie/Makefile
@@ -0,0 +1,57 @@
+# New ports collection makefile for: beastie
+# Date created: 2005-09-06
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= beastie
+PORTVERSION= 05.07.11
+CATEGORIES= x11-themes
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= ahze
+DISTNAME= Beastie-${PORTVERSION}
+
+MAINTAINER= ahze@FreeBSD.org
+COMMENT= Gnome theme with FreeBSD Colors
+
+WRKSRC= ${WRKDIR}/Beastie
+USE_X_PREFIX= yes
+NO_BUILD= yes
+
+THEME_FILES= README index.theme gtk-2.0/gtkrc
+THEME_DIR= share/themes/Beastie/
+PLIST_FILES= ${THEME_FILES:S|^|${THEME_DIR}|}
+PLIST_DIRS= ${THEME_DIR}/gtk-2.0 ${THEME_DIR}
+
+.include <bsd.port.pre.mk>
+
+.if exists(${X11BASE}/libdata/pkgconfig/gtk-engines-2.pc)
+WITH_GTKENGINES= yes
+.endif
+
+.if !defined(WITHOUT_GTKENGINES) || defined(WITH_GTKENGINES)
+RUN_DEPENDS+= ${X11BASE}/libdata/pkgconfig/gtk-engines-2.pc:${PORTSDIR}/x11-themes/gtk-engines2 \
+ gtk-engines2>=2.6.4:${PORTSDIR}/x11-themes/gtk-engines2
+.else
+RUN_DEPENDS+= ${X11BASE}/lib/gtk-2.0/2.4.0/engines/libclearlooks.so:${PORTSDIR}/x11-themes/clearlooks \
+ clearlooks>=0.6.0:${PORTSDIR}/x11-themes/clearlooks
+
+.endif
+
+pre-everything::
+.if !defined(WITHOUT_GTKENGINES) && !defined(WITH_GTKENGINES)
+ @${ECHO_MSG} "You can disable gtk-engines support (clearlooks)"
+ @${ECHO_MSG} "and use x11-themes/clearlooks for the clearlooks"
+ @${ECHO_MSG} "engine by defining"
+ @${ECHO_MSG} "WITHOUT_GTKENGINES=yes"
+.endif
+
+do-install:
+ ${MKDIR} ${PREFIX}/${THEME_DIR}/gtk-2.0
+.for f in ${THEME_FILES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${THEME_DIR}/${f}
+.endfor
+
+.include <bsd.port.post.mk>