summaryrefslogtreecommitdiff
path: root/net/speedtouch
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2005-02-04 19:32:45 +0000
committertron <tron@pkgsrc.org>2005-02-04 19:32:45 +0000
commitdb9f97ddbfdd671f0999946ded21adfefac32aed (patch)
treefeed5e3285fdf59f51f55fde2c953479d249910b /net/speedtouch
parentd8966b59b682f3ce8275b11a3d424b66040db187 (diff)
downloadpkgsrc-db9f97ddbfdd671f0999946ded21adfefac32aed.tar.gz
- Honor "${PKG_SYSCONFDIR}".
- Use "mountcritremote" as requirement in "adsl.sh" because packages might reside on a NFS mount filesystem as pointed out by Luke Mewburn. Bump package revision after these fixes.
Diffstat (limited to 'net/speedtouch')
-rw-r--r--net/speedtouch/Makefile6
-rw-r--r--net/speedtouch/PLIST3
-rw-r--r--net/speedtouch/files/adsl.sh4
3 files changed, 8 insertions, 5 deletions
diff --git a/net/speedtouch/Makefile b/net/speedtouch/Makefile
index 497ff1f927d..d59fd1ab932 100644
--- a/net/speedtouch/Makefile
+++ b/net/speedtouch/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2005/02/02 22:09:50 tron Exp $
+# $NetBSD: Makefile,v 1.16 2005/02/04 19:32:45 tron Exp $
DISTNAME= speedtouch-1.3.1
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=speedtouch/}
DISTFILES= ${DISTNAME}.tar.bz2
@@ -25,7 +25,9 @@ DEPENDS+= userppp>=001107:../../net/userppp
USE_PKGINSTALL= yes
GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+PLIST_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
RCD_SCRIPTS= adsl
pre-extract:
diff --git a/net/speedtouch/PLIST b/net/speedtouch/PLIST
index 0e681b2ca32..5847448aaab 100644
--- a/net/speedtouch/PLIST
+++ b/net/speedtouch/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.4 2004/12/23 18:11:18 skrll Exp $
+@comment $NetBSD: PLIST,v 1.5 2005/02/04 19:32:45 tron Exp $
+@exec ${MKDIR} ${PKG_SYSCONFDIR}/speedtouch
bin/speedtouch-setup
bin/speedtouch-start
bin/speedtouch-stop
diff --git a/net/speedtouch/files/adsl.sh b/net/speedtouch/files/adsl.sh
index e8e974f304b..828b0396e3c 100644
--- a/net/speedtouch/files/adsl.sh
+++ b/net/speedtouch/files/adsl.sh
@@ -1,9 +1,9 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: adsl.sh,v 1.7 2005/02/02 22:09:50 tron Exp $
+# $NetBSD: adsl.sh,v 1.8 2005/02/04 19:32:45 tron Exp $
#
# PROVIDE: adsl
-# REQUIRE: NETWORKING
+# REQUIRE: mountcritremote
# BEFORE: ipnat
#
# On systems with rc.d you will need to copy this to /etc/rc.d and set