aboutsummaryrefslogtreecommitdiff
path: root/x11-themes/clearlooks-themes-extras
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
parent61e2ca1796c9fa4677efd635fff36cbeddcee634 (diff)
downloadports-f65c7a78d8bb54ea0fb48189f8665d71a87715b2.tar.gz
ports-f65c7a78d8bb54ea0fb48189f8665d71a87715b2.zip
Notes
Diffstat (limited to 'x11-themes/clearlooks-themes-extras')
-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>