aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-07-26 21:23:51 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-07-26 21:23:51 +0000
commit8135df5456dc65e41491df502d87db4f0d24f3c3 (patch)
tree9e5b11c057edc789684092304377b8425d373fe6
parent1f1c78dfb5914f3396758657c6ec0a6d1b25b600 (diff)
downloadports-8135df5456dc65e41491df502d87db4f0d24f3c3.tar.gz
ports-8135df5456dc65e41491df502d87db4f0d24f3c3.zip
Notes
-rw-r--r--net/balance/Makefile11
-rw-r--r--net/balance/distinfo4
-rw-r--r--net/balance/files/patch-Makefile20
3 files changed, 9 insertions, 26 deletions
diff --git a/net/balance/Makefile b/net/balance/Makefile
index 6e97f7fe12da..127b78b3576b 100644
--- a/net/balance/Makefile
+++ b/net/balance/Makefile
@@ -6,21 +6,24 @@
#
PORTNAME= balance
-PORTVERSION= 3.22
+PORTVERSION= 3.24
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} \
- http://www.inlab.de/
+MASTER_SITES= http://www.inlab.de/ \
+ ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= balance
MAINTAINER= joseph@randomnetworks.com
COMMENT= Simple but powerful generic tcp proxy with round robin features
ALL_TARGET= balance
-
+USE_REINPLACE= yes
USE_RC_SUBR= yes
MAN1= balance.1
+pre-build:
+ @${REINPLACE_CMD} -e 's|^CFLAGS|CFLAGS?|' \
+ -e 's|^CC|CC?|' ${WRKSRC}/Makefile
post-build:
@${SED} -e 's,%%RC_SUBR%%,${RC_SUBR},g' -e 's,%%PREFIX%%,${PREFIX},g' \
${FILESDIR}/${PORTNAME}.sh >${WRKDIR}/${PORTNAME}.sh
diff --git a/net/balance/distinfo b/net/balance/distinfo
index 413a3168330d..383405c294e4 100644
--- a/net/balance/distinfo
+++ b/net/balance/distinfo
@@ -1,2 +1,2 @@
-MD5 (balance-3.22.tar.gz) = 4744586e662ce93bfe650ba81567da53
-SIZE (balance-3.22.tar.gz) = 21726
+MD5 (balance-3.24.tar.gz) = 4f48e4005f037964ec1a0953b639aef7
+SIZE (balance-3.24.tar.gz) = 32769
diff --git a/net/balance/files/patch-Makefile b/net/balance/files/patch-Makefile
deleted file mode 100644
index 55d21c2cb80d..000000000000
--- a/net/balance/files/patch-Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
---- Makefile.orig Fri Mar 11 22:45:07 2005
-+++ Makefile Mon May 23 16:01:41 2005
-@@ -1,7 +1,7 @@
- # $Id: Makefile,v 1.20 2005/03/11 19:44:05 tommy Exp tommy $
-
- #CFLAGS=-g -I.
--CFLAGS=-O2 -Wall
-+CFLAGS=-Wall
-
- # uncomment for Solaris:
- # LIBRARIES=-lsocket -lnsl
-@@ -15,7 +15,7 @@
- # BALANCE=balance.exe
- # ROOT=Administrators
-
--CC=gcc
-+CC?=gcc
- RELEASE=3.22
-
- all: balance balance.pdf