aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gkrellweather2/Makefile
blob: 46dc40e2c8e4519dde528524b2f3401b14a3b7e7 (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: Jean-Yves Lefort <jylefort@brutele.be>
# $FreeBSD$

PORTNAME=   gkrellweather
PORTVERSION=    2.0.8
CATEGORIES= misc geography
MASTER_SITES=   https://sites.google.com/site/makovick/projects/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Weather plugin for GKrellM

LICENSE=    GPLv2 # (or later)

BUILD_DEPENDS=  ${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
RUN_DEPENDS=    gkrellm:${PORTSDIR}/sysutils/gkrellm2

USES=       gettext gmake pkgconfig tar:tgz
MAKE_ENV=   enable_nls=1
ALL_TARGET= gkrellweather.so

do-install:
    (cd ${WRKSRC} && ${INSTALL_SCRIPT} GrabWeather \
        ${STAGEDIR}${PREFIX}/bin)
    @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
    (cd ${WRKSRC} && ${INSTALL_DATA} gkrellweather.so \
        ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins)
    @${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/ru
    (cd ${WRKSRC}/po && ${INSTALL_DATA} ru.mo \
        ${STAGEDIR}${PREFIX}/share/locale/ru/LC_MESSAGES/gkrellweather.mo)

.include <bsd.port.mk>