diff options
author | mezz <mezz@FreeBSD.org> | 2005-04-14 05:16:47 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2005-04-14 05:16:47 +0800 |
commit | 5ca2893a7d565efe2fb21535c71be9670f376bf4 (patch) | |
tree | ecc43c29dd362e6dacc2127557a4ed7d8edad4f1 /x11-themes/clearlooks-themes-extras | |
parent | 57995168dd7c3a0e38601bde737c024b7682c440 (diff) | |
download | freebsd-ports-gnome-5ca2893a7d565efe2fb21535c71be9670f376bf4.tar.gz freebsd-ports-gnome-5ca2893a7d565efe2fb21535c71be9670f376bf4.tar.zst freebsd-ports-gnome-5ca2893a7d565efe2fb21535c71be9670f376bf4.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.
Diffstat (limited to 'x11-themes/clearlooks-themes-extras')
-rw-r--r-- | x11-themes/clearlooks-themes-extras/Makefile | 13 |
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> |