aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/bochs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/bochs/Makefile')
-rw-r--r--emulators/bochs/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/emulators/bochs/Makefile b/emulators/bochs/Makefile
index 876aaaff4238..16ac136dd751 100644
--- a/emulators/bochs/Makefile
+++ b/emulators/bochs/Makefile
@@ -1,3 +1,4 @@
+# ex:ts=8
# New ports collection makefile for: bochs
# Version required: 990219a
# Date created: 16 December 1997
@@ -26,6 +27,12 @@ WRKSRC= ${WRKDIR}/bochs-${DATE}a
RESTRICTED= "Commercial software"
NO_CDROM= ${RESTRICTED}
+pre-configure:
+ @${PERL} -pi.fbsd \
+ -e 's|^vgaromimage:\sbios/|vgaromimage: ${PREFIX}/bios/| ;' \
+ -e 's|^romimage:\sfile=bios/|romimage: file=${PREFIX}/bios/|' \
+ ${WRKSRC}/.bochsrc
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bochs ${PREFIX}/bin
-@${MKDIR} ${PREFIX}/lib/bochs