[MacPorts] #60986: mame @0.206 Variant proposal to install mame tools and man pages

MacPorts noreply at macports.org
Wed Aug 12 08:33:32 UTC 2020


#60986: mame @0.206 Variant proposal to install mame tools and man pages
--------------------------+----------------------
  Reporter:  rhuelga      |      Owner:  (none)
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  haspatch
      Port:  mame         |
--------------------------+----------------------
Description changed by rhuelga:

Old description:

> I have modified the portfile to create a variant +tools that compile and
> install some of the mame tools and their man pages:
>
>     - castool
>     - chdman
>     - floptool
>     - imgtool
>     - jedutil
>     - ldresample
>     - ldverify
>     - romcmp
>
> It's interesting to note that other commands get compiled, maybe some of
> them worth to be installed too.
>     - aueffectutil
>     - nltool
>     - nlwav
>     - pngcmp
>     - regrep
>     - split
>     - src2html
>     - srcclean
>     - unidasm
>

>
> {{{
> 84a85,88
> > variant tools description {compile and install the mame tools like
> chdman and others} {
> >     build.args-append TOOLS=1
> > }
> >
> 86a91,111
> >     xinstall ${worksrcpath}/docs/man/mame.6
> ${destroot}${prefix}/share/man/man6
> >
> >     if {[variant_isset tools]} {
> >         xinstall ${worksrcpath}/castool \
> >             ${worksrcpath}/chdman \
> >             ${worksrcpath}/floptool \
> >             ${worksrcpath}/imgtool \
> >             ${worksrcpath}/jedutil \
> >             ${worksrcpath}/ldresample \
> >             ${worksrcpath}/ldverify \
> >             ${worksrcpath}/romcmp ${destroot}${prefix}/bin
> >
> >         xinstall ${worksrcpath}/docs/man/castool.1 \
> >             ${worksrcpath}/docs/man/chdman.1 \
> >             ${worksrcpath}/docs/man/floptool.1 \
> >             ${worksrcpath}/docs/man/imgtool.1 \
> >             ${worksrcpath}/docs/man/jedutil.1 \
> >             ${worksrcpath}/docs/man/ldresample.1 \
> >             ${worksrcpath}/docs/man/ldverify.1 \
> >             ${worksrcpath}/docs/man/romcmp.1
> ${destroot}${prefix}/share/man/man1
> >     }
> }}}

New description:

 I have modified the portfile to create a variant +tools that compile and
 install some of the mame tools and their man pages:

     - castool
     - chdman
     - floptool
     - imgtool
     - jedutil
     - ldresample
     - ldverify
     - romcmp

 It's interesting to note that other commands get compiled, maybe some of
 them worth to be installed too.
     - aueffectutil
     - nltool
     - nlwav
     - pngcmp
     - regrep
     - split
     - src2html
     - srcclean
     - unidasm



 {{{
 --- Portfile.orig       2019-12-02 19:32:36.000000000 +0100
 +++ Portfile    2020-08-11 11:19:44.000000000 +0200
 @@ -82,8 +82,33 @@
      set executable  mame
  }

 +variant tools description {compile and install the mame tools like chdman
 and others} {
 +    build.args-append  TOOLS=1
 +}
 +
  destroot {
      xinstall ${worksrcpath}/${executable} ${destroot}${prefix}/bin
 +    xinstall ${worksrcpath}/docs/man/mame.6
 ${destroot}${prefix}/share/man/man6
 +
 +    if {[variant_isset tools]} {
 +        xinstall ${worksrcpath}/castool \
 +            ${worksrcpath}/chdman \
 +            ${worksrcpath}/floptool \
 +            ${worksrcpath}/imgtool \
 +            ${worksrcpath}/jedutil \
 +            ${worksrcpath}/ldresample \
 +            ${worksrcpath}/ldverify \
 +            ${worksrcpath}/romcmp ${destroot}${prefix}/bin
 +
 +        xinstall ${worksrcpath}/docs/man/castool.1 \
 +            ${worksrcpath}/docs/man/chdman.1 \
 +            ${worksrcpath}/docs/man/floptool.1 \
 +            ${worksrcpath}/docs/man/imgtool.1 \
 +            ${worksrcpath}/docs/man/jedutil.1 \
 +            ${worksrcpath}/docs/man/ldresample.1 \
 +            ${worksrcpath}/docs/man/ldverify.1 \
 +            ${worksrcpath}/docs/man/romcmp.1
 ${destroot}${prefix}/share/man/man1
 +    }
  }

  # Universal variant is untested
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/60986#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list