aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-05-19 11:53:14 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-05-19 11:53:14 +0000
commit9edfa2706ed9a890ea6269484f3cd8776063b693 (patch)
treeff7c4a3434ed3183d1235c5a403416e1fc9a7783 /sysutils
parent3039eaef044d85fc257cf407de8ff234569eb5f6 (diff)
downloadports-9edfa2706ed9a890ea6269484f3cd8776063b693.tar.gz
ports-9edfa2706ed9a890ea6269484f3cd8776063b693.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/wmbattery/Makefile8
-rw-r--r--sysutils/wmbattery/distinfo2
-rw-r--r--sysutils/wmbattery/files/patch-aa13
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