From e85cd4ec40eadd36180c0a352fab3c01b5e48c8a Mon Sep 17 00:00:00 2001 From: sobomax Date: Wed, 30 May 2001 19:34:49 +0000 Subject: - Add windowmaker as a secondary category; - install documentation. PR: 27771 Submitted by: maintainer --- sysutils/wmcpuload/Makefile | 11 ++++++++++- sysutils/wmcpuload/pkg-descr | 1 + sysutils/wmcpuload/pkg-plist | 3 +++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/sysutils/wmcpuload/Makefile b/sysutils/wmcpuload/Makefile index fab51856958d..0a506d6fb8d0 100644 --- a/sysutils/wmcpuload/Makefile +++ b/sysutils/wmcpuload/Makefile @@ -7,7 +7,7 @@ PORTNAME= wmcpuload PORTVERSION= 0.1.1 -CATEGORIES= sysutils +CATEGORIES= sysutils windowmaker MASTER_SITES= http://www.sh.rim.or.jp/~ssato/src/ \ http://ports.tolkien.dk/ DISTNAME= WMCPULoad-${PORTVERSION} @@ -25,4 +25,13 @@ USE_GMAKE= yes NO_INSTALL_MANPAGES= yes +.ifndef(NOPORTDOCS) +post-install: + ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 555 \ + ${PREFIX}/share/doc/${PORTNAME} +.for file in README TODO + ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/${PORTNAME} +.endfor +.endif # !NOPORTDOCS + .include diff --git a/sysutils/wmcpuload/pkg-descr b/sysutils/wmcpuload/pkg-descr index 18c21b9f90a6..c7b80fe3bebe 100644 --- a/sysutils/wmcpuload/pkg-descr +++ b/sysutils/wmcpuload/pkg-descr @@ -2,6 +2,7 @@ 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/wmcpuload-e.html +Author: Seiichi SATO - Soeren Boll Overgaard boll@tolkien.dk diff --git a/sysutils/wmcpuload/pkg-plist b/sysutils/wmcpuload/pkg-plist index e04b7ec69b6c..39389058ffbc 100644 --- a/sysutils/wmcpuload/pkg-plist +++ b/sysutils/wmcpuload/pkg-plist @@ -1 +1,4 @@ bin/wmcpuload +%%PORTDOCS%%share/doc/wmcpuload/README +%%PORTDOCS%%share/doc/wmcpuload/TODO +%%PORTDOCS%%@dirrm share/doc/wmcpuload -- cgit