summaryrefslogtreecommitdiffstats
path: root/deskutils/gnome-shell-extension-openweather/Makefile
blob: ebc48d6b28dc95d38802bb4d2ef3a476d8affd8c (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
# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
# $FreeBSD$
#   $MCom$

PORTNAME=   gnome-shell-extension-openweather
PORTVERSION=    0.0.0.20140520
CATEGORIES= deskutils gnome
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    OpenWeather extension for the GNOME3 shell

BUILD_DEPENDS=  gnome-autogen.sh:${PORTSDIR}/devel/gnome-common \
        gsettings-desktop-schemas>=3.12.0:${PORTSDIR}/devel/gsettings-desktop-schemas
RUN_DEPENDS=    gnome-shell>=0:${PORTSDIR}/x11/gnome-shell \
        gsettings-desktop-schemas>=3.12.0:${PORTSDIR}/devel/gsettings-desktop-schemas

WRKSRC=     ${WRKDIR}/jenslody-gnome-shell-extension-openweather-b20768a

USES=       gettext gmake libtool:keepla pkgconfig tar:xz
USE_GNOME=  glib20 intltool
USE_GITHUB= yes
USE_AUTOTOOLS=  libtoolize autoconf automake
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
GLIB_SCHEMAS=   org.gnome.shell.extensions.openweather.gschema.xml

GH_ACCOUNT= jenslody
GH_PROJECT= gnome-shell-extension-openweather
GH_TAGNAME= b20768a010
GH_COMMIT=  b20768a010

PKGMESSAGE= ../gnome-shell-extra-extensions/pkg-message.slaves

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

.include <bsd.port.mk>