aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/muffin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/muffin/Makefile')
-rw-r--r--x11-wm/muffin/Makefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/x11-wm/muffin/Makefile b/x11-wm/muffin/Makefile
new file mode 100644
index 000000000000..ccc204f8c990
--- /dev/null
+++ b/x11-wm/muffin/Makefile
@@ -0,0 +1,49 @@
+# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
+# $FreeBSD$
+# $MCom: ports/trunk/x11-wm/muffin/Makefile 20031 2014-11-02 21:47:55Z kwm $
+
+PORTNAME= muffin
+PORTVERSION= 2.2.6
+PORTREVISION= 1
+CATEGORIES= x11-wm gnome
+MASTER_SITES= http://github.com/linuxmint/${PORTNAME}/archive/${PORTVERSION}.tar.gz?dummy=/
+DIST_SUBDIR= gnome3
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Compositing window manager forked from Mutter for use with Cinnamon
+
+BUILD_DEPENDS= zenity>=3.0.0:${PORTSDIR}/x11/zenity \
+ gnome-autogen.sh:${PORTSDIR}/devel/gnome-common \
+ gsettings-desktop-schemas>=3.4.0:${PORTSDIR}/devel/gsettings-desktop-schemas
+LIB_DEPENDS= libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification \
+ libclutter-glx-1.0.so:${PORTSDIR}/graphics/clutter \
+ libcanberra-gtk3.so:${PORTSDIR}/audio/libcanberra-gtk3 \
+ libcinnamon-desktop.so:${PORTSDIR}/x11/cinnamon-desktop
+RUN_DEPENDS= zenity>=3.0.0:${PORTSDIR}/x11/zenity
+
+USES= autoreconf:build execinfo gettext libtool gmake \
+ pathfix pkgconfig python:2
+USE_GNOME= gconf2 gnomedocutils gnomeprefix gtk30 \
+ intlhack introspection:build
+USE_XORG= x11 xext xrandr xcomposite xcursor xinerama ice sm
+USE_LDCONFIG= yes
+USE_CSTD= gnu89
+GNU_CONFIGURE= yes
+CPPFLAGS+= -I${LOCALBASE}/include -Wno-error=unused-function
+CFLAGS+= -I${LOCALBASE}/include -Wno-error=unused-function
+LDFLAGS+= -L${LOCALBASE}/lib
+PATHFIX_MAKEFILEIN= Makefile.am
+CONFIGURE_ENV= LIBS="-lexecinfo"
+CONFIGURE_ARGS= --enable-compile-warnings=maximum
+MAKE_ARGS= V=1
+GLIB_SCHEMAS= org.cinnamon.muffin.gschema.xml
+INSTALL_TARGET= install-strip
+
+pre-configure:
+ @cd ${WRKSRC} && ${SETENV} NOCONFIGURE=yes ${SH} autogen.sh
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|REQUIRED_AUTOMAKE_VERSION=1.10|REQUIRED_AUTOMAKE_VERSION=1.14|g' \
+ ${WRKSRC}/autogen.sh
+
+.include <bsd.port.mk>