aboutsummaryrefslogtreecommitdiff
path: root/net/haproxy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/haproxy/Makefile')
-rw-r--r--net/haproxy/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile
index ce20ee9e7af8..6c7bdad7af5c 100644
--- a/net/haproxy/Makefile
+++ b/net/haproxy/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= haproxy
-PORTVERSION= 1.4.4
+PORTVERSION= 1.4.5
CATEGORIES= net www
MASTER_SITES= http://haproxy.1wt.eu/download/1.4/src/
@@ -23,7 +23,7 @@ OPTIONS= PCRE "Use PCRE regex library" On\
.include <bsd.port.options.mk>
-MAKE_ARGS= "TARGET=freebsd"
+MAKE_ARGS= TARGET=freebsd DEFINE=-DFREEBSD_PORTS
.if defined(WITH_PCRE)
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
@@ -41,6 +41,8 @@ do-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
+.endif
+.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
.endif