aboutsummaryrefslogtreecommitdiff
path: root/x11-themes
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-04-13 23:24:36 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-04-13 23:24:36 +0000
commit79466293c10930da89ed293963bd9fd157757b39 (patch)
treec3ba56cdc478aadc45cc0d8600627f4275402850 /x11-themes
parentc66662566711f9f0267b323afc34608e7cb8cc28 (diff)
downloadports-79466293c10930da89ed293963bd9fd157757b39.tar.gz
ports-79466293c10930da89ed293963bd9fd157757b39.zip
Notes
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/clearlooks/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/x11-themes/clearlooks/Makefile b/x11-themes/clearlooks/Makefile
index a4f585c77421..934ef4be0dd1 100644
--- a/x11-themes/clearlooks/Makefile
+++ b/x11-themes/clearlooks/Makefile
@@ -7,6 +7,7 @@
PORTNAME?= clearlooks
PORTVERSION= 0.5
+PORTREVISION= 1
CATEGORIES= x11-themes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= clearlooks
@@ -23,9 +24,9 @@ USE_X_PREFIX= yes
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
LDFLAGS="-L${X11BASE}/lib"
+OPTIONS= METACITY "Depend on MetaCity Theme" On
.if defined(PORTNAME) && ${PORTNAME} == "clearlooks"
-OPTIONS= METACITY "Depend on MetaCity Theme" On \
- ANIMATION "Enable experimental animated progressbars" Off
+OPTIONS+= ANIMATION "Enable experimental animated progressbars" Off
.endif
.include <bsd.port.pre.mk>
@@ -53,4 +54,14 @@ RUN_DEPENDS+= ${X11BASE}/share/gnome/themes/Clearlooks/metacity-1/metacity-theme
CONFIGURE_ARGS+= --enable-animation
.endif
+.if ${PORTNAME} == "clearlooks"
+pre-everything::
+ @if [ -n "`${PKG_INFO} -xI '^gtk-engines2*[0-9]*'`" ]; then \
+ ${ECHO_MSG} ; \
+ ${ECHO_MSG} "Gnome/gtk-engine users should use ${PORTSDIR}/x11-themes/clear
+ ${ECHO_MSG} ; \
+ ${FALSE}; \
+ fi
+.endif
+
.include <bsd.port.post.mk>