summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-09-03 12:40:50 +0000
committerwiz <wiz@pkgsrc.org>2000-09-03 12:40:50 +0000
commita1e74e539d4fb0a6f1574499003378bf850a9a44 (patch)
tree0c02ca56816d6a1e97679fcb1ca4aafe433c0679
parent94600ba74a8fdc64e850f9ec7755c6de6662e679 (diff)
downloadpkgsrc-a1e74e539d4fb0a6f1574499003378bf850a9a44.tar.gz
Don't hardwire /usr/pkg in MESSAGE
-rw-r--r--net/dhid/Makefile8
-rw-r--r--net/dhid/pkg/MESSAGE4
2 files changed, 8 insertions, 4 deletions
diff --git a/net/dhid/Makefile b/net/dhid/Makefile
index 780bec27c35..da7038d1ab4 100644
--- a/net/dhid/Makefile
+++ b/net/dhid/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2000/08/09 21:00:09 hubertf Exp $
+# $NetBSD: Makefile,v 1.5 2000/09/03 12:40:50 wiz Exp $
#
DISTNAME= dhid-4.0.1
@@ -10,11 +10,15 @@ HOMEPAGE= http://www.dhis.org/
DEPENDS+= gmp-[0-9]*:../../devel/gmp
+MESSAGE_FILE= ${WRKDIR}/MESSAGE
+
do-configure:
${SED} \
-e "s,@PREFIX@,${PREFIX},g" \
-e "s,@ECHO@,${ECHO},g" \
- <${FILESDIR}/dhid.sh >${WRKDIR}/dhid.sh
+ < ${FILESDIR}/dhid.sh > ${WRKDIR}/dhid.sh
+ ${SED} -e "s,@PREFIX@,${PREFIX},g" \
+ < ${PKGDIR}/MESSAGE > ${MESSAGE_FILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dhid ${PREFIX}/sbin
diff --git a/net/dhid/pkg/MESSAGE b/net/dhid/pkg/MESSAGE
index e3ebc99ea38..5491e47e110 100644
--- a/net/dhid/pkg/MESSAGE
+++ b/net/dhid/pkg/MESSAGE
@@ -1,10 +1,10 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.2 2000/08/09 21:00:14 hubertf Exp $
+$NetBSD: MESSAGE,v 1.3 2000/09/03 12:40:51 wiz Exp $
If you don't already have a FQDN with dhis.org domain, you will need to
register at http://www.dhis.org/dhis/register.html.
-You will need to setup /usr/pkg/etc/dhid.conf with settings for
+You will need to setup @PREFIX@/etc/dhid.conf with settings for
`idnumber', `fqdn', and `password' with your DHIS-provided host id
number, FQDN with dhis.org domain, and update password, respectively.
You receive these values when registerring with dhis.org, see above.