aboutsummaryrefslogtreecommitdiff
path: root/x11-themes/gtk-engines2/Makefile
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-04-18 04:56:07 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-04-18 04:56:07 +0000
commitfecd9bada3a0b70cd1ac12c40164f94247f1c712 (patch)
tree74375023d6a1b39fb3e6060aa23bcdc4c78183f3 /x11-themes/gtk-engines2/Makefile
parent8521b5b15607290a1b93cc6bb3a142892562755b (diff)
downloadports-fecd9bada3a0b70cd1ac12c40164f94247f1c712.tar.gz
ports-fecd9bada3a0b70cd1ac12c40164f94247f1c712.zip
Notes
Diffstat (limited to 'x11-themes/gtk-engines2/Makefile')
-rw-r--r--x11-themes/gtk-engines2/Makefile17
1 files changed, 15 insertions, 2 deletions
diff --git a/x11-themes/gtk-engines2/Makefile b/x11-themes/gtk-engines2/Makefile
index a5e309e0b97d..ba5d64e0a2d4 100644
--- a/x11-themes/gtk-engines2/Makefile
+++ b/x11-themes/gtk-engines2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gtk-engines2
PORTVERSION= 2.6.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-themes
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.6
@@ -26,11 +26,24 @@ USE_LIBTOOL_VER=15
USE_GNOME= gnomehack gtk20
PLIST_SUB= GTK_VERSION="2.4.0"
+.if defined(WITH_ANIMATION)
+CFLAGS+= -DHAVE_ANIMATION=1
+.endif
+
+pre-everything::
+.if !defined(WITH_ANIMATION)
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} " You can enable experimental animated progressbars"
+ @${ECHO_MSG} " with the clearlooks engine by defining"
+ @${ECHO_MSG} " WITH_ANIMATION"
+ @${ECHO_MSG} ""
+.endif
+
# Disable the gtk1 theme.
post-patch:
@${REINPLACE_CMD} -e 's|gtk gtk-2.0|gtk-2.0|' \
${WRKSRC}/themes/Redmond/Makefile.in
@${REINPLACE_CMD} -e 's|menubarstyle|sunkenmenubar|g' \
- ${WRKSRC}/themes/Clearlooks/gtk-2.0/gtkrc
+ ${WRKSRC}/themes/Clearlooks/gtk-2.0/gtkrc
.include <bsd.port.mk>