aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/gnome-clocks/Makefile
blob: 64e9c812faf168595aa6667f4645eeec926df066 (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
# Created by: Gustau Perez <gustau.perez@gmail.com>
# $FreeBSD$
#   $MCom: ports/trunk/deskutils/gnome-clocks/Makefile 19980 2014-10-17 06:01:57Z gusi $

PORTNAME=   gnome-clocks
PORTVERSION=    3.14.1
CATEGORIES= deskutils gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Clocks for GNOME 3

BUILD_DEPENDS=  geoclue>=0:${PORTSDIR}/net/geoclue \
        itstool:${PORTSDIR}/textproc/itstool
LIB_DEPENDS=    libcanberra-gtk3.so:${PORTSDIR}/audio/libcanberra-gtk3 \
        libgeocode-glib.so:${PORTSDIR}/net/geocode-glib \
        libgweather-3.so:${PORTSDIR}/net/libgweather
RUN_DEPENDS=    geoclue>=0:${PORTSDIR}/net/geoclue

USES=       gettext gmake libtool pathfix pkgconfig tar:xz
USE_LDCONFIG=   yes
USE_GNOME=  gnomedesktop3 gnomeprefix gtk30 intlhack
GNU_CONFIGURE=  yes
INSTALLS_ICONS= yes
CPPFLAGS+=  -I${LOCALBASE}/include
LIBS+=      -L${LOCALBASE}/lib

post-patch:
# for base gcc on 9.x
    @${REINPLACE_CMD} -e 's|-Wno-unused-but-set-variable||g' \
        ${WRKSRC}/Makefile.in

.include <bsd.port.mk>