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 /emulators/plex86 | |
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 'emulators/plex86')
-rw-r--r-- | emulators/plex86/Makefile | 5 | ||||
-rw-r--r-- | emulators/plex86/pkg/MESSAGE | 3 |
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. |