summaryrefslogtreecommitdiff
path: root/comms/hylafax
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-09-20 05:14:10 +0000
committerjlam <jlam@pkgsrc.org>2000-09-20 05:14:10 +0000
commit9ab26c50e757b016baab010f1848e70930d79601 (patch)
tree7a9e5bc09df1c0b7f00e130e375ea67861dddb42 /comms/hylafax
parentdd8983b561979bc51e7cde31119a2946fec98936 (diff)
downloadpkgsrc-9ab26c50e757b016baab010f1848e70930d79601.tar.gz
Install rc.d control script as "foo" instead of "foo.sh" to comply with
how NetBSD's rc.d system interprets script names. Also add appropriate REQUIRE and PROVIDE sections to allow direct use in NetBSD's rc.d system.
Diffstat (limited to 'comms/hylafax')
-rw-r--r--comms/hylafax/Makefile4
-rwxr-xr-xcomms/hylafax/files/hylafax.sh4
-rw-r--r--comms/hylafax/pkg/PLIST4
3 files changed, 7 insertions, 5 deletions
diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile
index 0d54e961e4d..c2fd53477ed 100644
--- a/comms/hylafax/Makefile
+++ b/comms/hylafax/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2000/09/05 12:50:52 rh Exp $
+# $NetBSD: Makefile,v 1.14 2000/09/20 05:14:10 jlam Exp $
#
DISTNAME= hylafax-4.1beta2
@@ -44,6 +44,6 @@ post-build:
<${FILESDIR}/hylafax.sh >${WRKDIR}/hylafax.sh; \
post-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/hylafax.sh ${PREFIX}/etc/rc.d/hylafax.sh
+ ${INSTALL_SCRIPT} ${WRKDIR}/hylafax.sh ${PREFIX}/etc/rc.d/hylafax
.include "../../mk/bsd.pkg.mk"
diff --git a/comms/hylafax/files/hylafax.sh b/comms/hylafax/files/hylafax.sh
index 1199028f413..db5413924ca 100755
--- a/comms/hylafax/files/hylafax.sh
+++ b/comms/hylafax/files/hylafax.sh
@@ -1,7 +1,9 @@
#!/bin/sh
#
-# $NetBSD: hylafax.sh,v 1.1 2000/08/30 09:50:45 abs Exp $
+# $NetBSD: hylafax.sh,v 1.2 2000/09/20 05:14:11 jlam Exp $
#
+# PROVIDE: hylafax
+# REQUIRE: DAEMON
command=${1:-start}
diff --git a/comms/hylafax/pkg/PLIST b/comms/hylafax/pkg/PLIST
index 46c23c9e9bd..58a2c1752e3 100644
--- a/comms/hylafax/pkg/PLIST
+++ b/comms/hylafax/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2000/09/20 05:05:53 jlam Exp $
+@comment $NetBSD: PLIST,v 1.6 2000/09/20 05:14:11 jlam Exp $
bin/faxalter
bin/faxcover
bin/faxmail
@@ -6,7 +6,7 @@ bin/faxrm
bin/faxstat
bin/sendfax
bin/sendpage
-etc/rc.d/hylafax.sh
+etc/rc.d/hylafax
libdata/hylafax/faxcover.ps
libdata/hylafax/faxmail.ps
libdata/hylafax/hfaxd.conf