aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/wmmemmon
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-04-29 05:44:59 +0800
committerpav <pav@FreeBSD.org>2006-04-29 05:44:59 +0800
commit80a1fef831d6d6b1b1c56b860038a39606b19743 (patch)
tree64daf2b83445ccdd4bba9758997b789222349939 /sysutils/wmmemmon
parent118bf33ba168d86df56ad186f8a24277335592b7 (diff)
downloadfreebsd-ports-gnome-80a1fef831d6d6b1b1c56b860038a39606b19743.tar.gz
freebsd-ports-gnome-80a1fef831d6d6b1b1c56b860038a39606b19743.tar.zst
freebsd-ports-gnome-80a1fef831d6d6b1b1c56b860038a39606b19743.zip
- Update MASTER_SITES, WWW
- Style PR: ports/96478 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'sysutils/wmmemmon')
-rw-r--r--sysutils/wmmemmon/Makefile17
-rw-r--r--sysutils/wmmemmon/files/patch-src::Makefile.in20
-rw-r--r--sysutils/wmmemmon/pkg-descr4
-rw-r--r--sysutils/wmmemmon/pkg-plist4
4 files changed, 14 insertions, 31 deletions
diff --git a/sysutils/wmmemmon/Makefile b/sysutils/wmmemmon/Makefile
index 48e2322960e4..e4ccd6695106 100644
--- a/sysutils/wmmemmon/Makefile
+++ b/sysutils/wmmemmon/Makefile
@@ -8,7 +8,7 @@
PORTNAME= wmmemmon
PORTVERSION= 1.0.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= Mem/Swap monitoring dockapp for WindowMaker
@@ -16,16 +16,23 @@ COMMENT= Mem/Swap monitoring dockapp for WindowMaker
#USE_BZIP2= yes # ATM the .bz2 distfile is broken.
USE_X_PREFIX= yes
USE_XPM= yes
+USE_GNOME= gnometarget
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --program-prefix=""
MAN1= wmmemmon.1
+PORTDOCS= ChangeLog README
+PLIST_FILES= bin/wmmemmon
+
+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}
- @${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/ChangeLog \
- ${DOCSDIR}
+.for file in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
.endif # !NOPORTDOCS
.include <bsd.port.mk>
diff --git a/sysutils/wmmemmon/files/patch-src::Makefile.in b/sysutils/wmmemmon/files/patch-src::Makefile.in
deleted file mode 100644
index a9161724e8b7..000000000000
--- a/sysutils/wmmemmon/files/patch-src::Makefile.in
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/Makefile.in.orig Sat Mar 8 22:36:57 2003
-+++ src/Makefile.in Sun Mar 30 10:44:25 2003
-@@ -91,7 +91,7 @@
- INCLUDES = @HEADER_SEARCH_PATH@
-
-
--CFLAGS = @DFLAGS@ @CFLAGS@ -I../libdockapp/
-+CFLAGS += -I../libdockapp/ @DFLAGS@ @CFLAGS@
-
- wmmemmon_LDADD = dockapp.o @LIBRARY_SEARCH_PATH@ @XLIBS@
-
-@@ -112,7 +112,7 @@
- X_PRE_LIBS = @X_PRE_LIBS@
- wmmemmon_OBJECTS = main.o mem_@OS@.o
- wmmemmon_LDFLAGS =
--COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-+COMPILE = $(CC) $(DEFS) $(CFLAGS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
- CCLD = $(CC)
- LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
- DIST_COMMON = Makefile.am Makefile.in
diff --git a/sysutils/wmmemmon/pkg-descr b/sysutils/wmmemmon/pkg-descr
index 6e0706d2d206..26273080b88f 100644
--- a/sysutils/wmmemmon/pkg-descr
+++ b/sysutils/wmmemmon/pkg-descr
@@ -1,5 +1,5 @@
Mem/Swap monitoring dockapp for WindowMaker.
Outside circle is Mem usage in percent. Inside is swap.
-WWW: http://www.sh.rim.or.jp/~ssato/dockapp/index.shtml#wmmemmon
-Author: Seiichi SATO <ssato@sh.rim.or.jp>
+WWW: http://seiichisato.jp/dockapps/#wmmemmon
+Author: Seiichi SATO <me@seiichisato.jp>
diff --git a/sysutils/wmmemmon/pkg-plist b/sysutils/wmmemmon/pkg-plist
deleted file mode 100644
index 52aca5a021a1..000000000000
--- a/sysutils/wmmemmon/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/wmmemmon
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%