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

PORTNAME=   cinnamon-menus
PORTVERSION=    2.2.0
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=       gettext gmake libtool pathfix pkgconfig tar:xz
USE_GNOME=  gnomehier gnomemenus3 gnomeprefix gtk30 intlhack \
        introspection:build
USE_PYTHON= yes
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
USE_AUTOTOOLS=  libtoolize autoconf automake
PATHFIX_MAKEFILEIN= Makefile.am
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip

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

.include <bsd.port.mk>