aboutsummaryrefslogtreecommitdiff
path: root/net/haproxy-devel/Makefile
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2006-11-01 14:42:14 +0000
committerClement Laforet <clement@FreeBSD.org>2006-11-01 14:42:14 +0000
commitfa1931b038fdb787765737a6329abc6e193ae934 (patch)
tree45c125988189e92c4929d28d7197294dc245eb91 /net/haproxy-devel/Makefile
parentbe2bd16f64eb09c2502cdf37f2ed8a2cf0a7c6b9 (diff)
downloadports-fa1931b038fdb787765737a6329abc6e193ae934.tar.gz
ports-fa1931b038fdb787765737a6329abc6e193ae934.zip
Notes
Diffstat (limited to 'net/haproxy-devel/Makefile')
-rw-r--r--net/haproxy-devel/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/net/haproxy-devel/Makefile b/net/haproxy-devel/Makefile
index 78cff85ea703..71ae2a1aaaab 100644
--- a/net/haproxy-devel/Makefile
+++ b/net/haproxy-devel/Makefile
@@ -6,15 +6,14 @@
#
PORTNAME= haproxy
-PORTVERSION= 1.2.15
+PORTVERSION= 1.2.16
CATEGORIES= net www
MASTER_SITES= http://haproxy.1wt.eu/download/1.2/src/
MAINTAINER= clement@FreeBSD.org
COMMENT= High-performance and highly-robust TCP/HTTP load balancer
-USE_RC_SUBR= yes
-RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
+USE_RC_SUBR= haproxy.sh
STATS_INTERVAL?= 0
CFLAGS+= -DSTATTIME=${STATS_INTERVAL}
@@ -49,14 +48,9 @@ pre-everything::
post-patch:
@${REINPLACE_CMD} -e 's!localtime(!localtime((time_t *)!' ${WRKSRC}/haproxy.c
- @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${FILESDIR}/haproxy.sh > ${WRKDIR}/haproxy.sh
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/haproxy ${PREFIX}/sbin
- @${INSTALL_SCRIPT} ${WRKDIR}/haproxy.sh \
- ${PREFIX}/etc/rc.d/haproxy.sh
-
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}