ports/97217: Update port: emulators/bochs
KATO Tsuguru
tkato432 at yahoo.com
Sat May 13 18:10:22 UTC 2006
>Number: 97217
>Category: ports
>Synopsis: Update port: emulators/bochs
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat May 13 18:10:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.11-RELEASE-p17 i386
>Organization:
>Environment:
>Description:
- Support SUB_FILES
New file:
files/pkg-message.in
Remove file:
pkg-message
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/emulators/bochs/Makefile emulators/bochs/Makefile
--- /usr/ports/emulators/bochs/Makefile Sun Mar 19 15:51:29 2006
+++ emulators/bochs/Makefile Thu May 11 15:32:15 2006
@@ -38,6 +38,8 @@
MAN1= bochs.1 bochs-dlx.1 bxcommit.1 bximage.1
MAN5= bochsrc.5
+SUB_FILES= pkg-message
+
.if defined(WITH_BOCHS_SMP)
CONFIGURE_ARGS+= --enable-smp
WITH_BOCHS_CPU_LEVEL= 6
@@ -73,9 +75,6 @@
CONFIGURE_ARGS+= --enable-x86-debugger
.endif
-MSG_FILE= ${PKGDIR}/pkg-message
-PKGMESSAGE= ${WRKDIR}/pkg-message
-
pre-patch::
@${ECHO_MSG}
.if !defined(WITH_BOCHS_CPU_LEVEL)
@@ -129,7 +128,6 @@
s|/usr/local/share/doc/bochs|${DOCSDIR}|; \
' ${WRKSRC}/doc/docbook/user/user.dbk ${WRKSRC}/doc/man/*.1 \
${WRKSRC}/doc/man/*.5
- @${SED} 's|%%DOCSDIR%%|${DOCSDIR}|g' ${MSG_FILE} > ${PKGMESSAGE}
post-install:
.if !defined(NOPORTDOCS)
@@ -138,8 +136,6 @@
@${MKDIR} ${DOCSDIR}/html
@${INSTALL_DATA} ${WRKSRC}/docs-html/*.html ${DOCSDIR}/html
.endif
- @${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
- @${ECHO_MSG}
.include <bsd.port.mk>
diff -urN /usr/ports/emulators/bochs/files/pkg-message.in emulators/bochs/files/pkg-message.in
--- /usr/ports/emulators/bochs/files/pkg-message.in Thu Jan 1 09:00:00 1970
+++ emulators/bochs/files/pkg-message.in Sat May 13 23:23:19 2006
@@ -0,0 +1,7 @@
+===========================================================================
+
+Bochs requires a .bochsrc file to be present in either your current
+directory or your home directory before starting. A sample .bochsrc
+file can be found in %%DOCSDIR%%/bochsrc-sample.txt
+
+===========================================================================
diff -urN /usr/ports/emulators/bochs/pkg-message emulators/bochs/pkg-message
--- /usr/ports/emulators/bochs/pkg-message Sun Mar 28 03:40:06 2004
+++ emulators/bochs/pkg-message Thu Jan 1 09:00:00 1970
@@ -1,3 +0,0 @@
-**** Bochs requires a .bochsrc file to be present in either your current
- directory or your home directory before starting. A sample .bochsrc
- file can be found in %%DOCSDIR%%/bochsrc-sample.txt
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list