1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

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>
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2001-10-10 02:50:21 +00:00
parent 54f1c82cc1
commit 67fe376f99
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48638
7 changed files with 64 additions and 0 deletions

View File

@ -184,6 +184,7 @@
SUBDIR += wmmount
SUBDIR += wmpccard
SUBDIR += wmtop
SUBDIR += wmzazof
SUBDIR += xbatt
SUBDIR += xbattbar
SUBDIR += xcdroast

27
sysutils/wmzazof/Makefile Normal file
View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (wmzazof-0.3.tar.gz) = 9b6258e7b9f571ea9185fe7ebbe99a49

View File

@ -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

View File

@ -0,0 +1 @@
A simple dockapp that displays the uptime, free and used memory

View File

@ -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>

View File

@ -0,0 +1,3 @@
bin/wmzazof
%%PORTDOCS%%share/doc/wmzazof/README
%%PORTDOCS%%@dirrm share/doc/wmzazof