2002-11-24 05:14:55 +01:00
|
|
|
# New ports collection makefile for: gkrellweather2
|
|
|
|
# Date Created: 24 Nov 2002
|
|
|
|
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gkrellweather
|
2005-03-02 00:35:17 +01:00
|
|
|
PORTVERSION= 2.0.7
|
2002-11-24 05:14:55 +01:00
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= http://kmlinux.fjfi.cvut.cz/~makovick/gkrellm/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2004-03-08 23:03:54 +01:00
|
|
|
MAINTAINER= pav@FreeBSD.org
|
2003-02-21 13:51:06 +01:00
|
|
|
COMMENT= GKrellWeather is a weather plugin for GKrellM
|
2002-11-24 05:14:55 +01:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
|
2005-03-02 00:35:17 +01:00
|
|
|
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
|
2002-11-24 05:14:55 +01:00
|
|
|
|
2003-07-22 15:32:52 +02:00
|
|
|
USE_GMAKE= yes
|
2002-11-24 05:14:55 +01:00
|
|
|
USE_X_PREFIX= yes
|
2003-07-22 15:32:52 +02:00
|
|
|
ALL_TARGET= gkrellweather.so
|
2002-11-24 05:14:55 +01:00
|
|
|
|
2003-07-22 15:32:52 +02:00
|
|
|
MAKE_ENV= enable_nls=1 PTHREAD_LIBS=${PTHREAD_LIBS}
|
|
|
|
|
2005-03-02 00:35:17 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
# uses C99 builtin lrintf
|
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
EXTRA_PATCHES= ${FILESDIR}/extra-patch-lrintf
|
|
|
|
.endif
|
|
|
|
|
2003-07-22 15:32:52 +02:00
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/libexec/gkrellm2/plugins
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gkrellweather.so ${PREFIX}/libexec/gkrellm2/plugins
|
|
|
|
${MKDIR} ${PREFIX}/share/locale/ru/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/ru.mo ${PREFIX}/share/locale/ru/LC_MESSAGES/gkrellweather.mo
|
2005-03-02 00:35:17 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/GrabWeather ${PREFIX}/bin
|
2002-11-24 05:14:55 +01:00
|
|
|
|
2005-03-02 00:35:17 +01:00
|
|
|
.include <bsd.port.post.mk>
|