summaryrefslogtreecommitdiffstats
path: root/x11-themes/gtk-engines2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes/gtk-engines2/Makefile')
-rw-r--r--x11-themes/gtk-engines2/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/x11-themes/gtk-engines2/Makefile b/x11-themes/gtk-engines2/Makefile
new file mode 100644
index 000000000..747701c80
--- /dev/null
+++ b/x11-themes/gtk-engines2/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: gtk-engines2
+# Date Created: 21 May 2002
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD: ports/x11-themes/gtk-engines2/Makefile,v 1.65 2007/04/11 13:01:14 bland Exp $
+# $MCom: ports/x11-themes/gtk-engines2/Makefile,v 1.37 2007/03/13 12:52:05 ahze Exp $
+#
+
+PORTNAME= gtk-engines2
+PORTVERSION= 2.11.0
+CATEGORIES= x11-themes
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Theme engine for the gtk+-2.0 toolkit
+
+CONFLICTS= gtk-smooth-engine-[0-9]* clearlooks-[0-9]*
+
+USE_GMAKE= yes
+USE_BZIP2= yes
+USE_GNOME= gnomehack gtk20
+USE_GETTEXT= yes
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+
+.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
+
+# Disable the gtk1 theme.
+post-patch:
+ @${REINPLACE_CMD} -e 's|gtk gtk-2.0|gtk-2.0|g' \
+ ${WRKSRC}/themes/Redmond/Makefile.in
+
+.include <bsd.port.mk>