Changeset 4489 for trunk/dports


Ignore:
Timestamp:
Jan 6, 2004, 4:56:49 PM (20 years ago)
Author:
mww
Message:

adding .app hook on darwin systems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/games/defendguin/Portfile

    r4472 r4489  
    1 # $Id: Portfile,v 1.1 2004/01/06 03:42:27 mww Exp $
     1# $Id: Portfile,v 1.2 2004/01/06 16:56:49 mww Exp $
    22
    33PortSystem 1.0
     
    88platforms       darwin
    99maintainers     mww@opendarwin.org
    10 description     clone of the classic arcade game 'Defender'
    11 long_description        'Defendguin' is based loosely on William's classic \
    12                         arcade game, 'Defender'. Some recognizable stars in \
     10description     clone of the classic arcade game Defender
     11long_description        Defendguin is based loosely on William's classic \
     12                        arcade game, Defender. Some recognizable stars in \
    1313                        the realm of modern operating systems should be fairly \
    1414                        obvious. Story: A certain monopoly-owning bad guy has \
     
    3737                MAN_PREFIX=${destroot}${prefix}/share
    3838
    39 post-destroot   {
     39pre-destroot    {
    4040        file mkdir ${destroot}${prefix}/share/doc/${name}
    4141        file copy ${worksrcpath}/CHANGES.txt ${worksrcpath}/COPYING.txt \
     
    4444                ${destroot}${prefix}/share/doc/${name}
    4545}
     46
     47variant darwin  {
     48        post-destroot   {
     49                file mkdir ${destroot}/Applications/DarwinPorts/Defendguin.app/Contents/MacOS
     50                system "ln -s ${prefix}/bin/defendguin \
     51                        ${destroot}/Applications/DarwinPorts/Defendguin.app/Contents/MacOS/Defendguin"
     52        }
     53}
Note: See TracChangeset for help on using the changeset viewer.