aboutsummaryrefslogtreecommitdiffstats
path: root/x11/cinnamon-menus/Makefile
blob: 96e42736f6dcd4c2ae6d145e784c0ad715801454 (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
# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
# $FreeBSD$

PORTNAME=   cinnamon-menus
PORTVERSION=    2.4.1
CATEGORIES= x11 gnome
MASTER_SITES=   http://github.com/linuxmint/${PORTNAME}/archive/${PORTVERSION}.tar.gz?dummy=/
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Additional UI API for cinnamon

BUILD_DEPENDS=  gnome-autogen.sh:${PORTSDIR}/devel/gnome-common \
        xkeyboard-config>=0:${PORTSDIR}/x11/xkeyboard-config \
        libxkbfile>=0:${PORTSDIR}/x11/libxkbfile
RUN_DEPENDS=    xkeyboard-config>=0:${PORTSDIR}/x11/xkeyboard-config \
        libxkbfile>=0:${PORTSDIR}/x11/libxkbfile

USES=       autoreconf:build gettext gmake libtool pathfix pkgconfig \
        python:2 tar:xz
USE_GNOME=  gnomemenus3 gnomeprefix gtk30 intlhack \
        introspection:build
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
PATHFIX_MAKEFILEIN= Makefile.am
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip

pre-configure:
    cd ${WRKSRC} && ${SETENV} NOCONFIGURE=yes ${SH} ./autogen.sh

.include <bsd.port.mk>