aboutsummaryrefslogtreecommitdiff
path: root/net/balance/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/balance/Makefile')
-rw-r--r--net/balance/Makefile11
1 files changed, 7 insertions, 4 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