Ignore:
Timestamp:
May 27, 2009, 3:48:31 PM (11 years ago)
Author:
ryandesign@…
Message:

minivmac portfiles: whitespace changes only (tabs to spaces)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/emulators/minivmac/Portfile

    r44609 r51530  
    11# $Id$
    22
    3 PortSystem          1.0
     3PortSystem              1.0
    44
    5 name                minivmac
    6 version             2.8.2
    7 revision            2
    8 categories          emulators aqua
    9 maintainers         ryandesign
    10 homepage            http://minivmac.sourceforge.net/
    11 master_sites        sourceforge
    12 use_configure       no
    13 worksrcdir          projects/bgcmachs
     5name                    minivmac
     6version                 2.8.2
     7revision                2
     8categories              emulators aqua
     9maintainers             ryandesign
     10homepage                http://minivmac.sourceforge.net/
     11master_sites            sourceforge
     12use_configure           no
     13worksrcdir              projects/bgcmachs
    1414build.target
    15 platforms           darwin
    16 universal_variant   no
    17 use_parallel_build  yes
     15platforms               darwin
     16universal_variant       no
     17use_parallel_build      yes
    1818
    1919description \
    20         a Mac 128K, Mac 512K, Mac 512KE, Mac Plus and Mac SE emulator
     20    a Mac 128K, Mac 512K, Mac 512KE, Mac Plus and Mac SE emulator
    2121
    2222long_description \
    23         Mini vMac is a Macintosh emulator. It emulates the earliest Macs, \
    24         from the original Mac 128K (built 1984-85) to the Mac SE (1987-1990). \
    25         The default is to emulate a Mac Plus (1986-1990)\; this is also \
    26         the best-tested and therefore recommended emulation.
     23    Mini vMac is a Macintosh emulator. It emulates the earliest Macs, \
     24    from the original Mac 128K (built 1984-85) to the Mac SE (1987-1990). \
     25    The default is to emulate a Mac Plus (1986-1990)\; this is also \
     26    the best-tested and therefore recommended emulation.
    2727
    2828distfiles \
    29         ${distname}.prj.tgz \
    30         ${distname}.src.tgz
     29    ${distname}.prj.tgz \
     30    ${distname}.src.tgz
    3131
    3232checksums \
    33         ${distname}.prj.tgz \
    34                 md5 cfd3c6b60080d2184d6895b84c616fbf \
    35                 sha1 8aa54b5708e280d1ed0c1f68aca8a38965cad4e2 \
    36                 rmd160 d0e8d7734109b12caaf909efea231fe2a3a55979 \
    37         ${distname}.src.tgz \
    38                 md5 ff6e67f654f09098ffbb8f26a5a7ae20 \
    39                 sha1 6cdc4b514f3b45869a9fd2c5ee528499e772ad5e \
    40                 rmd160 dc7a827fc1821014b2ac0f9b5cd025e1133d83ef
     33    ${distname}.prj.tgz \
     34        md5    cfd3c6b60080d2184d6895b84c616fbf \
     35        sha1    8aa54b5708e280d1ed0c1f68aca8a38965cad4e2 \
     36        rmd160 d0e8d7734109b12caaf909efea231fe2a3a55979 \
     37    ${distname}.src.tgz \
     38        md5    ff6e67f654f09098ffbb8f26a5a7ae20 \
     39        sha1    6cdc4b514f3b45869a9fd2c5ee528499e772ad5e \
     40        rmd160 dc7a827fc1821014b2ac0f9b5cd025e1133d83ef
    4141
    42 set romfile vMac.ROM
    43 set romfile_model "Macintosh Plus or 512Ke"
     42set romfile             vMac.ROM
     43set romfile_model       "Macintosh Plus or 512Ke"
    4444
    4545post-extract {
    46         reinplace "s|maintained by unknown|maintained by MacPorts|" \
    47                 ${worksrcpath}/config/Info.plist
    48         reinplace "s|#define kMaintainerName \"unknown\"|#define kMaintainerName \"MacPorts\"|" \
    49                 ${worksrcpath}/config/CNFGGLOB.h
     46    reinplace "s|maintained by unknown|maintained by MacPorts|" \
     47        ${worksrcpath}/config/Info.plist
     48    reinplace "s|#define kMaintainerName \"unknown\"|#define kMaintainerName \"MacPorts\"|" \
     49        ${worksrcpath}/config/CNFGGLOB.h
    5050}
    5151
    5252destroot {
    53         xinstall -m 755 -d ${destroot}${applications_dir}
    54         file copy ${worksrcpath}/minivmac.app \
    55                 ${destroot}${applications_dir}/Mini\ vMac.app
     53    xinstall -m 755 -d ${destroot}${applications_dir}
     54    file copy ${worksrcpath}/minivmac.app \
     55        ${destroot}${applications_dir}/Mini\ vMac.app
    5656}
    5757
    5858post-install {
    59         if { ! [file exists ${applications_dir}/${romfile}] } {
    60                 ui_msg "**************************************************************"
    61                 ui_msg "Mini vMac requires a ROM file from the type of machine you're"
    62                 ui_msg "emulating in order to work. The ROM file is not included with"
    63                 ui_msg "this package because it is copyrighted Apple software."
    64                 ui_msg "Download the CopyRoms program from the Mini vMac web site"
    65                 ui_msg "(${homepage} > More > Extras)"
    66                 ui_msg "and transfer it to a real physical ${romfile_model}"
    67                 ui_msg "that you own. Run the CopyRoms program there, then transfer"
    68                 ui_msg "the ROM file back to this Mac, name it ${romfile},"
    69                 ui_msg "and put it in ${applications_dir}."
    70                 ui_msg "**************************************************************"
    71         }
     59    if { ! [file exists ${applications_dir}/${romfile}] } {
     60        ui_msg "**************************************************************"
     61        ui_msg "Mini vMac requires a ROM file from the type of machine you're"
     62        ui_msg "emulating in order to work. The ROM file is not included with"
     63        ui_msg "this package because it is copyrighted Apple software."
     64        ui_msg "Download the CopyRoms program from the Mini vMac web site"
     65        ui_msg "(${homepage} > More > Extras)"
     66        ui_msg "and transfer it to a real physical ${romfile_model}"
     67        ui_msg "that you own. Run the CopyRoms program there, then transfer"
     68        ui_msg "the ROM file back to this Mac, name it ${romfile},"
     69        ui_msg "and put it in ${applications_dir}."
     70        ui_msg "**************************************************************"
     71    }
    7272}
    7373
    7474if { ![variant_isset mac128k] && ![variant_isset mac512k] && ![variant_isset mac512ke] && ![variant_isset macse] } {
    75         default_variants +macplus
     75    default_variants +macplus
    7676}
    7777
    7878variant mac128k conflicts mac512k mac512ke macplus macse description {Emulate a Macintosh with 128K RAM and 2 drives} {
    79         patchfiles-append patch-CNFGGLOB.h-mac128k.diff
    80         set romfile Mac128K.ROM
    81         set romfile_model "Macintosh 128K or 512K"
     79    patchfiles-append patch-CNFGGLOB.h-mac128k.diff
     80    set romfile Mac128K.ROM
     81    set romfile_model "Macintosh 128K or 512K"
    8282}
    8383
    8484variant mac512k conflicts mac128k mac512ke macplus macse description {Emulate a Macintosh 512K with 512K RAM and 2 drives} {
    85         patchfiles-append patch-CNFGGLOB.h-mac512k.diff
    86         set romfile Mac128K.ROM
    87         set romfile_model "Macintosh 128K or 512K"
     85    patchfiles-append patch-CNFGGLOB.h-mac512k.diff
     86    set romfile Mac128K.ROM
     87    set romfile_model "Macintosh 128K or 512K"
    8888}
    8989
    9090variant mac512ke conflicts mac128k mac512k macplus macse description {Emulate a Macintosh 512Ke with 512K RAM and 6 drives} {
    91         patchfiles-append patch-CNFGGLOB.h-mac512ke.diff
     91    patchfiles-append patch-CNFGGLOB.h-mac512ke.diff
    9292}
    9393
    9494variant macplus conflicts mac128k mac512k mac512ke macse description {Emulate a Macintosh Plus with 4 MB RAM and 6 drives (default)} {
    95         # Mac Plus emulation is the default so we don't need to do anything here
     95    # Mac Plus emulation is the default so we don't need to do anything here
    9696}
    9797
    9898variant macse conflicts mac128k mac512k mac512ke macplus description {Emulate a Macintosh SE with 4 MB RAM and 6 drives} {
    99         patchfiles-append patch-CNFGGLOB.h-macse.diff
    100         set romfile MacSE.ROM
    101         set romfile_model "Macintosh SE"
     99    patchfiles-append patch-CNFGGLOB.h-macse.diff
     100    set romfile MacSE.ROM
     101    set romfile_model "Macintosh SE"
    102102}
    103103
    104 livecheck.check     regex
    105 livecheck.url       ${homepage}download.html
    106 livecheck.regex     ${name}-(\[0-9.\]+)\\.src
     104livecheck.check         regex
     105livecheck.url           ${homepage}download.html
     106livecheck.regex         ${name}-(\[0-9.\]+)\\.src
Note: See TracChangeset for help on using the changeset viewer.