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

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

MAINTAINER= gustau.perez@gmail.com
COMMENT=    Compositing window manager forked from Mutter for use with Cinnamon

BUILD_DEPENDS=  zenity>3.0.0:${PORTSDIR}/x11/zenity3 \
        g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
        gnome-autogen.sh:${PORTSDIR}/devel/gnome-common \
        gsettings-desktop-schemas>=3.4.0:${PORTSDIR}/devel/gsettings-desktop-schemas
LIB_DEPENDS=    startup-notification-1:${PORTSDIR}/x11/startup-notification \
        execinfo:${PORTSDIR}/devel/libexecinfo \
        clutter-glx-1:${PORTSDIR}/graphics/clutter \
        canberra-gtk3:${PORTSDIR}/audio/libcanberra-gtk3
RUN_DEPENDS=    zenity>=3.0.0:${PORTSDIR}/x11/zenity3

USE_GITHUB= yes
GH_ACCOUNT= linuxmint
GH_TAGNAME= 1.7.1
GH_COMMIT=  4b36a9a

USE_XORG=   x11 xext xrandr xcomposite xcursor xinerama ice sm
USE_PYTHON= 2.5+
USES=       gettext pathfix
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool autoconf automake
USE_GNOME=  gnomehier gnomeprefix intlhack gtk30 gconf2
USE_LDCONFIG=   yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ENV=  LIBS="-lexecinfo"
CONFIGURE_ARGS= --enable-compile-warnings=maximum
GLIB_SCHEMAS=   org.cinnamon.muffin.gschema.xml

MAN1=       muffin-message.1 muffin-theme-viewer.1 muffin-window-demo.1 \
        muffin.1

pre-configure:
        @cd ${WRKSRC} && ${SH} autogen.sh

.include <bsd.port.mk>