summaryrefslogtreecommitdiffstats
path: root/net/libgweather/Makefile
blob: 2c56a47a2a2d8ebed0a4d3452b4c6a5d09889cd4 (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
# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
#   $MCom$

PORTNAME=   libgweather
PORTVERSION=    3.12.1
CATEGORIES= net gnome
MASTER_SITES=   GNOME

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Library to accessing online weather informations

BUILD_DEPENDS=  ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme
LIB_DEPENDS=    libsoup-2.4.so:${PORTSDIR}/devel/libsoup
RUN_DEPENDS=    ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme

USES=       gettext gmake libtool:keepla pathfix pkgconfig tar:xz
USE_GNOME=  gnomehier gnomeprefix gtk30 intlhack \
        introspection:build
INSTALLS_ICONS= yes
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
GLIB_SCHEMAS=   org.gnome.GWeather.enums.xml \
        org.gnome.GWeather.gschema.xml

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so.*

.include <bsd.port.mk>