summaryrefslogtreecommitdiffstats
path: root/x11-wm/muffin/Makefile
blob: 1532efccdca53351e1333ba7e7a9b308f68bcd75 (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
# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
# $FreeBSD$
#    $MCom$

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=  zenity3>=3.0.0:${PORTSDIR}/x11/zenity3 \
        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=    zenity3>=3.0.0:${PORTSDIR}/x11/zenity3

USES=       execinfo gettext libtool gmake pathfix pkgconfig
USE_GNOME=  gconf2 gnomedocutils gnomehier gnomeprefix gtk30 \
        introspection:build
USE_AUTOTOOLS=  libtoolize autoconf automake
USE_XORG=   x11 xext xrandr xcomposite xcursor xinerama ice sm
USE_PYTHON= yes
USE_LDCONFIG=   yes
USE_CSTD=   gnu89
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
PATHFIX_MAKEFILEIN= Makefile.am
CONFIGURE_ENV=  LIBS="-lexecinfo"
CONFIGURE_ARGS= --enable-compile-warnings=maximum
GLIB_SCHEMAS=   org.cinnamon.muffin.gschema.xml
INSTALL_TARGET= install-strip

pre-configure:
        @cd ${WRKSRC} && ${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>