1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

o New port of GKrellWeather: a weather plugin for GKrellM

o Port version 0.2.7

PR:		28637
Submitted by:	Patrick Li <pat@databits.net>,
		Peter van Heusden <pvh@egenetics.com>
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2001-07-02 22:56:52 +00:00
parent 2d5bcac2eb
commit c398dcb866
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44662
7 changed files with 90 additions and 0 deletions

View File

@ -62,6 +62,7 @@
SUBDIR += gctpc
SUBDIR += geekcode
SUBDIR += git
SUBDIR += gkrellweather
SUBDIR += gman
SUBDIR += gnomepm
SUBDIR += gnomeuserdocs

View File

@ -0,0 +1,36 @@
# New ports collection makefile for: gkrellweather
# Date Created: Thu Jun 28 01:54:57 EDT 2001
# Whom: Patrick Li <pat@databits.net>
# With help from: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gkrellweather
PORTVERSION= 0.2.7
CATEGORIES= misc
MASTER_SITES= http://www.cse.unsw.edu.au/~flam/repository/c/gkrellm/
MAINTAINER= pat@databits.net
BUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww
USE_X_PREFIX= yes
USE_IMLIB= yes
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
ALL_TARGET= ${PORTNAME}.so
PKGMESSAGE= ${DESCR}
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/GrabWeather ${PREFIX}/bin
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.so \
${PREFIX}/libexec/gkrellm/plugins
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (gkrellweather-0.2.7.tar.gz) = 2e69ff084063bbfba57fdeb42ad628c1

View File

@ -0,0 +1,29 @@
--- Makefile.orig Thu Jun 28 05:04:00 2001
+++ Makefile Thu Jun 28 05:03:38 2001
@@ -1,20 +1,20 @@
-GTK_INCLUDE = `gtk-config --cflags`
-GTK_LIB = `gtk-config --libs`
+GTK_INCLUDE = `$(GTK_CONFIG) --cflags`
+GTK_LIB = `$(GTK_CONFIG) --libs`
IMLIB_INCLUDE = `imlib-config --cflags-gdk`
IMLIB_LIB = `imlib-config --libs-gdk`
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
-LIBS = $(GTK_LIB) $(IMLIB_LIB)
+FLAGS = -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) ${PTHREAD_CFLAGS}
+LIBS = $(GTK_LIB) $(IMLIB_LIB) ${PTHREAD_LIBS}
LFLAGS = -shared
-CC = gcc $(CFLAGS) $(FLAGS)
+CC += $(CFLAGS) $(FLAGS)
OBJS = gkrellweather.o
gkrellweather.so: $(OBJS)
- $(CC) $(OBJS) -o gkrellweather.so $(LFLAGS) $(LIBS) -lpthread
+ $(CC) $(OBJS) -o gkrellweather.so $(LFLAGS) $(LIBS)
clean:
rm -f *.o core *.so* *.bak *~

View File

@ -0,0 +1 @@
GKrellWeather is a weather plugin for GKrellM

View File

@ -0,0 +1,20 @@
GKrellM plugin which shows weather info from the US National Weather
Service
Features
- Choose the location nearest to you by 4-letter METAR station
identifier code. (http://www.nws.noaa.gov/oso/siteloc.shtml)
- Monitor temperature, dew point, pressure, relative humidity, sky
condition, wind direction and speed
- Display using imperial units (degrees Fareheight, inches of
Mercury, miles per hour)
- Display using metric units (degrees Celsius, millimeters of
Mercury, kilometers per hour)
- Display pressure in kPa, hPa and mmHg
- Display wind speeds in kmph, mps and beaufort scale
WWW: http://www.cse.unsw.edu.au/~flam/programs/gkrellweather.html
Author: Franky Lam <franky@frankylam.com>
- Peter van Heusden <pvh@egenetics.com>
- Patrick Li <pat@databits.net>

View File

@ -0,0 +1,2 @@
bin/GrabWeather
libexec/gkrellm/plugins/gkrellweather.so