mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
b2c4fbb77a
Introduces the UTF-32 library pcre32 Bump PORTREVISION in dependent ports
65 lines
1.3 KiB
Makefile
65 lines
1.3 KiB
Makefile
# New ports collection Makefile for: haproxy
|
|
# Date created: Apr 30, 2003
|
|
# Whom: Clement Laforet
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= haproxy
|
|
PORTVERSION= 1.4.22
|
|
PORTREVISION= 2
|
|
CATEGORIES= net www
|
|
MASTER_SITES= http://haproxy.1wt.eu/download/1.4/src/
|
|
|
|
MAINTAINER= demon@FreeBSD.org
|
|
COMMENT= The Reliable, High Performance TCP/HTTP Load Balancer
|
|
|
|
LICENSE= GPLv2 LGPL21
|
|
LICENSE_COMB= multi
|
|
|
|
CONFLICTS= haproxy-devel-[0-9]*
|
|
|
|
USE_RC_SUBR= haproxy
|
|
USE_GMAKE= YES
|
|
SUB_FILES= pkg-message
|
|
MAN1= haproxy.1
|
|
|
|
OPTIONS_DEFINE= PCRE
|
|
OPTIONS_SINGLE= PCRE
|
|
OPTIONS_SINGLE_PCRE= DPCRE SPCRE
|
|
DPCRE_DESC= Link dynamically
|
|
SPCRE_DESC= Link statically
|
|
OPTIONS_DEFAULT=PCRE DPCRE
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
MAKE_ARGS= TARGET=freebsd DEFINE=-DFREEBSD_PORTS CC=${CC}
|
|
|
|
.if ${PORT_OPTIONS:MPCRE}
|
|
LIB_DEPENDS+= pcre:${PORTSDIR}/devel/pcre
|
|
|
|
.if ${PORT_OPTIONS:MDPCRE}
|
|
MAKE_ARGS+= "USE_PCRE=1"
|
|
.endif
|
|
.if ${PORT_OPTIONS:MSPCRE}
|
|
MAKE_ARGS+= "USE_STATIC_PCRE=1"
|
|
.endif
|
|
.endif
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/haproxy ${PREFIX}/sbin/
|
|
@${INSTALL_MAN} ${WRKSRC}/doc/haproxy.1 ${MAN1PREFIX}/man/man1
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
|
|
.endif
|
|
.if !defined(NOPORTEXAMPLES)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
|
|
.endif
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|