aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-05-28 03:03:50 +0800
committersobomax <sobomax@FreeBSD.org>2001-05-28 03:03:50 +0800
commit4c39e9d50f1507e0933726474b4b9afb2f746a47 (patch)
tree33d4f933810874df06ebd377db6137c84a880f97 /x11
parent5d8165d128f3c329e424aaff16411a3d0864fb22 (diff)
downloadfreebsd-ports-graphics-4c39e9d50f1507e0933726474b4b9afb2f746a47.tar.gz
freebsd-ports-graphics-4c39e9d50f1507e0933726474b4b9afb2f746a47.tar.zst
freebsd-ports-graphics-4c39e9d50f1507e0933726474b4b9afb2f746a47.zip
Add temperature.app 1.0, a dockable WindowMaker applet which
displays the local temperature. PR: 27162 Submitted by: Per Otterstr=F6m <pelle@fukt.bth.se>
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/temperature.app/Makefile26
-rw-r--r--x11/temperature.app/distinfo1
-rw-r--r--x11/temperature.app/files/patch-Makefile16
-rw-r--r--x11/temperature.app/pkg-comment1
-rw-r--r--x11/temperature.app/pkg-descr8
-rw-r--r--x11/temperature.app/pkg-plist3
7 files changed, 56 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 9e900eac38e..11c329660c5 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -68,6 +68,7 @@
SUBDIR += rxvt-devel
SUBDIR += stockticker_applet
SUBDIR += sxpc
+ SUBDIR += temperature.app
SUBDIR += tkgoodstuff
SUBDIR += tycoon
SUBDIR += wdm
diff --git a/x11/temperature.app/Makefile b/x11/temperature.app/Makefile
new file mode 100644
index 00000000000..fc62422bffc
--- /dev/null
+++ b/x11/temperature.app/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: Temperature.app
+# Date created: 06 May 2001
+# Whom: Per Otterstr=F6m <pelle@fukt.bth.se>
+#
+# $FreeBSD$
+#
+
+PORTNAME= temperature.app
+PORTVERSION= 1.0
+CATEGORIES= x11 windowmaker
+MASTER_SITES= http://www.fukt.bth.se/~per/temperature/
+DISTNAME= Temperature.app-${PORTVERSION}
+
+MAINTAINER= pelle@fukt.bth.se
+
+RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
+
+USE_XPM= yes
+USE_X_PREFIX= yes
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+ ${INSTALL_PROGRAM} ${WRKSRC}/Temperature.app ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/x11/temperature.app/distinfo b/x11/temperature.app/distinfo
new file mode 100644
index 00000000000..e371091193a
--- /dev/null
+++ b/x11/temperature.app/distinfo
@@ -0,0 +1 @@
+MD5 (Temperature.app-1.0.tar.gz) = 9b09c940be3da5eddd6fa95b2b365978
diff --git a/x11/temperature.app/files/patch-Makefile b/x11/temperature.app/files/patch-Makefile
new file mode 100644
index 00000000000..d9c78c40c6a
--- /dev/null
+++ b/x11/temperature.app/files/patch-Makefile
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- Makefile 2001/05/27 11:50:22 1.1
++++ Makefile 2001/05/27 11:51:42
+@@ -7,8 +7,8 @@
+ X11_BINDIR = /usr/X11R6/bin
+
+ CXX=c++
+-CXXFLAGS += -Wall -pedantic -fno-rtti -fno-exceptions -O2 -I/usr/X11R6/include
+-LDFLAGS += -L/usr/X11R6/lib -lXpm -lXext -lX11
++CXXFLAGS += -Wall -pedantic -fno-rtti -fno-exceptions -I$(X11BASE)/include
++LDFLAGS += -L$(X11BASE)/lib -lXpm -lXext -lX11
+
+ OBJECTS = Main.o Temperature.o Xpm.o
+
diff --git a/x11/temperature.app/pkg-comment b/x11/temperature.app/pkg-comment
new file mode 100644
index 00000000000..06568cc8836
--- /dev/null
+++ b/x11/temperature.app/pkg-comment
@@ -0,0 +1 @@
+A dockable WindowMaker applet which displays the local temperature
diff --git a/x11/temperature.app/pkg-descr b/x11/temperature.app/pkg-descr
new file mode 100644
index 00000000000..af6174d0dfb
--- /dev/null
+++ b/x11/temperature.app/pkg-descr
@@ -0,0 +1,8 @@
+Temperature.app is a Window Maker dock application which
+fetches local temperature information every 15 minutes from
+ftp://weather.noaa.gov and displays it (in Celsius or Fahrenheit).
+
+WWW: http://www.fukt.bth.se/~per/temperature/
+
+- Pelle
+pelle@fukt.bth.se
diff --git a/x11/temperature.app/pkg-plist b/x11/temperature.app/pkg-plist
new file mode 100644
index 00000000000..6a2ae648af2
--- /dev/null
+++ b/x11/temperature.app/pkg-plist
@@ -0,0 +1,3 @@
+bin/Temperature.app
+share/doc/temperature.app/README
+@dirrm share/doc/temperature.app