summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/isect/MESSAGE (renamed from devel/isect/INSTALL)23
-rw-r--r--devel/isect/Makefile12
-rw-r--r--devel/isect/files/isect.sh4
3 files changed, 8 insertions, 31 deletions
diff --git a/devel/isect/INSTALL b/devel/isect/MESSAGE
index def18ad90a2..8151e642644 100644
--- a/devel/isect/INSTALL
+++ b/devel/isect/MESSAGE
@@ -1,14 +1,6 @@
-#!/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
===========================================================================
+$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:
@@ -21,15 +13,4 @@ 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/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