blob: 7a237cd7c6ddb9ab7efa752a3b06404a74b19eb3 (
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
36
37
38
39
|
# Created by: Craig Boston <craig@yekse.gank.org>
# $FreeBSD$
PORTNAME= openvmps
PORTVERSION= 1.4.04
CATEGORIES= net-mgmt
MASTER_SITES= SF/vmps/vmpsd/${PORTVERSION}
DISTNAME= vmpsd-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= GPL implementation of the VMPS protocol
LICENSE= GPLv2
USE_RC_SUBR= vmpsd
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS=--bindir=${PREFIX}/sbin
MAN1= vmpsd.1
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
IGNORE= does not run correctly on amd64 architecture, see ports/136376
.endif
post-patch:
@${REINPLACE_CMD} -e '/^install-exec-am:/s|install-sysconfDATA||' \
${WRKSRC}/Makefile.in
post-install:
${INSTALL_DATA} ${WRKSRC}/vlan.db ${PREFIX}/etc/vmps.db.sample
.if !exists(${PREFIX}/etc/vmps.db)
cd ${PREFIX}/etc && ${CP} -p vmps.db.sample vmps.db
.endif
.include <bsd.port.post.mk>
|