aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-10-10 10:50:21 +0800
committerlioux <lioux@FreeBSD.org>2001-10-10 10:50:21 +0800
commit8ff11146f723ce4d6aea0fceffdc4f6277e0de13 (patch)
treea6daca1ae59f496f4a7368ca270a9040c72413a2 /sysutils
parent34df8d7fb3b145a743656750c32a9f583724e04d (diff)
downloadfreebsd-ports-gnome-8ff11146f723ce4d6aea0fceffdc4f6277e0de13.tar.gz
freebsd-ports-gnome-8ff11146f723ce4d6aea0fceffdc4f6277e0de13.tar.zst
freebsd-ports-gnome-8ff11146f723ce4d6aea0fceffdc4f6277e0de13.zip
New port wmzazof version 0.3: A simple dockapp that displays the
uptime, free and used memory PR: 31091 Submitted by: Patrick Li <pat@databits.net>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/wmzazof/Makefile27
-rw-r--r--sysutils/wmzazof/distinfo1
-rw-r--r--sysutils/wmzazof/files/patch-Makefile23
-rw-r--r--sysutils/wmzazof/pkg-comment1
-rw-r--r--sysutils/wmzazof/pkg-descr8
-rw-r--r--sysutils/wmzazof/pkg-plist3
7 files changed, 64 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index cd7a15e1cd6c..e967ce53c378 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -184,6 +184,7 @@
SUBDIR += wmmount
SUBDIR += wmpccard
SUBDIR += wmtop
+ SUBDIR += wmzazof
SUBDIR += xbatt
SUBDIR += xbattbar
SUBDIR += xcdroast
diff --git a/sysutils/wmzazof/Makefile b/sysutils/wmzazof/Makefile
new file mode 100644
index 000000000000..9dc17142e23e
--- /dev/null
+++ b/sysutils/wmzazof/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: wmzazof
+# Date created: Sat Oct 6 18:44:32 EDT 2001
+# Whom: Patrick Li <pat@databits.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wmzazof
+PORTVERSION= 0.3
+CATEGORIES= sysutils windowmaker
+MASTER_SITES= http://users.chello.be/cr49940//wmzazof/
+
+MAINTAINER= pat@databits.net
+
+LIB_DEPENDS= dockapp.1:${PORTSDIR}/x11-wm/libdockapp
+
+USE_X_PREFIX= yes
+USE_XPM= yes
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/wmzazof ${PREFIX}/bin
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif #NOPORTDOCS
+
+.include <bsd.port.mk>
diff --git a/sysutils/wmzazof/distinfo b/sysutils/wmzazof/distinfo
new file mode 100644
index 000000000000..9803a347e2a2
--- /dev/null
+++ b/sysutils/wmzazof/distinfo
@@ -0,0 +1 @@
+MD5 (wmzazof-0.3.tar.gz) = 9b6258e7b9f571ea9185fe7ebbe99a49
diff --git a/sysutils/wmzazof/files/patch-Makefile b/sysutils/wmzazof/files/patch-Makefile
new file mode 100644
index 000000000000..0511212d52ce
--- /dev/null
+++ b/sysutils/wmzazof/files/patch-Makefile
@@ -0,0 +1,23 @@
+--- Makefile.orig Sat Oct 6 15:46:35 2001
++++ Makefile Sat Oct 6 18:52:19 2001
+@@ -1,13 +1,15 @@
+-CC = gcc
+-CFLAGS = -O2 -Wall -fomit-frame-pointer -s
+-INCDIR = -I/usr/X11R6/include/X11
+-DESTDIR= /usr/bin
+-LIBDIR = -L/usr/X11R6/lib
++INCDIR = -I${X11BASE}/include/X11 -I${X11BASE}/include
++LIBDIR = -L${X11BASE}/lib
+ LIBS = -ldockapp -lX11 -lXext -lXpm
+ OBJS = wmzazof.o
+
++all: wmzazof
++
+ wmzazof: $(OBJS)
+ $(CC) $(CFLAGS) $(OBJS) -o wmzazof $(INCDIR) $(LIBDIR) $(LIBS)
++
++.c.o:
++ $(CC) -c -o wmzazof.o wmzazof.c $(CFLAGS) $(INCDIR)
+
+ install: wmzazof
+ strip wmzazof
diff --git a/sysutils/wmzazof/pkg-comment b/sysutils/wmzazof/pkg-comment
new file mode 100644
index 000000000000..f97f17f7e868
--- /dev/null
+++ b/sysutils/wmzazof/pkg-comment
@@ -0,0 +1 @@
+A simple dockapp that displays the uptime, free and used memory
diff --git a/sysutils/wmzazof/pkg-descr b/sysutils/wmzazof/pkg-descr
new file mode 100644
index 000000000000..9e26e8434ece
--- /dev/null
+++ b/sysutils/wmzazof/pkg-descr
@@ -0,0 +1,8 @@
+wmzazof is a very simple WindowMaker dockapp that displays the uptime
+(hours, minutes or days), free mem (kB) and used mem (kB). Two modes
+exist for mem used and mem free: with or without cache. At startup
+the dockapp is in uptime mode hours, mem free with cache and mem used
+without cache.
+
+WWW: http://www.zazof.org/wmzazof/
+Author: Jef De Geeter <jef@zazof.org>
diff --git a/sysutils/wmzazof/pkg-plist b/sysutils/wmzazof/pkg-plist
new file mode 100644
index 000000000000..f100b0d280cb
--- /dev/null
+++ b/sysutils/wmzazof/pkg-plist
@@ -0,0 +1,3 @@
+bin/wmzazof
+%%PORTDOCS%%share/doc/wmzazof/README
+%%PORTDOCS%%@dirrm share/doc/wmzazof