2012-09-22 04:18:45 +02:00
|
|
|
# Created by: Craig Boston <craig@yekse.gank.org>
|
2003-10-08 04:57:42 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= openvmps
|
2005-01-26 07:54:24 +01:00
|
|
|
PORTVERSION= 1.3
|
2009-07-17 20:42:32 +02:00
|
|
|
PORTREVISION= 1
|
2004-02-23 05:42:13 +01:00
|
|
|
CATEGORIES= net-mgmt
|
2009-08-22 02:32:25 +02:00
|
|
|
MASTER_SITES= SF/vmps/vmpsd/${PORTVERSION}
|
2003-10-08 04:57:42 +02:00
|
|
|
DISTNAME= vmpsd-${PORTVERSION}
|
|
|
|
|
2012-09-22 04:18:45 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-10-08 04:57:42 +02:00
|
|
|
COMMENT= A GPL implementation of the VMPS protocol
|
|
|
|
|
2005-01-26 07:54:24 +01:00
|
|
|
WRKSRC= ${WRKDIR}/vmpsd
|
2009-07-17 20:42:32 +02:00
|
|
|
USE_RC_SUBR= vpmsd
|
2003-10-08 04:57:42 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
CONFIGURE_ARGS=--bindir=${PREFIX}/sbin
|
|
|
|
|
2005-01-26 07:54:24 +01:00
|
|
|
MAN1= vmpsd.1
|
|
|
|
|
2009-07-08 15:01:17 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "amd64"
|
|
|
|
IGNORE= does not run correctly on amd64 architecture, see ports/136376
|
|
|
|
.endif
|
|
|
|
|
2003-10-08 04:57:42 +02:00
|
|
|
post-install:
|
2005-01-26 07:54:24 +01:00
|
|
|
${INSTALL_DATA} -m 644 ${WRKSRC}/vlan.db \
|
2003-10-08 04:57:42 +02:00
|
|
|
${PREFIX}/etc/vmps.db.sample
|
|
|
|
@if [ ! -f ${PREFIX}/etc/vmps.db ]; then \
|
|
|
|
${CP} -p ${PREFIX}/etc/vmps.db.sample ${PREFIX}/etc/vmps.db ; \
|
|
|
|
fi
|
|
|
|
|
2009-07-08 15:01:17 +02:00
|
|
|
.include <bsd.port.post.mk>
|