x11-themes/gtk-engines2 patch for review/approve

Alexey Dokuchaev danfe at FreeBSD.org
Sat Nov 8 13:48:15 PST 2008


Hi,

Please consider attached patch (conversion to OPTIONS, pkg-descr nit).

./danfe
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/x11-themes/gtk-engines2/Makefile,v
retrieving revision 1.73
diff -u -r1.73 Makefile
--- Makefile	1 Jul 2008 02:00:25 -0000	1.73
+++ Makefile	8 Nov 2008 21:44:51 -0000
@@ -27,17 +27,12 @@
 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>
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/x11-themes/gtk-engines2/pkg-descr,v
retrieving revision 1.4
diff -u -r1.4 pkg-descr
--- pkg-descr	23 May 2002 15:48:45 -0000	1.4
+++ pkg-descr	8 Nov 2008 21:44:51 -0000
@@ -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/


More information about the freebsd-gnome mailing list