summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-08-30 04:24:25 +0000
committerlioux <lioux@FreeBSD.org>2001-08-30 04:24:25 +0000
commited949dc01f72bd88915e78af427524f8814c281f (patch)
treeb4f5ef754053771ae12ac14d75d479cb78c7b5c1 /sysutils
parentf2278540a5b2b1efdc96d3951f6d16660b30dbce (diff)
downloadFreeBSD-ports-ed949dc01f72bd88915e78af427524f8814c281f.zip
FreeBSD-ports-ed949dc01f72bd88915e78af427524f8814c281f.tar.gz
New port wmcube version 0.98: wmcube-gdk is a modified version of
the dockapp wmCube PR: 29781 Submitted by: Patrick Li <pat@databits.net>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/wmcube-gdk/Makefile43
-rw-r--r--sysutils/wmcube-gdk/distinfo1
-rw-r--r--sysutils/wmcube-gdk/files/patch-Makefile.FREEBSD35
-rw-r--r--sysutils/wmcube-gdk/files/patch-wmcube.c10
-rw-r--r--sysutils/wmcube-gdk/pkg-comment1
-rw-r--r--sysutils/wmcube-gdk/pkg-descr9
-rw-r--r--sysutils/wmcube-gdk/pkg-message7
-rw-r--r--sysutils/wmcube-gdk/pkg-plist41
9 files changed, 148 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index f2eaa00..23da448 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -174,6 +174,7 @@
SUBDIR += wmbattery
SUBDIR += wmcpuload
SUBDIR += wmcube
+ SUBDIR += wmcube-gdk
SUBDIR += wmfire
SUBDIR += wmfsm
SUBDIR += wmhm
diff --git a/sysutils/wmcube-gdk/Makefile b/sysutils/wmcube-gdk/Makefile
new file mode 100644
index 0000000..78b2e22
--- /dev/null
+++ b/sysutils/wmcube-gdk/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: wmcube-gdk
+# Date created: Thu Aug 16 12:42:18 EDT 2001
+# Whom: Patrick Li <pat@databits.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wmcube
+PORTVERSION= 0.98
+CATEGORIES= sysutils windowmaker
+MASTER_SITES= http://www.ne.jp/asahi/linux/timecop/
+PKGNAMESUFFIX= -gdk
+DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}
+
+MAINTAINER= pat@databits.net
+
+USE_X_PREFIX= yes
+USE_XPM= yes
+USE_GTK= yes
+MAKEFILE= Makefile.FREEBSD
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/wmcube \
+ ${PREFIX}/bin/wmcube-gdk
+ @${CHMOD} g+s ${PREFIX}/bin/wmcube-gdk
+ @${CHOWN} root:kmem ${PREFIX}/bin/wmcube-gdk
+
+post-install:
+.for files in *.wmc
+ @${MKDIR} ${PREFIX}/share/${DISTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/3dObjects/${files} \
+ ${PREFIX}/share/${DISTNAME}
+.endfor
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/${DISTNAME}
+.for file in CHANGES README README.GDK TODO
+ @${INSTALL_DATA} ${WRKSRC}/${file} \
+ ${PREFIX}/share/doc/${DISTNAME}
+.endfor
+.endif #NOPORTDOCS
+ @${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/sysutils/wmcube-gdk/distinfo b/sysutils/wmcube-gdk/distinfo
new file mode 100644
index 0000000..9b4a10e
--- /dev/null
+++ b/sysutils/wmcube-gdk/distinfo
@@ -0,0 +1 @@
+MD5 (wmcube-gdk.tar.gz) = 42f0dc9e44c7cdaebbcea748ee8e4cc1
diff --git a/sysutils/wmcube-gdk/files/patch-Makefile.FREEBSD b/sysutils/wmcube-gdk/files/patch-Makefile.FREEBSD
new file mode 100644
index 0000000..7035695
--- /dev/null
+++ b/sysutils/wmcube-gdk/files/patch-Makefile.FREEBSD
@@ -0,0 +1,35 @@
+--- Makefile.FREEBSD.orig Sun Oct 8 20:38:24 2000
++++ Makefile.FREEBSD Wed Aug 29 15:51:33 2001
+@@ -1,26 +1,21 @@
+-CC = gcc
+ OS = -DFREEBSD
+
+-LIBDIR = -L/usr/X11R6/lib
+-LIBDIR = -L/usr/X11R6/lib
+-INCDIR = -I/usr/X11R6/include
++LIBDIR != ${GTK_CONFIG} --libs
++INCDIR != ${GTK_CONFIG} --cflags
+
+ # Edit OSLIBS as appropriate to include OS specific libraries.
+
+ OSLIBS = -lkvm
+-LIBS = -lXpm -lXext -lX11 -lm $(OSLIBS)
+-CFLAGS = -Wall -O2 $(OS)
++LIBS = -lXpm $(OSLIBS)
++CFLAGS += -Wall $(OS)
+
+-OBJS = wmcube.o \
+- ../wmgeneral/wmgeneral.o \
+- ../wmgeneral/misc.o \
+- ../wmgeneral/list.o
++OBJS = wmcube.o
+
+ .c.o:
+ $(CC) $(CFLAGS) $(INCDIR) -c $< -o $*.o
+
+ wmcube: $(OBJS)
+- $(CC) -o wmcube $(OBJS) -lXext $(LIBDIR) $(LIBS)
++ $(CC) -o wmcube $(OBJS) $(LIBDIR) $(LIBS)
+
+ all:: wmcube
+
diff --git a/sysutils/wmcube-gdk/files/patch-wmcube.c b/sysutils/wmcube-gdk/files/patch-wmcube.c
new file mode 100644
index 0000000..6c8479f
--- /dev/null
+++ b/sysutils/wmcube-gdk/files/patch-wmcube.c
@@ -0,0 +1,10 @@
+--- wmcube.c.orig Thu Aug 16 13:04:38 2001
++++ wmcube.c Thu Aug 16 13:05:00 2001
+@@ -38,7 +38,6 @@
+ #include <math.h>
+
+ /* forgotten includes */
+-#include <getopt.h>
+ #include <dirent.h>
+
+ #include <sys/wait.h>
diff --git a/sysutils/wmcube-gdk/pkg-comment b/sysutils/wmcube-gdk/pkg-comment
new file mode 100644
index 0000000..4dd1ef3
--- /dev/null
+++ b/sysutils/wmcube-gdk/pkg-comment
@@ -0,0 +1 @@
+wmcube-gdk is a modified version of the dockapp wmCube
diff --git a/sysutils/wmcube-gdk/pkg-descr b/sysutils/wmcube-gdk/pkg-descr
new file mode 100644
index 0000000..dd12438
--- /dev/null
+++ b/sysutils/wmcube-gdk/pkg-descr
@@ -0,0 +1,9 @@
+wmcube-gdk is a modified version of wmCube that features much faster
+redraws, significantly lower CPU usage, ability to specify color
+for both flat-shaded and wireframe objects, and transparent CPU
+load / zoom buttons. The roll in sequence of the original wmCube
+has been removed.
+
+WWW: http://www.ne.jp/asahi/linux/timecop/
+
+- Patrick Li <pat@databits.net>
diff --git a/sysutils/wmcube-gdk/pkg-message b/sysutils/wmcube-gdk/pkg-message
new file mode 100644
index 0000000..6c77fc3
--- /dev/null
+++ b/sysutils/wmcube-gdk/pkg-message
@@ -0,0 +1,7 @@
+---------------------------------------------------
+The extra 3d objects are located in:
+ %%PREFIX%%/share/wmcube-gdk
+
+To run wmcube type:
+ wmcube-gdk -o %%PREFIX%%/share/wmcube-gdk &
+---------------------------------------------------
diff --git a/sysutils/wmcube-gdk/pkg-plist b/sysutils/wmcube-gdk/pkg-plist
new file mode 100644
index 0000000..97301b7
--- /dev/null
+++ b/sysutils/wmcube-gdk/pkg-plist
@@ -0,0 +1,41 @@
+bin/wmcube-gdk
+%%PORTDOCS%%share/doc/wmcube-gdk/CHANGES
+%%PORTDOCS%%share/doc/wmcube-gdk/README
+%%PORTDOCS%%share/doc/wmcube-gdk/README.GDK
+%%PORTDOCS%%share/doc/wmcube-gdk/TODO
+share/wmcube-gdk/2planes-solid.wmc
+share/wmcube-gdk/4d.wmc
+share/wmcube-gdk/8star-small.wmc
+share/wmcube-gdk/8star.wmc
+share/wmcube-gdk/ball-solid.wmc
+share/wmcube-gdk/ball.wmc
+share/wmcube-gdk/celtic.wmc
+share/wmcube-gdk/cross.wmc
+share/wmcube-gdk/cross2-solid.wmc
+share/wmcube-gdk/cross2.wmc
+share/wmcube-gdk/cross3-solid.wmc
+share/wmcube-gdk/cross3.wmc
+share/wmcube-gdk/cross4-solid.wmc
+share/wmcube-gdk/crystal.wmc
+share/wmcube-gdk/cube-solid.wmc
+share/wmcube-gdk/cube.wmc
+share/wmcube-gdk/diamond.wmc
+share/wmcube-gdk/dice-solid.wmc
+share/wmcube-gdk/e.wmc
+share/wmcube-gdk/e2.wmc
+share/wmcube-gdk/foo.wmc
+share/wmcube-gdk/gnustep.wmc
+share/wmcube-gdk/hyperpyramid.wmc
+share/wmcube-gdk/jeep.wmc
+share/wmcube-gdk/multicube.wmc
+share/wmcube-gdk/peace.wmc
+share/wmcube-gdk/pyramid.wmc
+share/wmcube-gdk/radioactive.wmc
+share/wmcube-gdk/shield.wmc
+share/wmcube-gdk/spaceshuttle.wmc
+share/wmcube-gdk/spiral.wmc
+share/wmcube-gdk/star.wmc
+share/wmcube-gdk/starcube.wmc
+share/wmcube-gdk/wmlogo.wmc
+@dirrm share/wmcube-gdk
+%%PORTDOCS%%@dirrm share/doc/wmcube-gdk
OpenPOWER on IntegriCloud