aboutsummaryrefslogtreecommitdiffstats
path: root/net/freevrrpd/Makefile
blob: 3842695fbe52b87e1111b0b58e2aa51f31475d7d (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
# Created by: Sebastien Petit <spe@phear.org>
# $FreeBSD$

PORTNAME=   freevrrpd
PORTVERSION=    1.1
PORTREVISION=   1
CATEGORIES= net

MAINTAINER= gnn@FreeBSD.org
COMMENT=    RFC 2338 compliant VRRP implementation

LICENSE=    BSD

USE_GITHUB= yes
GH_ACCOUNT= gvnn3
GH_PROJECT= FreeVRRPd
DISTVERSIONPREFIX=  v

MAKE_ENV=   PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
        PTHREAD_LIBS="${PTHREAD_LIBS}"

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/freevrrpd ${STAGEDIR}${PREFIX}/sbin
    ${INSTALL_DATA} ${WRKSRC}/freevrrpd.conf.sample \
        ${STAGEDIR}${PREFIX}/etc
    ${INSTALL_SCRIPT} ${WRKSRC}/rc.d/freevrrpd \
        ${STAGEDIR}${PREFIX}/etc/rc.d
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 \
        ${STAGEDIR}${MANPREFIX}/man/man8

.include <bsd.port.mk>