aboutsummaryrefslogtreecommitdiff
path: root/x11-themes/clearlooks-themes-extras/Makefile
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2005-04-13 21:16:47 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2005-04-13 21:16:47 +0000
commitf65c7a78d8bb54ea0fb48189f8665d71a87715b2 (patch)
tree93ddb765daadd69e4f9fb7d2c14e94e065cbb1b4 /x11-themes/clearlooks-themes-extras/Makefile
parent61e2ca1796c9fa4677efd635fff36cbeddcee634 (diff)
downloadports-f65c7a78d8bb54ea0fb48189f8665d71a87715b2.tar.gz
ports-f65c7a78d8bb54ea0fb48189f8665d71a87715b2.zip
Since gtk-engine2 has added clearlooks engine, so gtk-engine2 and clearlooks
have became in conflict. Add autocheck on gtk-engine2 and WITH_GTKENGINE knob to depend on gtk-engine2. The clearlooks is default. Bump the PORTREVISION.
Notes
Notes: svn path=/head/; revision=133273
Diffstat (limited to 'x11-themes/clearlooks-themes-extras/Makefile')
-rw-r--r--x11-themes/clearlooks-themes-extras/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/x11-themes/clearlooks-themes-extras/Makefile b/x11-themes/clearlooks-themes-extras/Makefile
index 509c99dbb31a..e1753b0c487f 100644
--- a/x11-themes/clearlooks-themes-extras/Makefile
+++ b/x11-themes/clearlooks-themes-extras/Makefile
@@ -7,6 +7,7 @@
PORTNAME= clearlooks-themes-extras
PORTVERSION= 0.5.1
+PORTREVISION= 1
CATEGORIES= x11-themes
MASTER_SITES= http://www.kernow-webhosting.com/~bvc/theme/gtk/clearlooks/0.5/
DISTNAME= Clearlooks-Big_Pack-${PORTVERSION}
@@ -14,8 +15,6 @@ DISTNAME= Clearlooks-Big_Pack-${PORTVERSION}
MAINTAINER= mezz@FreeBSD.org
COMMENT= Extras colour schemes for Clearlooks engine theme
-RUN_DEPENDS= ${X11BASE}/lib/gtk-2.0/2.4.0/engines/libclearlooks.so:${PORTSDIR}/x11-themes/clearlooks
-
NO_BUILD= yes
USE_X_PREFIX= yes
USE_REINPLACE= yes
@@ -32,6 +31,14 @@ GTKRC= Clearlooks-3.1-Ergo Clearlooks-4Humans Clearlooks-Ana \
ICONS= Clearlooks-Ana Clearlooks-Bluey Clearlooks-Etiquette \
Clearlooks-Lila Clearlooks-Milk Clearlooks-Nuvola
+.include <bsd.port.pre.mk>
+
+.if exists(${X11BASE}/libdata/pkgconfig/gtk-engines-2.pc) || defined(WITH_GTKENGINE)
+RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gtk-engines-2.pc:${PORTSDIR}/x11-themes/gtk-engines2
+.else
+RUN_DEPENDS= ${X11BASE}/lib/gtk-2.0/2.4.0/engines/libclearlooks.so:${PORTSDIR}/x11-themes/clearlooks
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|iconrc|icons/iconrc|g' \
${WRKSRC}/Clearlooks-Glider/gtk-2.0/gtkrc
@@ -69,4 +76,4 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/Clearlooks-gOrangeous/gtk-2.0/icons/Xtra/* \
${THEME_DIR}/Clearlooks-gOrangeous/gtk-2.0/icons/Xtra/
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>