aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/openvmps/Makefile
blob: c1ccc77569334f05222a7c4866ada0979890bf0d (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
# Created by: Craig Boston <craig@yekse.gank.org>
# $FreeBSD$

PORTNAME=   openvmps
PORTVERSION=    1.4.06
CATEGORIES= net-mgmt
MASTER_SITES=   SF/vmps/vmpsd/${PORTVERSION}
DISTNAME=   vmpsd-${PORTVERSION}

MAINTAINER= vladimir.pushkar@gmail.com
COMMENT=    GPL implementation of the VMPS protocol

LICENSE=    GPLv2

USE_RC_SUBR=    vmpsd

USES=       gmake
GNU_CONFIGURE=  yes
CONFIGURE_ARGS=--bindir=${PREFIX}/sbin

post-patch:
    @${REINPLACE_CMD} -e '/^install-exec-am:/s|install-sysconfDATA||' \
        ${WRKSRC}/Makefile.in

post-install:
    ${INSTALL_DATA} ${WRKSRC}/vlan.db ${STAGEDIR}${PREFIX}/etc/vmps.db.sample

.include <bsd.port.mk>