Lines 1-40
Link Here
|
1 |
# New ports collection makefile for: gkrellweather2 |
1 |
# Created by: Jean-Yves Lefort <jylefort@brutele.be> |
2 |
# Date Created: 24 Nov 2002 |
|
|
3 |
# Whom: Jean-Yves Lefort <jylefort@brutele.be> |
4 |
# |
5 |
# $FreeBSD: head/misc/gkrellweather2/Makefile 322581 2013-07-09 21:26:48Z pav $ |
2 |
# $FreeBSD: head/misc/gkrellweather2/Makefile 322581 2013-07-09 21:26:48Z pav $ |
6 |
# |
|
|
7 |
|
3 |
|
8 |
PORTNAME= gkrellweather |
4 |
PORTNAME= gkrellweather |
9 |
PORTVERSION= 2.0.7 |
5 |
PORTVERSION= 2.0.8 |
10 |
PORTREVISION= 9 |
|
|
11 |
CATEGORIES= misc geography |
6 |
CATEGORIES= misc geography |
12 |
MASTER_SITES= http://makovick.googlepages.com/ |
7 |
MASTER_SITES= https://sites.google.com/site/makovick/projects/ |
13 |
EXTRACT_SUFX= .tgz |
8 |
EXTRACT_SUFX= .tgz |
14 |
|
9 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
10 |
MAINTAINER= ports@FreeBSD.org |
16 |
COMMENT= GKrellWeather is a weather plugin for GKrellM |
11 |
COMMENT= Weather plugin for GKrellM |
|
|
12 |
|
13 |
LICENSE= GPLv2 # (or later) |
17 |
|
14 |
|
18 |
BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2 |
15 |
BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2 |
19 |
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2 |
16 |
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2 |
20 |
|
17 |
|
21 |
USE_GMAKE= yes |
18 |
FETCH_ARGS= -Fpr |
22 |
ALL_TARGET= gkrellweather.so |
|
|
23 |
|
24 |
MAKE_ENV= enable_nls=1 PTHREAD_LIBS=${PTHREAD_LIBS} |
25 |
|
19 |
|
26 |
.include <bsd.port.pre.mk> |
20 |
USES= gettext gmake |
27 |
|
21 |
MAKE_ENV= enable_nls=1 |
28 |
# uses C99 builtin lrintf |
22 |
ALL_TARGET= gkrellweather.so |
29 |
.if ${ARCH} != "amd64" |
|
|
30 |
EXTRA_PATCHES= ${FILESDIR}/extra-patch-lrintf |
31 |
.endif |
32 |
|
23 |
|
33 |
do-install: |
24 |
do-install: |
34 |
${MKDIR} ${PREFIX}/libexec/gkrellm2/plugins |
25 |
(cd ${WRKSRC} && ${INSTALL_SCRIPT} GrabWeather ${PREFIX}/bin) |
35 |
${INSTALL_DATA} ${WRKSRC}/gkrellweather.so ${PREFIX}/libexec/gkrellm2/plugins |
26 |
@${MKDIR} ${PREFIX}/libexec/gkrellm2/plugins |
36 |
${MKDIR} ${PREFIX}/share/locale/ru/ |
27 |
(cd ${WRKSRC} && ${INSTALL_DATA} gkrellweather.so \ |
37 |
${INSTALL_DATA} ${WRKSRC}/po/ru.mo ${PREFIX}/share/locale/ru/LC_MESSAGES/gkrellweather.mo |
28 |
${PREFIX}/libexec/gkrellm2/plugins) |
38 |
${INSTALL_SCRIPT} ${WRKSRC}/GrabWeather ${PREFIX}/bin |
29 |
@${MKDIR} ${PREFIX}/share/locale/ru |
|
|
30 |
(cd ${WRKSRC}/po && ${INSTALL_DATA} ru.mo \ |
31 |
${PREFIX}/share/locale/ru/LC_MESSAGES/gkrellweather.mo) |
39 |
|
32 |
|
40 |
.include <bsd.port.post.mk> |
33 |
.include <bsd.port.mk> |