diff options
author | lioux <lioux@FreeBSD.org> | 2001-07-03 06:56:52 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-07-03 06:56:52 +0800 |
commit | 56993e0ce73e521b3ffe7753de68fd4f0b4f85c6 (patch) | |
tree | c7e87d6ed1806f989ab450fce4d5bb64825e74a9 /misc | |
parent | db67981e7480813b53a44287748d9ffc3582f5d8 (diff) | |
download | freebsd-ports-gnome-56993e0ce73e521b3ffe7753de68fd4f0b4f85c6.tar.gz freebsd-ports-gnome-56993e0ce73e521b3ffe7753de68fd4f0b4f85c6.tar.zst freebsd-ports-gnome-56993e0ce73e521b3ffe7753de68fd4f0b4f85c6.zip |
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>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/gkrellweather/Makefile | 36 | ||||
-rw-r--r-- | misc/gkrellweather/distinfo | 1 | ||||
-rw-r--r-- | misc/gkrellweather/files/patch-Makefile | 29 | ||||
-rw-r--r-- | misc/gkrellweather/pkg-comment | 1 | ||||
-rw-r--r-- | misc/gkrellweather/pkg-descr | 20 | ||||
-rw-r--r-- | misc/gkrellweather/pkg-plist | 2 |
7 files changed, 90 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index 276015c92762..9922664b5436 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -62,6 +62,7 @@ SUBDIR += gctpc SUBDIR += geekcode SUBDIR += git + SUBDIR += gkrellweather SUBDIR += gman SUBDIR += gnomepm SUBDIR += gnomeuserdocs diff --git a/misc/gkrellweather/Makefile b/misc/gkrellweather/Makefile new file mode 100644 index 000000000000..bab97daa1b8c --- /dev/null +++ b/misc/gkrellweather/Makefile @@ -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> diff --git a/misc/gkrellweather/distinfo b/misc/gkrellweather/distinfo new file mode 100644 index 000000000000..00537afdc6b5 --- /dev/null +++ b/misc/gkrellweather/distinfo @@ -0,0 +1 @@ +MD5 (gkrellweather-0.2.7.tar.gz) = 2e69ff084063bbfba57fdeb42ad628c1 diff --git a/misc/gkrellweather/files/patch-Makefile b/misc/gkrellweather/files/patch-Makefile new file mode 100644 index 000000000000..940df5c5104e --- /dev/null +++ b/misc/gkrellweather/files/patch-Makefile @@ -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 *~ diff --git a/misc/gkrellweather/pkg-comment b/misc/gkrellweather/pkg-comment new file mode 100644 index 000000000000..2fef15951816 --- /dev/null +++ b/misc/gkrellweather/pkg-comment @@ -0,0 +1 @@ +GKrellWeather is a weather plugin for GKrellM diff --git a/misc/gkrellweather/pkg-descr b/misc/gkrellweather/pkg-descr new file mode 100644 index 000000000000..6d5acb621196 --- /dev/null +++ b/misc/gkrellweather/pkg-descr @@ -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> diff --git a/misc/gkrellweather/pkg-plist b/misc/gkrellweather/pkg-plist new file mode 100644 index 000000000000..5b3a386b1eae --- /dev/null +++ b/misc/gkrellweather/pkg-plist @@ -0,0 +1,2 @@ +bin/GrabWeather +libexec/gkrellm/plugins/gkrellweather.so |