Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2001 17:17:36 +0200 (SAST)
From:      Peter van Heusden <pvh@egenetics.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28637: New-port: gkrellweather: GKrellM plugin which shows weather info from the US National Weather Service
Message-ID:  <200107021517.f62FHaR96729@industrial.egenetics.com>

next in thread | raw e-mail | index | archive | help

>Number:         28637
>Category:       ports
>Synopsis:       New-port: gkrellweather: GKrellM plugin which shows weather info from the US National Weather Service
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 02 08:20:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Peter van Heusden
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Electric Genetics
>Environment:
System: FreeBSD industrial.egenetics.com 4.3-STABLE FreeBSD 4.3-STABLE #0: Tue Jun 26 13:03:48 SAST 2001 pvh@industrial.egenetics.com:/usr/src/sys/compile/MINIMAL i386


	
>Description:
GKrellM plugin which shows weather info from the US National Weather Service

Features
 - Choose your own location by 4-letter METAR station identifier code.
 - 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

Author: Franky Lam <franky@frankylam.com>
WWW: http://www.cse.unsw.edu.au/~flam/programs/gkrellweather.html
>How-To-Repeat:
	
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gkrellweather
#	gkrellweather/Makefile
#	gkrellweather/distinfo
#	gkrellweather/files
#	gkrellweather/files/patch-aa
#	gkrellweather/pkg-plist
#	gkrellweather/pkg-comment
#	gkrellweather/pkg-descr
#
echo c - gkrellweather
mkdir -p gkrellweather > /dev/null 2>&1
echo x - gkrellweather/Makefile
sed 's/^X//' >gkrellweather/Makefile << 'END-of-gkrellweather/Makefile'
X# New ports collection makefile for:	gkrellweather
X# Date Created:		2 July 2001
X# Whom:			Peter van Heusden <pvh@egenetics.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gkrellweather
XPORTVERSION=	0.2.7
XCATEGORIES=	misc
XMASTER_SITES=	http://www.cse.unsw.edu.au/~flam/repository/c/gkrellm/
X
XMAINTAINER=	pvh@egenetics.com
X
XBUILD_DEPENDS=	${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm
XRUN_DEPENDS=	gkrellm:${PORTSDIR}/sysutils/gkrellm
XRUN_DEPENDS=	wget:${PORTSDIR}/ftp/wget
X
XALL_TARGET=	gkrellweather.so
XUSE_X_PREFIX=	yes
XUSE_IMLIB=	yes
X
Xdo-install:
X	${MKDIR} ${PREFIX}/libexec/gkrellm/plugins
X	${INSTALL_PROGRAM} ${WRKSRC}/gkrellweather.so ${PREFIX}/libexec/gkrellm/plugins
X	${INSTALL_SCRIPT} ${WRKSRC}/GrabWeather ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-gkrellweather/Makefile
echo x - gkrellweather/distinfo
sed 's/^X//' >gkrellweather/distinfo << 'END-of-gkrellweather/distinfo'
XMD5 (gkrellweather-0.2.7.tar.gz) = 2e69ff084063bbfba57fdeb42ad628c1
END-of-gkrellweather/distinfo
echo c - gkrellweather/files
mkdir -p gkrellweather/files > /dev/null 2>&1
echo x - gkrellweather/files/patch-aa
sed 's/^X//' >gkrellweather/files/patch-aa << 'END-of-gkrellweather/files/patch-aa'
X*** Makefile.old	Mon Jul  2 15:33:41 2001
X--- Makefile	Mon Jul  2 15:35:54 2001
X***************
X*** 1,11 ****
X! GTK_INCLUDE = `gtk-config --cflags`
X! GTK_LIB = `gtk-config --libs`
X  
X  IMLIB_INCLUDE = `imlib-config --cflags-gdk`
X  IMLIB_LIB = `imlib-config --libs-gdk`
X  
X  
X! FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
X  LIBS = $(GTK_LIB) $(IMLIB_LIB)
X  LFLAGS = -shared
X  
X--- 1,11 ----
X! GTK_INCLUDE = `gtk12-config --cflags`
X! GTK_LIB = `gtk12-config --libs`
X  
X  IMLIB_INCLUDE = `imlib-config --cflags-gdk`
X  IMLIB_LIB = `imlib-config --libs-gdk`
X  
X  
X! FLAGS = -pthread -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
X  LIBS = $(GTK_LIB) $(IMLIB_LIB)
X  LFLAGS = -shared
X  
X***************
X*** 14,20 ****
X  OBJS = gkrellweather.o
X  
X  gkrellweather.so: $(OBJS)
X! 	$(CC) $(OBJS) -o gkrellweather.so $(LFLAGS) $(LIBS)  -lpthread
X  
X  clean:
X  	rm -f *.o core *.so* *.bak *~
X--- 14,20 ----
X  OBJS = gkrellweather.o
X  
X  gkrellweather.so: $(OBJS)
X! 	$(CC) $(OBJS) -o gkrellweather.so $(LFLAGS) $(LIBS)  
X  
X  clean:
X  	rm -f *.o core *.so* *.bak *~
END-of-gkrellweather/files/patch-aa
echo x - gkrellweather/pkg-plist
sed 's/^X//' >gkrellweather/pkg-plist << 'END-of-gkrellweather/pkg-plist'
Xlibexec/gkrellm/plugins/gkrellweather.so
Xbin/GrabWeather
END-of-gkrellweather/pkg-plist
echo x - gkrellweather/pkg-comment
sed 's/^X//' >gkrellweather/pkg-comment << 'END-of-gkrellweather/pkg-comment'
XGKrellM plugin which shows weather info from the US National Weather Service
END-of-gkrellweather/pkg-comment
echo x - gkrellweather/pkg-descr
sed 's/^X//' >gkrellweather/pkg-descr << 'END-of-gkrellweather/pkg-descr'
XGKrellM plugin which shows weather info from the US National Weather Service
X
XFeatures
X - Choose your own location by 4-letter METAR station identifier code.
X - Monitor temperature, dew point, pressure, relative humidity, 
X   sky condition, wind direction and speed
X - Display using imperial units (degrees Fareheight, inches of Mercury, 
X   miles per hour)
X - Display using metric units (degrees Celsius, millimeters of Mercury, 
X   kilometers per hour)
X - Display pressure in kPa, hPa and mmHg
X - Display wind speeds in kmph, mps and beaufort scale
X
XAuthor: Franky Lam <franky@frankylam.com>
XWWW: http://www.cse.unsw.edu.au/~flam/programs/gkrellweather.html
END-of-gkrellweather/pkg-descr
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107021517.f62FHaR96729>