Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2006 01:00:36 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96478: Update port: sysutils/wmmemmon
Message-ID:  <20060429010036.0c150465.tkato432@yahoo.com>
Resent-Message-ID: <200604281610.k3SGAKWa060041@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96478
>Category:       ports
>Synopsis:       Update port: sysutils/wmmemmon
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 28 16:10:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p15 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Support PLIST_FILES

Remove file:
files/patch-src::Makefile.in
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/sysutils/wmmemmon/Makefile sysutils/wmmemmon/Makefile
--- /usr/ports/sysutils/wmmemmon/Makefile	Mon Apr 24 16:44:29 2006
+++ sysutils/wmmemmon/Makefile	Thu Apr 27 00:46:50 2006
@@ -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 @@
 #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 -urN /usr/ports/sysutils/wmmemmon/files/patch-src::Makefile.in sysutils/wmmemmon/files/patch-src::Makefile.in
--- /usr/ports/sysutils/wmmemmon/files/patch-src::Makefile.in	Mon May 17 11:47:11 2004
+++ sysutils/wmmemmon/files/patch-src::Makefile.in	Thu Jan  1 09:00:00 1970
@@ -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 -urN /usr/ports/sysutils/wmmemmon/pkg-descr sysutils/wmmemmon/pkg-descr
--- /usr/ports/sysutils/wmmemmon/pkg-descr	Mon May 17 11:47:11 2004
+++ sysutils/wmmemmon/pkg-descr	Mon Apr 24 15:33:34 2006
@@ -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 __ A T __ seiichisato __ D O T __ jp>
diff -urN /usr/ports/sysutils/wmmemmon/pkg-plist sysutils/wmmemmon/pkg-plist
--- /usr/ports/sysutils/wmmemmon/pkg-plist	Mon May 17 11:47:11 2004
+++ sysutils/wmmemmon/pkg-plist	Thu Jan  1 09:00:00 1970
@@ -1,4 +0,0 @@
-bin/wmmemmon
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060429010036.0c150465.tkato432>