diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-04-28 21:44:59 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-04-28 21:44:59 +0000 |
commit | b64365d14ab27cc3fd8d4ec835ab0294f29f2011 (patch) | |
tree | 7336a446d267585ba158313e54095913bb8ad7e1 /sysutils/wmmemmon | |
parent | 9acaea65a0d551ce58ceb7b0758948b325197a92 (diff) | |
download | ports-b64365d14ab27cc3fd8d4ec835ab0294f29f2011.tar.gz ports-b64365d14ab27cc3fd8d4ec835ab0294f29f2011.zip |
Notes
Diffstat (limited to 'sysutils/wmmemmon')
-rw-r--r-- | sysutils/wmmemmon/Makefile | 17 | ||||
-rw-r--r-- | sysutils/wmmemmon/files/patch-src::Makefile.in | 20 | ||||
-rw-r--r-- | sysutils/wmmemmon/pkg-descr | 4 | ||||
-rw-r--r-- | sysutils/wmmemmon/pkg-plist | 4 |
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%% |