aboutsummaryrefslogtreecommitdiffstats
path: root/net/slbd/Makefile
blob: d178048dfec6767273fe193818a8e9091a0f5b73 (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
# New ports collection makefile for:   slbd
# Date created:        30 October 2006
# Whom:                Janos Mohacsi <janos.mohacsi@bsd.hu>
#
# $FreeBSD$
#

PORTNAME=   slbd
PORTVERSION=    1.3
CATEGORIES= net sysutils
MASTER_SITES=   SF

MAINTAINER= janos.mohacsi@bsd.hu
COMMENT=    Server load balancing daemon for *BSD pf

PLIST_FILES=    sbin/slbd etc/slbdcap-sample
PORTDOCS=   configfile.txt

post-patch:
    @${REINPLACE_CMD} -e "s;%%PREFIX%%;${PREFIX};g" \
        ${WRKSRC}/Makefile

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 900000
BROKEN=     does not build
.endif

.include <bsd.port.post.mk>