From b7eb016770248ed55b46320c5d357c8a77793fe9 Mon Sep 17 00:00:00 2001 From: grant Date: Sun, 19 Jan 2003 12:54:30 +0000 Subject: - use automatic rc script handling - tidy up post-install msg --- devel/isect/INSTALL | 35 ----------------------------------- devel/isect/MESSAGE | 16 ++++++++++++++++ devel/isect/Makefile | 12 ++++-------- devel/isect/files/isect.sh | 4 ++-- 4 files changed, 22 insertions(+), 45 deletions(-) delete mode 100644 devel/isect/INSTALL create mode 100644 devel/isect/MESSAGE (limited to 'devel') diff --git a/devel/isect/INSTALL b/devel/isect/INSTALL deleted file mode 100644 index def18ad90a2..00000000000 --- a/devel/isect/INSTALL +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -# -# $NetBSD: INSTALL,v 1.1 2001/11/01 01:24:13 zuntum Exp $ -# - -case $2 in -PRE-INSTALL) - ;; -POST-INSTALL) - /bin/cat << EOF -=========================================================================== -You need to alias the hostname of the machine which will run isectd to -"isectd" on all the client machines, and add the following to -/etc/services: - -# -# isect services -# -isectd 5501/tcp # isectd -isdexec 5502/tcp # isdexecd - -The port number you specify should not conflict with any others that are -reserved. - -You can start the isect daemon by editing /etc/rc.local to run -${PKG_PREFIX}/etc/rc.d/isect.sh. -=========================================================================== -EOF - ;; -*) - echo "Unexpected argument: $2" - exit 1 - ;; -esac -exit 0 diff --git a/devel/isect/MESSAGE b/devel/isect/MESSAGE new file mode 100644 index 00000000000..8151e642644 --- /dev/null +++ b/devel/isect/MESSAGE @@ -0,0 +1,16 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1 2003/01/19 12:54:31 grant Exp $ + +You need to alias the hostname of the machine which will run isectd to +"isectd" on all the client machines, and add the following to +/etc/services: + +# +# isect services +# +isectd 5501/tcp # isectd +isdexec 5502/tcp # isdexecd + +The port number you specify should not conflict with any others that are +reserved. +=========================================================================== diff --git a/devel/isect/Makefile b/devel/isect/Makefile index bf1a2ea9e25..fed4e9b09bf 100644 --- a/devel/isect/Makefile +++ b/devel/isect/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2002/10/09 18:32:01 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2003/01/19 12:54:32 grant Exp $ # DISTNAME= isect-1.6.2 @@ -15,6 +15,8 @@ USE_LIBTOOL= yes LTCONFIG_OVERRIDE=${WRKSRC}/ltconfig PTHREAD_OPTS+= require +RCD_SCRIPTS= isect + DOCDIR= ${PREFIX}/share/doc/isect EGDIR= ${PREFIX}/share/examples/isect @@ -27,14 +29,8 @@ post-install: ${INSTALL_DATA_DIR} ${EGDIR} ${INSTALL_DATA} ${WRKSRC}/COPYING ${EGDIR} - ${SED} -e "s#@PREFIX@#${PREFIX}#g" \ - -e "s#@ECHO@#${ECHO}#g" \ - ${FILESDIR}/isect.sh > ${WRKDIR}/isect.sh - ${INSTALL_SCRIPT} ${WRKDIR}/isect.sh ${PREFIX}/etc/rc.d/isect - - @PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL - .include "../../www/libwww/buildlink2.mk" .include "../../mk/pthread.buildlink2.mk" .include "../../mk/texinfo.mk" +.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/isect/files/isect.sh b/devel/isect/files/isect.sh index 8a42ce3bc3b..10b4957557b 100644 --- a/devel/isect/files/isect.sh +++ b/devel/isect/files/isect.sh @@ -1,6 +1,6 @@ -#!/bin/sh +#!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: isect.sh,v 1.1.1.1 1999/09/15 18:56:21 jlam Exp $ +# $NetBSD: isect.sh,v 1.2 2003/01/19 12:54:33 grant Exp $ # isdexecd=@PREFIX@/sbin/isdexecd -- cgit v1.2.3