summaryrefslogtreecommitdiff
path: root/emulators/plex86
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 /emulators/plex86
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 'emulators/plex86')
-rw-r--r--emulators/plex86/Makefile5
-rw-r--r--emulators/plex86/pkg/MESSAGE3
2 files changed, 3 insertions, 5 deletions
diff --git a/emulators/plex86/Makefile b/emulators/plex86/Makefile
index 15118924b8f..ce32cba8e41 100644
--- a/emulators/plex86/Makefile
+++ b/emulators/plex86/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2001/01/07 17:07:13 tron Exp $
+# $NetBSD: Makefile,v 1.18 2001/01/29 11:34:25 wiz Exp $
DISTNAME= plex86-20010106
PKGNAME= ${DISTNAME:S/-/-0./}
@@ -22,8 +22,6 @@ RESTRICTED= CPU-specific binary code
NO_BIN_ON_CDROM=${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
-MESSAGE_FILE= ${WRKSRC}/.MESSAGE
-
BSDSRCDIR?= /nonexistent # to override <bsd.own.mk>, MUST be
# set this way BEFORE bsd.prefs.mk
.include "../../mk/bsd.prefs.mk"
@@ -48,7 +46,6 @@ post-build:
do-install: do-install-dirs do-install-binaries do-install-bios \
do-install-font do-install-conf
- ${SED} -e 's,@PREFIX@,${PREFIX},g' <${PKGDIR}/MESSAGE >${MESSAGE_FILE}
do-install-dirs:
${INSTALL_DATA_DIR} ${PREFIX}/lkm \
diff --git a/emulators/plex86/pkg/MESSAGE b/emulators/plex86/pkg/MESSAGE
index ad74889a1fe..2bd980ca207 100644
--- a/emulators/plex86/pkg/MESSAGE
+++ b/emulators/plex86/pkg/MESSAGE
@@ -1,4 +1,5 @@
===========================================================================
+$NetBSD: MESSAGE,v 1.3 2001/01/29 11:34:26 wiz Exp $
NOTE: Because plex86 contains a kernel module, it must be run with a
kernel built from the same sources as the plex86 binaries. If you are
@@ -9,7 +10,7 @@ updated sources. (Be sure to disable the LKM while doing this!)
In order to enable loading of the plex86 kernel module at boot time,
edit /etc/lkm.conf and add the following line:
-@PREFIX@/lkm/plex86.o - - @PREFIX@/lib/plex86/netbsd_post.sh - AFTERMOUNT
+${PREFIX}/lkm/plex86.o - - ${PREFIX}/lib/plex86/netbsd_post.sh - AFTERMOUNT
The module will be loaded after reboot, and the netbsd_post.sh script will
automatically create the needed /dev/plex86 device.