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
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 5
|
2007-07-22 21:33:55 +02:00
|
|
|
CATEGORIES= misc geography
|
2008-03-01 23:30:50 +01:00
|
|
|
MASTER_SITES= http://makovick.googlepages.com/
|
2002-11-24 05:14:55 +01:00
|
|
|
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
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/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
|
|
|
|
ALL_TARGET= gkrellweather.so
|
2002-11-24 05:14:55 +01:00
|
|
|
|
2008-07-25 14:24:09 +02:00
|
|
|
MAKE_ENV= enable_nls=1 PTHREAD_LIBS=${PTHREAD_LIBS}
|
2003-07-22 15:32:52 +02:00
|
|
|
|
2005-03-02 00:35:17 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
# uses C99 builtin lrintf
|
2005-03-02 15:40:48 +01:00
|
|
|
.if ${ARCH} != "amd64"
|
2005-03-02 00:35:17 +01:00
|
|
|
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>
|