From owner-freebsd-ports Mon Jul 2 8:20:19 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E500137B407 for ; Mon, 2 Jul 2001 08:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f62FK2771996; Mon, 2 Jul 2001 08:20:02 -0700 (PDT) (envelope-from gnats) Received: from fling.sanbi.ac.za (fling.sanbi.ac.za [196.38.142.119]) by hub.freebsd.org (Postfix) with ESMTP id 4785537B401 for ; Mon, 2 Jul 2001 08:17:39 -0700 (PDT) (envelope-from pvh@industrial.egenetics.com) Received: from industrial.egenetics.com ([196.38.142.71] ident=root) by fling.sanbi.ac.za with esmtp (Exim 3.13 #4) id 15H5SC-000E7h-00 for FreeBSD-gnats-submit@freebsd.org; Mon, 02 Jul 2001 17:17:36 +0200 Received: (from root@localhost) by industrial.egenetics.com (8.11.4/8.11.4) id f62FHaR96729; Mon, 2 Jul 2001 17:17:36 +0200 (SAST) (envelope-from pvh) Message-Id: <200107021517.f62FHaR96729@industrial.egenetics.com> Date: Mon, 2 Jul 2001 17:17:36 +0200 (SAST) From: Peter van Heusden Reply-To: Peter van Heusden To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/28637: New-port: gkrellweather: GKrellM plugin which shows weather info from the US National Weather Service Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 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 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 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 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