summaryrefslogtreecommitdiffstats
path: root/sysutils/wmbattery
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-05-19 11:53:14 +0000
committersobomax <sobomax@FreeBSD.org>2000-05-19 11:53:14 +0000
commitc3891433505b74bfbcc0efb36f9dc4da2d6fd984 (patch)
tree38e14368d49b493f351a6b91b9bc3528798e33ca /sysutils/wmbattery
parent4b94eabdf8cbd718a6763dbc78ab92686de2e3b8 (diff)
downloadFreeBSD-ports-c3891433505b74bfbcc0efb36f9dc4da2d6fd984.zip
FreeBSD-ports-c3891433505b74bfbcc0efb36f9dc4da2d6fd984.tar.gz
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
Diffstat (limited to 'sysutils/wmbattery')
-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 ff74a40..12f8640 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 30b5cce..61dec22 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 0238a05..129df5b 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
OpenPOWER on IntegriCloud