diff options
author | wiz <wiz> | 2001-01-29 11:34:21 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-01-29 11:34:21 +0000 |
commit | 6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba (patch) | |
tree | 86f14acd24842161759a420487862022044c2b4b /net/dhid | |
parent | e79bc93dd230b17193ddcfca298d9cf5d3cf7205 (diff) | |
download | pkgsrc-6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba.tar.gz |
Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
Diffstat (limited to 'net/dhid')
-rw-r--r-- | net/dhid/Makefile | 6 | ||||
-rw-r--r-- | net/dhid/pkg/MESSAGE | 5 |
2 files changed, 4 insertions, 7 deletions
diff --git a/net/dhid/Makefile b/net/dhid/Makefile index da7038d1ab4..703f7d8e267 100644 --- a/net/dhid/Makefile +++ b/net/dhid/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2000/09/03 12:40:50 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2001/01/29 11:34:35 wiz Exp $ # DISTNAME= dhid-4.0.1 @@ -10,15 +10,11 @@ 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 - ${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 37534269129..82ea4eaa91f 100644 --- a/net/dhid/pkg/MESSAGE +++ b/net/dhid/pkg/MESSAGE @@ -1,11 +1,12 @@ =========================================================================== -$NetBSD: MESSAGE,v 1.4 2000/09/12 15:18:42 jlam Exp $ +$NetBSD: MESSAGE,v 1.5 2001/01/29 11:34:35 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 @PREFIX@/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 registering with dhis.org (see above). + =========================================================================== |