aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-08-31 07:00:11 +0800
committerjylefort <jylefort@FreeBSD.org>2005-08-31 07:00:11 +0800
commit6b0f0fd4f48e082ab3bfcc794264187b8597396e (patch)
treef6c7bf79a64fe0546821a3d4694a3b8276b5a936
parentf8c77f329aff75caa3bc4189ec0714020f40eb86 (diff)
downloadfreebsd-ports-gnome-6b0f0fd4f48e082ab3bfcc794264187b8597396e.tar.gz
freebsd-ports-gnome-6b0f0fd4f48e082ab3bfcc794264187b8597396e.tar.zst
freebsd-ports-gnome-6b0f0fd4f48e082ab3bfcc794264187b8597396e.zip
- Update to 3.26 [1]
- Improve usage of USE_RC_SUBR [1]: PR: ports/85478 Submitted by: Andrej Zverev <az@inec.ru> Approved by: maintainer
-rw-r--r--net/balance/Makefile8
-rw-r--r--net/balance/distinfo4
-rw-r--r--net/balance/files/balance.sh.in (renamed from net/balance/files/balance.sh)0
-rw-r--r--net/balance/pkg-plist1
4 files changed, 4 insertions, 9 deletions
diff --git a/net/balance/Makefile b/net/balance/Makefile
index 127b78b3576b..4d140b236663 100644
--- a/net/balance/Makefile
+++ b/net/balance/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= balance
-PORTVERSION= 3.24
+PORTVERSION= 3.26
CATEGORIES= net
MASTER_SITES= http://www.inlab.de/ \
${MASTER_SITE_SOURCEFORGE_EXTENDED}
@@ -17,21 +17,17 @@ COMMENT= Simple but powerful generic tcp proxy with round robin features
ALL_TARGET= balance
USE_REINPLACE= yes
-USE_RC_SUBR= yes
+USE_RC_SUBR= balance.sh
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
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/balance ${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/balance.1 ${PREFIX}/man/man1
- @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/etc/rc.d/${PORTNAME}.sh
@${MKDIR} /var/run/balance
.include <bsd.port.mk>
diff --git a/net/balance/distinfo b/net/balance/distinfo
index 383405c294e4..1a457e056fc6 100644
--- a/net/balance/distinfo
+++ b/net/balance/distinfo
@@ -1,2 +1,2 @@
-MD5 (balance-3.24.tar.gz) = 4f48e4005f037964ec1a0953b639aef7
-SIZE (balance-3.24.tar.gz) = 32769
+MD5 (balance-3.26.tar.gz) = 92cd392f0933b300f5c4b852efc58c4c
+SIZE (balance-3.26.tar.gz) = 32858
diff --git a/net/balance/files/balance.sh b/net/balance/files/balance.sh.in
index 6a7de5b0d644..6a7de5b0d644 100644
--- a/net/balance/files/balance.sh
+++ b/net/balance/files/balance.sh.in
diff --git a/net/balance/pkg-plist b/net/balance/pkg-plist
index 23c18c8b3c9f..2bd3e0492168 100644
--- a/net/balance/pkg-plist
+++ b/net/balance/pkg-plist
@@ -1,4 +1,3 @@
bin/balance
-etc/rc.d/balance.sh
@exec mkdir /var/run/balance
@unexec rmdir /var/run/balance 2>/dev/null || true