summaryrefslogtreecommitdiff
path: root/net/dhid/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-01-29 11:34:21 +0000
committerwiz <wiz@pkgsrc.org>2001-01-29 11:34:21 +0000
commitb979f7222ad9bade13f010cd27e5bc6afab1681c (patch)
tree86f14acd24842161759a420487862022044c2b4b /net/dhid/Makefile
parent6a13219ca89e5dae86f27159ff86006058c06859 (diff)
downloadpkgsrc-b979f7222ad9bade13f010cd27e5bc6afab1681c.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/Makefile')
-rw-r--r--net/dhid/Makefile6
1 files changed, 1 insertions, 5 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