summaryrefslogtreecommitdiffstats
path: root/x11-themes/beastie/Makefile
diff options
context:
space:
mode:
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>