diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-10-08 02:57:42 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-10-08 02:57:42 +0000 |
commit | a3580faa2b6d568a289a5b757d0601beb9c68cfd (patch) | |
tree | 39b2684c30780dfcdffedcd7cb3f2fce663f18a8 /net-mgmt/openvmps/Makefile | |
parent | a40cce275ee3df8ecf9c0eb37d47ea3747b49152 (diff) | |
download | ports-a3580faa2b6d568a289a5b757d0601beb9c68cfd.tar.gz ports-a3580faa2b6d568a289a5b757d0601beb9c68cfd.zip |
Notes
Diffstat (limited to 'net-mgmt/openvmps/Makefile')
-rw-r--r-- | net-mgmt/openvmps/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net-mgmt/openvmps/Makefile b/net-mgmt/openvmps/Makefile new file mode 100644 index 000000000000..aa1d1763bf09 --- /dev/null +++ b/net-mgmt/openvmps/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: openvmps +# Date created: 6 October 2003 +# Whom: Craig Boston <craig@yekse.gank.org> +# +# $FreeBSD$ +# + +PORTNAME= openvmps +PORTVERSION= 1.0 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= vmps +DISTNAME= vmpsd-${PORTVERSION} + +MAINTAINER= craig@yekse.gank.org +COMMENT= A GPL implementation of the VMPS protocol + +USE_RC_SUBR= yes + +GNU_CONFIGURE= yes +USE_GMAKE= yes + +CONFIGURE_ARGS=--bindir=${PREFIX}/sbin + +RC_SCRIPTS_SUB= PREFIX=${PREFIX} \ + RC_SUBR=${RC_SUBR} + +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 \ + ${PREFIX}/etc/vmps.db.sample + @if [ ! -f ${PREFIX}/etc/vmps.db ]; then \ + ${CP} -p ${PREFIX}/etc/vmps.db.sample ${PREFIX}/etc/vmps.db ; \ + fi + +.include <bsd.port.mk> |