aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-05-30 11:11:45 +0800
committerlioux <lioux@FreeBSD.org>2001-05-30 11:11:45 +0800
commit3fc02546cec7474b8e0db4ae57f645be5e7630ca (patch)
tree9af753d6433074c33a2635675a65e2a284567618 /sysutils
parent3657af8704737885124ff424272e1129ef39a326 (diff)
downloadfreebsd-ports-gnome-3fc02546cec7474b8e0db4ae57f645be5e7630ca.tar.gz
freebsd-ports-gnome-3fc02546cec7474b8e0db4ae57f645be5e7630ca.tar.zst
freebsd-ports-gnome-3fc02546cec7474b8e0db4ae57f645be5e7630ca.zip
New port: Window Maker dockapp that displays cpu load and a realtime
3d object Submitted by: Patrick Li <pat@databits.net>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/wmcube/Makefile33
-rw-r--r--sysutils/wmcube/distinfo1
-rw-r--r--sysutils/wmcube/files/patch-Makefile.FREEBSD22
-rw-r--r--sysutils/wmcube/pkg-comment1
-rw-r--r--sysutils/wmcube/pkg-descr8
-rw-r--r--sysutils/wmcube/pkg-plist6
7 files changed, 72 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 5927f60549fe..969da05204fa 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -152,6 +152,7 @@
SUBDIR += wmavgload
SUBDIR += wmbattery
SUBDIR += wmcpuload
+ SUBDIR += wmcube
SUBDIR += wmfire
SUBDIR += wmfsm
SUBDIR += wmhm
diff --git a/sysutils/wmcube/Makefile b/sysutils/wmcube/Makefile
new file mode 100644
index 000000000000..0d2dc566b14a
--- /dev/null
+++ b/sysutils/wmcube/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: wmcube
+# Date created: Mon May 28 02:14:47 EDT 2001
+# Whom: Patrick Li <pat@databits.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wmcube
+PORTVERSION= 0.98
+CATEGORIES= sysutils windowmaker
+MASTER_SITES= http://boombox.campus.luth.se/files/
+
+MAINTAINER= pat@databits.net
+
+WRKSRC= ${WRKDIR}/${PORTNAME}/${PORTNAME}
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+
+do-configure:
+ @${SED} -e "s|/usr/X11R6/|${X11BASE}/|" \
+ ${WRKSRC}/Makefile.FREEBSD > \
+ ${WRKSRC}/Makefile
+
+post-install:
+.ifndef(NOPORTDOCS)
+ @${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 555 \
+ ${PREFIX}/share/doc/${PORTNAME}
+.for file in CHANGES COPYING README TODO
+ @${INSTALL_DATA} ${WRKSRC}/../${file} ${PREFIX}/share/doc/${PORTNAME}
+.endfor
+.endif # !NOPORTDOCS
+
+.include <bsd.port.mk>
diff --git a/sysutils/wmcube/distinfo b/sysutils/wmcube/distinfo
new file mode 100644
index 000000000000..57bb11d39a48
--- /dev/null
+++ b/sysutils/wmcube/distinfo
@@ -0,0 +1 @@
+MD5 (wmcube-0.98.tar.gz) = efc6f484c53f0a98a76925a6e1a74cd3
diff --git a/sysutils/wmcube/files/patch-Makefile.FREEBSD b/sysutils/wmcube/files/patch-Makefile.FREEBSD
new file mode 100644
index 000000000000..2158f665c7ac
--- /dev/null
+++ b/sysutils/wmcube/files/patch-Makefile.FREEBSD
@@ -0,0 +1,22 @@
+--- Makefile.FREEBSD.orig Tue May 29 15:20:30 2001
++++ Makefile.FREEBSD Tue May 29 15:22:08 2001
+@@ -9,7 +9,7 @@
+
+ OSLIBS = -lkvm
+ LIBS = -lXpm -lXext -lX11 -lm $(OSLIBS)
+-CFLAGS = -Wall -O2 $(OS)
++CFLAGS += -Wall $(OS)
+
+ OBJS = wmcube.o \
+ ../wmgeneral/wmgeneral.o \
+@@ -32,7 +32,7 @@
+ rm -f *~
+
+ install:: wmcube
+- cp -f wmcube /usr/local/bin/
+- chmod g+s /usr/local/bin/wmcube
+- chown root.kmem /usr/local/bin/wmcube
++ $(BSD_INSTALL_PROGRAM) wmcube $(PREFIX)/bin/
++ chown root.kmem $(PREFIX)/bin/wmcube
++ chmod g+s $(PREFIX)/bin/wmcube
+ @echo "wmCube installation finished..."
diff --git a/sysutils/wmcube/pkg-comment b/sysutils/wmcube/pkg-comment
new file mode 100644
index 000000000000..fa53b7555daf
--- /dev/null
+++ b/sysutils/wmcube/pkg-comment
@@ -0,0 +1 @@
+Window Maker dockapp that displays cpu load and a realtime 3d object
diff --git a/sysutils/wmcube/pkg-descr b/sysutils/wmcube/pkg-descr
new file mode 100644
index 000000000000..43e0a2d9003a
--- /dev/null
+++ b/sysutils/wmcube/pkg-descr
@@ -0,0 +1,8 @@
+wmCube is a dockapp that displays a realtime rotating 3d-object
+and the current cpu-load. The cpu-load also makes the object spin
+faster/slower. You can zoom in and out by clicking on the dockapp.
+
+WWW: http://boombox.campus.luth.se/wmcube.php
+Author: Robert Kling <robkli-8@student.luth.se>
+
+- Patrick Li <pat@databits.net>
diff --git a/sysutils/wmcube/pkg-plist b/sysutils/wmcube/pkg-plist
new file mode 100644
index 000000000000..067d58cb9022
--- /dev/null
+++ b/sysutils/wmcube/pkg-plist
@@ -0,0 +1,6 @@
+bin/wmcube
+%%PORTDOCS%%share/doc/wmcube/CHANGES
+%%PORTDOCS%%share/doc/wmcube/COPYING
+%%PORTDOCS%%share/doc/wmcube/README
+%%PORTDOCS%%share/doc/wmcube/TODO
+%%PORTDOCS%%@dirrm share/doc/wmcube