summaryrefslogtreecommitdiff
path: root/databases/geneweb
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-01-19 12:34:45 +0000
committergrant <grant@pkgsrc.org>2003-01-19 12:34:45 +0000
commitf6ca1c37d43d413ee7db3ea8ae75567eddc0a940 (patch)
treeb4c7734969664f1a1057e1b7dbed0b218d5cf571 /databases/geneweb
parent75f0b152c5f9a00f1293b22639a84866d745decc (diff)
downloadpkgsrc-f6ca1c37d43d413ee7db3ea8ae75567eddc0a940.tar.gz
use automatic rc script handling.
Diffstat (limited to 'databases/geneweb')
-rw-r--r--databases/geneweb/Makefile7
-rw-r--r--databases/geneweb/files/geneweb.sh4
2 files changed, 5 insertions, 6 deletions
diff --git a/databases/geneweb/Makefile b/databases/geneweb/Makefile
index ef758695e77..6f4cd30b576 100644
--- a/databases/geneweb/Makefile
+++ b/databases/geneweb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2003/01/02 09:34:50 wulf Exp $
+# $NetBSD: Makefile,v 1.11 2003/01/19 12:34:45 grant Exp $
#
DISTNAME= geneweb-4.09
@@ -13,6 +13,8 @@ DEPENDS+= ocaml>=3.04:../../lang/ocaml
USE_GMAKE= yes
+RCD_SCRIPTS= geneweb
+
.if !exists(${LOCALBASE}/bin/ocamlc.opt)
ALL_TARGET= out
.endif
@@ -31,8 +33,6 @@ pre-configure:
post-build:
cd ${WRKSRC} && ${GMAKE} distrib
- ${CAT} ${FILESDIR}/geneweb.sh | \
- ${SED} -e s#@PREFIX@#${PREFIX}#g > ${WRKDIR}/geneweb.sh
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/geneweb
@@ -59,7 +59,6 @@ do-install:
${CP} -Rp setup ${PREFIX}/share/geneweb && \
${INSTALL_DATA} a.gwf ${PREFIX}/share/examples/geneweb && \
${INSTALL_DATA} only.txt ${PREFIX}/share/examples/geneweb
- ${INSTALL_SCRIPT} ${WRKDIR}/geneweb.sh ${PREFIX}/etc/rc.d/geneweb
${TOUCH} ${PREFIX}/share/geneweb/gwtp_tmp/passwd
${TOUCH} ${PREFIX}/share/geneweb/gwtp_tmp/gwtp.log
${CHMOD} 600 ${PREFIX}/share/geneweb/gwtp_tmp/passwd
diff --git a/databases/geneweb/files/geneweb.sh b/databases/geneweb/files/geneweb.sh
index e098dcd2743..c288221bf10 100644
--- a/databases/geneweb/files/geneweb.sh
+++ b/databases/geneweb/files/geneweb.sh
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: geneweb.sh,v 1.2 2001/07/15 15:33:22 wulf Exp $
+# $NetBSD: geneweb.sh,v 1.3 2003/01/19 12:34:46 grant Exp $
#
if [ -x @PREFIX@/libexec/gwd ]
then