aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-themes/gtk-engines2/Makefile17
-rw-r--r--x11-themes/gtk-engines2/pkg-descr2
2 files changed, 7 insertions, 12 deletions
diff --git a/x11-themes/gtk-engines2/Makefile b/x11-themes/gtk-engines2/Makefile
index 8b91fff867a4..d86e0ca9b8b3 100644
--- a/x11-themes/gtk-engines2/Makefile
+++ b/x11-themes/gtk-engines2/Makefile
@@ -15,7 +15,7 @@ DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION}
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
-COMMENT= Theme engine for the gtk+-2.0 toolkit
+COMMENT= Theme engine for the Gtk+-2.0 toolkit
CONFLICTS= gtk-smooth-engine-[0-9]* clearlooks-[0-9]*
@@ -27,17 +27,12 @@ USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+OPTIONS= ANIMATION "Enable experimental animated progressbars" off
+
+.include <bsd.port.pre.mk>
+
.if defined(WITH_ANIMATION)
CONFIGURE_ARGS+= --enable-animation
.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
-
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/x11-themes/gtk-engines2/pkg-descr b/x11-themes/gtk-engines2/pkg-descr
index e787f789bb62..d1b5370dcea0 100644
--- a/x11-themes/gtk-engines2/pkg-descr
+++ b/x11-themes/gtk-engines2/pkg-descr
@@ -1,3 +1,3 @@
-Theme engine for the gtk+-2.0 toolkit.
+Theme engine for the Gtk+-2.0 toolkit.
WWW: http://www.gtk.org/