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
|
2013-06-17 17:07:59 +02:00
|
|
|
PORTVERSION= 1.4.05
|
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
|
2012-11-10 16:38:55 +01:00
|
|
|
COMMENT= GPL implementation of the VMPS protocol
|
2003-10-08 04:57:42 +02:00
|
|
|
|
2012-11-10 16:38:55 +01:00
|
|
|
LICENSE= GPLv2
|
2003-10-08 04:57:42 +02:00
|
|
|
|
2012-11-10 16:38:55 +01:00
|
|
|
USE_RC_SUBR= vmpsd
|
2003-10-08 04:57:42 +02:00
|
|
|
|
2014-05-26 17:01:39 +02:00
|
|
|
USES= gmake
|
2012-11-10 16:38:55 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2003-10-08 04:57:42 +02:00
|
|
|
CONFIGURE_ARGS=--bindir=${PREFIX}/sbin
|
|
|
|
|
2005-01-26 07:54:24 +01:00
|
|
|
MAN1= vmpsd.1
|
|
|
|
|
2013-09-21 00:24:43 +02:00
|
|
|
NO_STAGE= yes
|
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
|
|
|
|
|
2012-11-10 16:38:55 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/^install-exec-am:/s|install-sysconfDATA||' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
|
2003-10-08 04:57:42 +02:00
|
|
|
post-install:
|
2012-11-10 16:38:55 +01:00
|
|
|
${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
|
2003-10-08 04:57:42 +02:00
|
|
|
|
2009-07-08 15:01:17 +02:00
|
|
|
.include <bsd.port.post.mk>
|