diff options
author | Sam Lawrance <lawrance@FreeBSD.org> | 2006-05-14 11:06:40 +0000 |
---|---|---|
committer | Sam Lawrance <lawrance@FreeBSD.org> | 2006-05-14 11:06:40 +0000 |
commit | 0f5c92dc22d136ce3fbc31532a5071e9dfbc8ca1 (patch) | |
tree | 315d432a6c6f3e826ea84ca17e5bf6886c5ad6d1 /emulators/bochs | |
parent | cc63558f385d056c413fa29e3157999043cc0575 (diff) |
Use SUB_FILES instead of pre-patch commands.
PR: port/97217
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=162306
Diffstat (limited to 'emulators/bochs')
-rw-r--r-- | emulators/bochs/Makefile | 8 | ||||
-rw-r--r-- | emulators/bochs/files/pkg-message.in | 7 | ||||
-rw-r--r-- | emulators/bochs/pkg-message | 3 |
3 files changed, 9 insertions, 9 deletions
diff --git a/emulators/bochs/Makefile b/emulators/bochs/Makefile index 57ae99770500..233b8ee182d1 100644 --- a/emulators/bochs/Makefile +++ b/emulators/bochs/Makefile @@ -38,6 +38,8 @@ MANCOMPRESSED= yes 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-debugger --enable-disasm 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 @@ post-patch: 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 @@ post-install: @${MKDIR} ${DOCSDIR}/html @${INSTALL_DATA} ${WRKSRC}/docs-html/*.html ${DOCSDIR}/html .endif - @${ECHO_MSG} @${CAT} ${PKGMESSAGE} - @${ECHO_MSG} .include <bsd.port.mk> diff --git a/emulators/bochs/files/pkg-message.in b/emulators/bochs/files/pkg-message.in new file mode 100644 index 000000000000..2985cb484324 --- /dev/null +++ b/emulators/bochs/files/pkg-message.in @@ -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 --git a/emulators/bochs/pkg-message b/emulators/bochs/pkg-message deleted file mode 100644 index 7aab81ff55ec..000000000000 --- a/emulators/bochs/pkg-message +++ /dev/null @@ -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 |