Skip to content
Permalink
Browse files

rename portname to name and portversion to version

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@1462 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Jean-Pierre Mouilleseaux
Jean-Pierre Mouilleseaux committed Dec 20, 2002
1 parent a920e4a commit 889e689ec4269247d6a12ab3775726d4a61a5120
Showing with 8 additions and 8 deletions.
  1. +8 −8 emulators/bochs/Portfile
@@ -30,16 +30,16 @@ post-patch {
reinplace "s|/usr/local/bochs|${data_dir}|g" "${path}/doc/man/bochsrc.1"
reinplace "s|/usr/local/bochs|${data_dir}|g" "${path}/doc/man/bximage.1"

reinplace "s|\@VERSION\@|${portversion}|g" "${path}/doc/man/bochs-dlx.1"
reinplace "s|\@VERSION\@|${portversion}|g" "${path}/doc/man/bochs.1"
reinplace "s|\@VERSION\@|${portversion}|g" "${path}/doc/man/bochsrc.1"
reinplace "s|\@VERSION\@|${portversion}|g" "${path}/doc/man/bximage.1"
reinplace "s|\@VERSION\@|${version}|g" "${path}/doc/man/bochs-dlx.1"
reinplace "s|\@VERSION\@|${version}|g" "${path}/doc/man/bochs.1"
reinplace "s|\@VERSION\@|${version}|g" "${path}/doc/man/bochsrc.1"
reinplace "s|\@VERSION\@|${version}|g" "${path}/doc/man/bximage.1"

reinplace "s|vgaromimage: bios/|vgaromimage: ${data_dir}/${portversion}/|g" "${path}/doc/man/bochsrc.1"
reinplace "s|romimage: file=bios/|romimage: file=${data_dir}/${portversion}/|g" "${path}/doc/man/bochsrc.1"
reinplace "s|vgaromimage: bios/|vgaromimage: ${data_dir}/${version}/|g" "${path}/doc/man/bochsrc.1"
reinplace "s|romimage: file=bios/|romimage: file=${data_dir}/${version}/|g" "${path}/doc/man/bochsrc.1"

reinplace "s|vgaromimage: bios/|vgaromimage: ${data_dir}/${portversion}/|g" "${path}/.bochsrc"
reinplace "s|romimage: file=bios/|romimage: file=${data_dir}/${portversion}/|g" "${path}/.bochsrc"
reinplace "s|vgaromimage: bios/|vgaromimage: ${data_dir}/${version}/|g" "${path}/.bochsrc"
reinplace "s|romimage: file=bios/|romimage: file=${data_dir}/${version}/|g" "${path}/.bochsrc"
}
depends_run bin:wget:wget
include contents

0 comments on commit 889e689

Please sign in to comment.
You can’t perform that action at this time.