aboutsummaryrefslogtreecommitdiff
path: root/sysutils/wmcpuload
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-04-28 21:42:55 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-04-28 21:42:55 +0000
commit9acaea65a0d551ce58ceb7b0758948b325197a92 (patch)
treeeef7e9924ea318f504c71656217266059338193d /sysutils/wmcpuload
parent4e721d4f0e1b74b3ac680bea5c907bb48b3a8a4a (diff)
Notes
Diffstat (limited to 'sysutils/wmcpuload')
-rw-r--r--sysutils/wmcpuload/Makefile18
-rw-r--r--sysutils/wmcpuload/pkg-descr9
-rw-r--r--sysutils/wmcpuload/pkg-plist4
3 files changed, 15 insertions, 16 deletions
diff --git a/sysutils/wmcpuload/Makefile b/sysutils/wmcpuload/Makefile
index a34b9fd6b99e..307293e23dcd 100644
--- a/sysutils/wmcpuload/Makefile
+++ b/sysutils/wmcpuload/Makefile
@@ -9,24 +9,30 @@ PORTNAME= wmcpuload
PORTVERSION= 1.0.1
PORTREVISION= 1
CATEGORIES= sysutils windowmaker
-MASTER_SITES= http://www.sh.rim.or.jp/~ssato/src/
+MASTER_SITES= http://seiichisato.jp/dockapps/src/
MAINTAINER= ports@FreeBSD.org
COMMENT= An "lcd" dockapp for windowmaker, which displays the current cpuload
USE_BZIP2= yes
USE_X_PREFIX= yes
-GNU_CONFIGURE= yes
USE_XPM= yes
-CONFIGURE_ARGS= --program-prefix=""
+USE_GNOME= gnometarget
+GNU_CONFIGURE= yes
MAN1= wmcpuload.1
+PORTDOCS= ChangeLog README
+PLIST_FILES= bin/wmcpuload
+
+post-patch:
+ @${REINPLACE_CMD} -e '/^DEFS/s|-I\.\.$$|-I.. -I../libdockapp/|g ; \
+ /^CFLAGS/s|-I../libdockapp/||g' ${WRKSRC}/src/Makefile.in
post-install:
-.ifndef(NOPORTDOCS)
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in ChangeLog README
- @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.for file in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif # !NOPORTDOCS
diff --git a/sysutils/wmcpuload/pkg-descr b/sysutils/wmcpuload/pkg-descr
index aed158bfd8ec..7eb3e519b199 100644
--- a/sysutils/wmcpuload/pkg-descr
+++ b/sysutils/wmcpuload/pkg-descr
@@ -1,8 +1,5 @@
-This is a port of wmcpuload, which displays the current cpu-load in a
+This is a port of wmcpuload, which displays the current cpu-load in a
simulated lcd-display, which supports background lighting.
-WWW: http://www.sh.rim.or.jp/~ssato/dockapp/index.shtml#wmcpuload
-Author: Seiichi SATO <ssato@sh.rim.or.jp>
-
-- Soeren Boll Overgaard
-boll@tolkien.dk
+WWW: http://seiichisato.jp/dockapps/#wmmemmon
+Author: Seiichi SATO <me@seiichisato.jp>
diff --git a/sysutils/wmcpuload/pkg-plist b/sysutils/wmcpuload/pkg-plist
deleted file mode 100644
index 775016ee99e7..000000000000
--- a/sysutils/wmcpuload/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/wmcpuload
-%%PORTDOCS%%share/doc/wmcpuload/ChangeLog
-%%PORTDOCS%%share/doc/wmcpuload/README
-%%PORTDOCS%%@dirrm share/doc/wmcpuload