Ignore:
Timestamp:
Apr 5, 2007, 8:03:06 AM (13 years ago)
Author:
ryandesign@…
Message:

Move the code out of the darwin variant and into the portfile generally. I don't see why we need to put all that in a darwin variant.

File:
1 edited

Legend:

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

    r23555 r23609  
    3232build.target
    3333
    34 variant darwin  {
    35         worksrcdir              projects/bgcmachs
    36        
    37         post-extract {
    38                 reinplace "s|maintained by unknown|maintained by MacPorts|" \
    39                         ${worksrcpath}/config/Info.plist
    40                 reinplace "s|#define kMaintainerName \"unknown\"|#define kMaintainerName \"MacPorts\"|" \
    41                         ${worksrcpath}/config/CNFGGLOB.h
    42         }
    43        
    44         destroot        {
    45                 xinstall -m 755 -d ${destroot}/Applications/MacPorts
    46                 file copy ${worksrcpath}/minivmac.app \
    47                         ${destroot}/Applications/MacPorts/Mini\ vMac.app
    48         }
     34worksrcdir              projects/bgcmachs
     35
     36post-extract {
     37        reinplace "s|maintained by unknown|maintained by MacPorts|" \
     38                ${worksrcpath}/config/Info.plist
     39        reinplace "s|#define kMaintainerName \"unknown\"|#define kMaintainerName \"MacPorts\"|" \
     40                ${worksrcpath}/config/CNFGGLOB.h
    4941}
     42
     43destroot {
     44        xinstall -m 755 -d ${destroot}/Applications/MacPorts
     45        file copy ${worksrcpath}/minivmac.app \
     46                ${destroot}/Applications/MacPorts/Mini\ vMac.app
     47}
Note: See TracChangeset for help on using the changeset viewer.