diff options
Diffstat (limited to 'x11-themes')
-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> |