blob: c0d885cd3ad33f0d43a23e7b2431089c8ffc1fe1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# New ports collection makefile for: haproxy-devel
# Date created: Thu May 3 16:30:19 WEST 2007
# Whom: Hugo Saro <hugo@barafranca.com>
#
# $FreeBSD$
#
PORTNAME= haproxy
PORTVERSION= 1.3.20
CATEGORIES= net
MASTER_SITES= http://haproxy.1wt.eu/download/1.3/src/
PKGNAMESUFFIX= -devel
MAINTAINER= hugo@barafranca.com
COMMENT= The Reliable, High Performance TCP/HTTP Load Balancer
CONFLICTS= haproxy-1.2*
USE_RC_SUBR= haproxy
MAKEFILE= Makefile.bsd
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/haproxy ${PREFIX}/sbin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/design-thoughts
@${MKDIR} ${DOCSDIR}/internals
@${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR}/
@(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} internals ${DOCSDIR}/)
@(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} design-thoughts ${DOCSDIR}/)
.endif
@${INSTALL_DATA} ${WRKSRC}/examples/haproxy.cfg \
${PREFIX}/etc/haproxy.conf-dist
post-install:
@${ECHO_MSG} ""
@${ECHO_MSG} ""
@${ECHO_MSG} ""
@${ECHO_MSG} "${PORTNAME} is now installed."
@${ECHO_MSG} "To configure it, rename ${PREFIX}/etc/haproxy.conf-dist"
@${ECHO_MSG} "and add haproxy_enable=\"YES\" to /etc/rc.conf"
@${ECHO_MSG} ""
@${ECHO_MSG} ""
.include <bsd.port.mk>
|