diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-08-30 04:24:25 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-08-30 04:24:25 +0000 |
commit | 425e7ed25763760534c5afd010ccc41bec9c723d (patch) | |
tree | 3fb4bd28a7af1f87df97d2e5bb8419419023a3d9 /sysutils/wmcube-gdk | |
parent | f7ddb400f8e8def743f283aadcfbd16241594a1e (diff) | |
download | ports-425e7ed25763760534c5afd010ccc41bec9c723d.tar.gz ports-425e7ed25763760534c5afd010ccc41bec9c723d.zip |
Notes
Diffstat (limited to 'sysutils/wmcube-gdk')
-rw-r--r-- | sysutils/wmcube-gdk/Makefile | 43 | ||||
-rw-r--r-- | sysutils/wmcube-gdk/distinfo | 1 | ||||
-rw-r--r-- | sysutils/wmcube-gdk/files/patch-Makefile.FREEBSD | 35 | ||||
-rw-r--r-- | sysutils/wmcube-gdk/files/patch-wmcube.c | 10 | ||||
-rw-r--r-- | sysutils/wmcube-gdk/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/wmcube-gdk/pkg-descr | 9 | ||||
-rw-r--r-- | sysutils/wmcube-gdk/pkg-message | 7 | ||||
-rw-r--r-- | sysutils/wmcube-gdk/pkg-plist | 41 |
8 files changed, 147 insertions, 0 deletions
diff --git a/sysutils/wmcube-gdk/Makefile b/sysutils/wmcube-gdk/Makefile new file mode 100644 index 000000000000..78b2e22ab839 --- /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 000000000000..9b4a10ebb697 --- /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 000000000000..703569599e23 --- /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 000000000000..6c8479ff0eac --- /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 000000000000..4dd1ef38f2a7 --- /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 000000000000..dd12438ff066 --- /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 000000000000..6c77fc332cdc --- /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 000000000000..97301b796a43 --- /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 |