26 | | 84a85,88 |
27 | | > variant tools description {compile and install the mame tools like chdman and others} { |
28 | | > build.args-append TOOLS=1 |
29 | | > } |
30 | | > |
31 | | 86a91,111 |
32 | | > xinstall ${worksrcpath}/docs/man/mame.6 ${destroot}${prefix}/share/man/man6 |
33 | | > |
34 | | > if {[variant_isset tools]} { |
35 | | > xinstall ${worksrcpath}/castool \ |
36 | | > ${worksrcpath}/chdman \ |
37 | | > ${worksrcpath}/floptool \ |
38 | | > ${worksrcpath}/imgtool \ |
39 | | > ${worksrcpath}/jedutil \ |
40 | | > ${worksrcpath}/ldresample \ |
41 | | > ${worksrcpath}/ldverify \ |
42 | | > ${worksrcpath}/romcmp ${destroot}${prefix}/bin |
43 | | > |
44 | | > xinstall ${worksrcpath}/docs/man/castool.1 \ |
45 | | > ${worksrcpath}/docs/man/chdman.1 \ |
46 | | > ${worksrcpath}/docs/man/floptool.1 \ |
47 | | > ${worksrcpath}/docs/man/imgtool.1 \ |
48 | | > ${worksrcpath}/docs/man/jedutil.1 \ |
49 | | > ${worksrcpath}/docs/man/ldresample.1 \ |
50 | | > ${worksrcpath}/docs/man/ldverify.1 \ |
51 | | > ${worksrcpath}/docs/man/romcmp.1 ${destroot}${prefix}/share/man/man1 |
52 | | > } |
| 26 | --- Portfile.orig 2019-12-02 19:32:36.000000000 +0100 |
| 27 | +++ Portfile 2020-08-11 11:19:44.000000000 +0200 |
| 28 | @@ -82,8 +82,33 @@ |
| 29 | set executable mame |
| 30 | } |
| 31 | |
| 32 | +variant tools description {compile and install the mame tools like chdman and others} { |
| 33 | + build.args-append TOOLS=1 |
| 34 | +} |
| 35 | + |
| 36 | destroot { |
| 37 | xinstall ${worksrcpath}/${executable} ${destroot}${prefix}/bin |
| 38 | + xinstall ${worksrcpath}/docs/man/mame.6 ${destroot}${prefix}/share/man/man6 |
| 39 | + |
| 40 | + if {[variant_isset tools]} { |
| 41 | + xinstall ${worksrcpath}/castool \ |
| 42 | + ${worksrcpath}/chdman \ |
| 43 | + ${worksrcpath}/floptool \ |
| 44 | + ${worksrcpath}/imgtool \ |
| 45 | + ${worksrcpath}/jedutil \ |
| 46 | + ${worksrcpath}/ldresample \ |
| 47 | + ${worksrcpath}/ldverify \ |
| 48 | + ${worksrcpath}/romcmp ${destroot}${prefix}/bin |
| 49 | + |
| 50 | + xinstall ${worksrcpath}/docs/man/castool.1 \ |
| 51 | + ${worksrcpath}/docs/man/chdman.1 \ |
| 52 | + ${worksrcpath}/docs/man/floptool.1 \ |
| 53 | + ${worksrcpath}/docs/man/imgtool.1 \ |
| 54 | + ${worksrcpath}/docs/man/jedutil.1 \ |
| 55 | + ${worksrcpath}/docs/man/ldresample.1 \ |
| 56 | + ${worksrcpath}/docs/man/ldverify.1 \ |
| 57 | + ${worksrcpath}/docs/man/romcmp.1 ${destroot}${prefix}/share/man/man1 |
| 58 | + } |
| 59 | } |
| 60 | |
| 61 | # Universal variant is untested |