Tweak x11/cinnamon-menus version 2.4.1
[dports.git] / x11 / cinnamon-session / Makefile
1 # Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
2 # $FreeBSD$
3
4 PORTNAME=       cinnamon-session
5 PORTVERSION=    2.4.3
6 PORTREVISION=   1
7 CATEGORIES=     x11 gnome
8 DIST_SUBDIR=    gnome3
9
10 MAINTAINER=     gnome@FreeBSD.org
11 COMMENT=        Session component for the cinnamon desktop
12
13 BUILD_DEPENDS=  gnome-autogen.sh:devel/gnome-common
14 LIB_DEPENDS=    libdbus-glib-1.so:devel/dbus-glib \
15                 libjson-glib-1.0.so:devel/json-glib \
16                 libupower-glib.so:sysutils/upower \
17                 libcanberra.so:audio/libcanberra
18 RUN_DEPENDS=    console-kit-daemon:sysutils/consolekit \
19                 xdpyinfo:x11/xdpyinfo
20
21 USES=           autoreconf:build execinfo gettext gmake libtool \
22                 pathfix pkgconfig tar:xz
23 USE_GITHUB=     yes
24 GH_ACCOUNT=     linuxmint
25 USE_GNOME=      gnomeprefix gtk30 intlhack
26 USE_XORG=       ice sm xau xext xtst xrender xtrans xcomposite
27 USE_GL=         gl
28 INSTALLS_ICONS= yes
29 GNU_CONFIGURE=  yes
30 CONFIGURE_ARGS= --disable-docbook-docs
31 CPPFLAGS+=      -I${LOCALBASE}/include -Wno-error=format-nonliteral -Wno-error=implicit-function-declaration
32 CFLAGS+=        -I${LOCALBASE}/include -Wno-error=format-nonliteral -Wno-error=implicit-function-declaration
33 LDFLAGS+=       -L${LOCALBASE}/lib
34 INSTALL_TARGET= install-strip
35
36 GLIB_SCHEMAS=   org.cinnamon.SessionManager.gschema.xml
37
38 pre-configure:
39         cd ${WRKSRC} && ${SETENV} NOCONFIGURE=yes ${SH} ./autogen.sh
40
41 .include <bsd.port.mk>