summaryrefslogtreecommitdiff
path: root/emulators/bochs
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/bochs
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/bochs')
-rw-r--r--emulators/bochs/Makefile10
-rw-r--r--emulators/bochs/pkg/MESSAGE19
2 files changed, 16 insertions, 13 deletions
diff --git a/emulators/bochs/Makefile b/emulators/bochs/Makefile
index d72045fcc95..ec55e1d564a 100644
--- a/emulators/bochs/Makefile
+++ b/emulators/bochs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2001/01/04 22:51:53 simonb Exp $
+# $NetBSD: Makefile,v 1.11 2001/01/29 11:34:25 wiz Exp $
DISTNAME= bochs-2000_0325a
PKGNAME= bochs-2000.03.25a
@@ -13,19 +13,17 @@ USE_GMAKE= yes
#CONFIGURE_ARGS= --enable-debugger --enable-disasm
USE_X11= yes
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
BOCHS_MAINDIR= ${PREFIX}/share/bochs
BOCHS_BIOSDIR= ${BOCHS_MAINDIR}/bios
BOCHS_FONTDIR= ${BOCHS_MAINDIR}/xfonts
BOCHS_DOCDIR= ${PREFIX}/share/doc/html/bochs
+MESSAGE_SUBST+= BOCHS_MAINDIR=${BOCHS_MAINDIR} \
+ BOCHS_FONTDIR=${BOCHS_FONTDIR} \
+ BOCHS_DOCDIR=${BOCHS_DOCDIR}
post-configure:
${SED} -e 's@XXXPREFIXXXX@${PREFIX}@' \
< ${WRKSRC}/.bochsrc > ${WRKSRC}/bochsrc
- ${SED} -e 's,@BOCHS_MAINDIR@,${BOCHS_MAINDIR},g' \
- -e 's,@BOCHS_FONTDIR@,${BOCHS_FONTDIR},g' \
- -e 's,@BOCHS_DOCDIR@,${BOCHS_DOCDIR},g' \
- < ${PKGDIR}/MESSAGE > ${MESSAGE_FILE}
do-install:
${INSTALL_DATA_DIR} ${BOCHS_BIOSDIR}
diff --git a/emulators/bochs/pkg/MESSAGE b/emulators/bochs/pkg/MESSAGE
index e1dcf730906..2d0263e054d 100644
--- a/emulators/bochs/pkg/MESSAGE
+++ b/emulators/bochs/pkg/MESSAGE
@@ -1,13 +1,18 @@
-You need to copy the @BOCHS_MAINDIR@/bochsrc file to your home
+======================================================================
+$NetBSD: MESSAGE,v 1.4 2001/01/29 11:34:25 wiz Exp $
+
+You need to copy the ${BOCHS_MAINDIR}/bochsrc file to your home
directory and name it .bochsrc. Then edit it to your tastes
-defining the hard drives, and floppies as needed. You also need
-to @BOCHS_FONTDIR@ to your X font path and to enable it
-before running bochs. e.g.
+defining the hard drives and floppies as needed. You also need
+to ${BOCHS_FONTDIR} to your X font path and to enable it
+before running bochs, e.g.
- $ xset fp+ @BOCHS_FONTDIR@
+ $ xset fp+ ${BOCHS_FONTDIR}
$ xset fp rehash
Documentation is available on the website, and a copy of that
-website is in @BOCHS_DOCDIR@. The file install.html
+website is in ${BOCHS_DOCDIR}. The file install.html
will assist you in creating a HD "file". (A raw disk partition can
-be used as well)
+be used as well.)
+
+======================================================================