aboutsummaryrefslogtreecommitdiff
path: root/x11-themes
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-04-13 02:59:29 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-04-13 02:59:29 +0000
commit4a0542d57437bf80d30fcf8e6bc199afd34984fa (patch)
tree7ff9526294757ca0578d9e29937a41503848dc63 /x11-themes
parentef7f9d2c9ce3d0abe40212e2c2a6c1dadda01121 (diff)
downloadports-4a0542d57437bf80d30fcf8e6bc199afd34984fa.tar.gz
ports-4a0542d57437bf80d30fcf8e6bc199afd34984fa.zip
Notes
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/clearlooks/Makefile20
-rw-r--r--x11-themes/clearlooks/pkg-plist2
2 files changed, 18 insertions, 4 deletions
diff --git a/x11-themes/clearlooks/Makefile b/x11-themes/clearlooks/Makefile
index 41dc17de7077..a0263a3e2cd2 100644
--- a/x11-themes/clearlooks/Makefile
+++ b/x11-themes/clearlooks/Makefile
@@ -5,11 +5,12 @@
# $FreeBSD$
#
-PORTNAME= clearlooks
+PORTNAME?= clearlooks
PORTVERSION= 0.5
CATEGORIES= x11-themes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= clearlooks
+DISTNAME= clearlooks-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK+ 2.x engine based on Bluecurve
@@ -25,10 +26,23 @@ CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
OPTIONS= METACITY "Depend on MetaCity Theme" On \
ANIMATION "Enable experimental animated progressbars" Off
-CONFLICTS= gtk-engines2-[0-9]*
-
.include <bsd.port.pre.mk>
+.if ${PORTNAME} == "clearlooks"
+CONFLICTS= gtk-engines2-[0-9]* clearlooks-themes[0-9]*
+PLIST_SUB+= ENGINE=""
+.else
+CONFLICTS= clearlooks-[0-9]*
+
+BUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/gtk-engines-2.pc:${PORTSDIR}/x11-themes/gtk-engines2
+RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gtk-engines-2.pc:${PORTSDIR}/x11-themes/gtk-engines2
+
+BUILD_WRKSRC= ${WRKSRC}/themes
+INSTALL_WRKSRC= ${WRKSRC}/themes
+
+PLIST_SUB+= ENGINE="@comment "
+.endif
+
.if !defined(WITHOUT_METACITY)
RUN_DEPENDS+= ${X11BASE}/share/gnome/themes/Clearlooks/metacity-1/metacity-theme-1.xml:${PORTSDIR}/x11-themes/clearlooks-metacity
.endif
diff --git a/x11-themes/clearlooks/pkg-plist b/x11-themes/clearlooks/pkg-plist
index 88cc03344af3..5400d430e6a4 100644
--- a/x11-themes/clearlooks/pkg-plist
+++ b/x11-themes/clearlooks/pkg-plist
@@ -1,4 +1,4 @@
-lib/gtk-2.0/2.4.0/engines/libclearlooks.so
+%%ENGINE%%lib/gtk-2.0/2.4.0/engines/libclearlooks.so
share/icons/Clearlooks/16x16/gtk/gtk-apply.png
share/icons/Clearlooks/16x16/gtk/gtk-cancel.png
share/icons/Clearlooks/16x16/gtk/gtk-go-back-ltr.png