aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/openvmps/Makefile
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2005-01-26 06:54:24 +0000
committerKevin Lo <kevlo@FreeBSD.org>2005-01-26 06:54:24 +0000
commitf62a1c635de4b58873f5a189b832e2629581e126 (patch)
tree7d9b11ab70ab0009c9ed2bd0f4ad741e4c699a54 /net-mgmt/openvmps/Makefile
parent4af0c95bc2787e76cee8df988c848a23510db2ca (diff)
downloadports-f62a1c635de4b58873f5a189b832e2629581e126.tar.gz
ports-f62a1c635de4b58873f5a189b832e2629581e126.zip
Notes
Diffstat (limited to 'net-mgmt/openvmps/Makefile')
-rw-r--r--net-mgmt/openvmps/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/net-mgmt/openvmps/Makefile b/net-mgmt/openvmps/Makefile
index 87ab548f47dd..eafd30ee0fdd 100644
--- a/net-mgmt/openvmps/Makefile
+++ b/net-mgmt/openvmps/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= openvmps
-PORTVERSION= 1.1
+PORTVERSION= 1.3
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= vmps
@@ -15,13 +15,17 @@ DISTNAME= vmpsd-${PORTVERSION}
MAINTAINER= craig@yekse.gank.org
COMMENT= A GPL implementation of the VMPS protocol
+WRKSRC= ${WRKDIR}/vmpsd
USE_RC_SUBR= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS=--bindir=${PREFIX}/sbin
+MAN1= vmpsd.1
+
RC_SCRIPTS_SUB= PREFIX=${PREFIX} \
RC_SUBR=${RC_SUBR}
@@ -29,7 +33,7 @@ post-install:
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${FILESDIR}/vmpsd.sh > ${PREFIX}/etc/rc.d/vmpsd.sh
@${CHMOD} 755 ${PREFIX}/etc/rc.d/vmpsd.sh
- ${INSTALL_DATA} -m 644 ${FILESDIR}/vmps.db \
+ ${INSTALL_DATA} -m 644 ${WRKSRC}/vlan.db \
${PREFIX}/etc/vmps.db.sample
@if [ ! -f ${PREFIX}/etc/vmps.db ]; then \
${CP} -p ${PREFIX}/etc/vmps.db.sample ${PREFIX}/etc/vmps.db ; \