aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/muffin/Makefile
blob: bfd7224d7e9f6a829e745ecc2548ec131283cfd3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
# $FreeBSD$

PORTNAME=   muffin
PORTVERSION=    2.4.4
CATEGORIES= x11-wm gnome
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Compositing window manager forked from Mutter for use with Cinnamon

BUILD_DEPENDS=  zenity>=3.0.0:x11/zenity \
        gnome-autogen.sh:devel/gnome-common \
        gsettings-desktop-schemas>=3.4.0:devel/gsettings-desktop-schemas
LIB_DEPENDS=    libstartup-notification-1.so:x11/startup-notification \
        libclutter-glx-1.0.so:graphics/clutter \
        libcanberra-gtk3.so:audio/libcanberra-gtk3 \
        libcinnamon-desktop.so:x11/cinnamon-desktop
RUN_DEPENDS=    zenity>=3.0.0:x11/zenity

USES=       autoreconf:build execinfo gettext libtool gmake \
        pathfix pkgconfig python:2
USE_GITHUB= yes
GH_ACCOUNT= linuxmint
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>