aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/clearlooks
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-03-23 02:13:31 +0800
committerpav <pav@FreeBSD.org>2009-03-23 02:13:31 +0800
commit0cfe35c3461437195cb4c7fb810df63ad43b18f2 (patch)
treed66993fa51fd694d8d21e151831b2a3bf625b0e7 /x11-themes/clearlooks
parent2b1c149f19a604acbba026fc27c29b739a371381 (diff)
downloadfreebsd-ports-gnome-0cfe35c3461437195cb4c7fb810df63ad43b18f2.tar.gz
freebsd-ports-gnome-0cfe35c3461437195cb4c7fb810df63ad43b18f2.tar.zst
freebsd-ports-gnome-0cfe35c3461437195cb4c7fb810df63ad43b18f2.zip
- Fix clearlooks-themes slave port for people with gtk-engines2 installed
PR: ports/125764 Submitted by: Koji Yokota <yokota@res.otaru-uc.ac.jp> Approved by: maintainer timeout (ahze; 7 months)
Diffstat (limited to 'x11-themes/clearlooks')
-rw-r--r--x11-themes/clearlooks/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11-themes/clearlooks/Makefile b/x11-themes/clearlooks/Makefile
index 11523423ed4e..05394de4cc5a 100644
--- a/x11-themes/clearlooks/Makefile
+++ b/x11-themes/clearlooks/Makefile
@@ -23,14 +23,14 @@ INSTALLS_ICONS= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-.if defined(PORTNAME) && ${PORTNAME} == "clearlooks"
+.if defined(PORTNAME) && !defined(PKGNAMESUFFIX)
OPTIONS+= ANIMATION "Enable experimental animated progressbars" Off \
METACITY "Depend on MetaCity Theme" On
.endif
.include <bsd.port.pre.mk>
-.if ${PORTNAME} == "clearlooks"
+.if !defined(PKGNAMESUFFIX)
CONFLICTS+= gtk-engines2-[0-9]* clearlooks-themes[0-9]*
PLIST_SUB+= ENGINE=""
.else
@@ -45,7 +45,7 @@ INSTALL_WRKSRC= ${WRKSRC}/themes
PLIST_SUB+= ENGINE="@comment "
.endif
-.if !defined(WITHOUT_METACITY) && ${PORTNAME}=="clearlooks"
+.if !defined(WITHOUT_METACITY) && !defined(PKGNAMESUFFIX)
RUN_DEPENDS+= ${LOCALBASE}/share/themes/Clearlooks/metacity-1/metacity-theme-1.xml:${PORTSDIR}/x11-themes/clearlooks-metacity
.endif
@@ -53,7 +53,7 @@ RUN_DEPENDS+= ${LOCALBASE}/share/themes/Clearlooks/metacity-1/metacity-theme-1.x
CONFIGURE_ARGS+= --enable-animation
.endif
-.if ${PORTNAME} == "clearlooks"
+.if !defined(PKGNAMESUFFIX)
pre-everything::
@if [ -n "`${PKG_INFO} -xI '^gtk-engines2*[0-9]*'`" ]; then \
${ECHO_MSG} ; \