diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-05-19 11:53:14 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-05-19 11:53:14 +0000 |
commit | 9edfa2706ed9a890ea6269484f3cd8776063b693 (patch) | |
tree | ff7c4a3434ed3183d1235c5a403416e1fc9a7783 /sysutils/wmbattery | |
parent | New distfile, hence new checksum. (diff) |
Update to 1.12:
+ use wmbattery_1.12.tar.gz as a distfile instead of a plain wmbattery.tar.gz
to avoid future bento warnings;
+ respect CFLAGS.
Reported by: bento
Notes
Notes:
svn path=/head/; revision=28600
Diffstat (limited to 'sysutils/wmbattery')
-rw-r--r-- | sysutils/wmbattery/Makefile | 8 | ||||
-rw-r--r-- | sysutils/wmbattery/distinfo | 2 | ||||
-rw-r--r-- | sysutils/wmbattery/files/patch-aa | 13 |
3 files changed, 14 insertions, 9 deletions
diff --git a/sysutils/wmbattery/Makefile b/sysutils/wmbattery/Makefile index ff74a40aca42..12f864036b72 100644 --- a/sysutils/wmbattery/Makefile +++ b/sysutils/wmbattery/Makefile @@ -6,18 +6,20 @@ # PORTNAME= wmbattery -PORTVERSION= 1.11 +PORTVERSION= 1.12 CATEGORIES= sysutils windowmaker MASTER_SITES= http://kitenet.net/programs/code/wmbattery/ -DISTNAME= ${PORTNAME} +DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= will@FreeBSD.org LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm +WRKSRC= ${WRKDIR}/${PORTNAME} + USE_X_PREFIX= yes -USE_GMAKE= YES +USE_GMAKE= yes MAKE_ENV= PREFIX="${PREFIX}" INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ INSTALL_DATA="${INSTALL_DATA}" INSTALL_MAN="${INSTALL_MAN}" ALL_TARGET= wmbattery diff --git a/sysutils/wmbattery/distinfo b/sysutils/wmbattery/distinfo index 30b5cce1609d..61dec22f9de4 100644 --- a/sysutils/wmbattery/distinfo +++ b/sysutils/wmbattery/distinfo @@ -1 +1 @@ -MD5 (wmbattery.tar.gz) = e3fa0fc617b4ee7fe0278cda6061b06b +MD5 (wmbattery_1.12.tar.gz) = f129625bda106ad4a004887cc147f589 diff --git a/sysutils/wmbattery/files/patch-aa b/sysutils/wmbattery/files/patch-aa index 0238a054f82b..129df5befe15 100644 --- a/sysutils/wmbattery/files/patch-aa +++ b/sysutils/wmbattery/files/patch-aa @@ -1,7 +1,7 @@ ---- Makefile Sun Sep 5 13:54:35 1999 -+++ Makefile.new Sat Sep 18 17:23:26 1999 -@@ -1,8 +1,9 @@ --ICONDIR = /usr/X11R6/share/wmbattery +--- Makefile.orig Thu Apr 6 23:18:13 2000 ++++ Makefile Fri May 19 14:45:14 2000 +@@ -1,10 +1,11 @@ +-ICONDIR = /usr/share/icons/wmbattery -BINDIR = /usr/X11R6/bin -MANDIR = /usr/X11R6/man/man1 -INCDIR = -I/usr/X11R6/include @@ -13,8 +13,11 @@ +INCDIR = -I$(PREFIX)/include +LIBDIR = -L$(PREFIX)/lib LIBS = -lXpm -lXext - CFLAGS = $(INCDIR) -g -DICONDIR=\"$(ICONDIR)\" -O2 -Wall +-CFLAGS = $(INCDIR) -g -DICONDIR=\"$(ICONDIR)\" -O2 -Wall ++CFLAGS += $(INCDIR) -g -DICONDIR=\"$(ICONDIR)\" + wmbattery: wmbattery.c wmbattery.h + $(CC) $(CFLAGS) $(LIBDIR) $(LIBS) wmbattery.c -o wmbattery @@ -13,10 +14,10 @@ rm -f wmbattery |