Changeset 26328 for trunk/dports/gnustep


Ignore:
Timestamp:
Jun 19, 2007, 9:17:05 PM (12 years ago)
Author:
yves@…
Message:

Add a devel variant to keep the unstable stuff out of the stable (Oh boy !)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gnustep/Etoile/Portfile

    r26304 r26328  
    66name            Etoile
    77version         0.1.9
     8revision        1
    89platforms       darwin
    910maintainers     yves@macports.org
     
    2021svn.url         http://svn.gna.org/svn/etoile/stable/Etoile
    2122
    22 ############################# DEBUG FETCH ##############################
     23####################### DEVELOPMENT FETCH ##############################
    2324#fetch {
    2425#    file copy ${portpath}/Etoile ${workpath}
     
    6768}
    6869
    69 # This needs StepTalk, not yet in MacPorts
    70 build.args      corner=no
    71 destroot.args   corner=no
     70build.args      etoile-extensions=no menuserver=yes jabber=no outerspace=no sketch=no
     71destroot.args   etoile-extensions=no menuserver=yes jabber=no outerspace=no sketch=no
    7272
    7373post-destroot {
    7474    cd ${destroot}${prefix}
    75     xinstall -d GNUstep/System/Library/Etoile
    76     xinstall -m 644 ${worksrcpath}/Services/Private/System/SystemTaskList.plist \
    77         GNUstep/System/Library/Etoile
    78     xinstall -d share/xsessions
    79     xinstall -m 644 ${worksrcpath}/Services/Private/System/etoile.desktop \
    80         share/xsessions
    8175    xinstall -d GNUstep/Local/Library/Themes
    8276    file copy ${worksrcpath}/Bundles/Camaelon/Nesedah.theme \
     
    8478    file copy ${worksrcpath}/Services/User/Calc/Calc.app \
    8579        GNUstep/Local/Applications
    86     system "echo \". ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh; \
    87                 etoile_system\" > bin/etoile &&
    88                 chmod 755 bin/etoile &&
    89                 cd GNUstep/Local/Tools &&
    90                 ln -s ../Applications/Calc.app/Calc &&
    91                 cd ../Library/Headers &&
    92                 rm -f AddressBook &&
    93                 ln -s Addresses AddressBook"
     80    system "
     81        cd GNUstep/Local/Tools &&
     82        ln -s ../Applications/Calc.app/Calc &&
     83        cd ../Library/Headers &&
     84        rm -f AddressBook &&
     85        ln -s Addresses AddressBook
     86    "
    9487}
    9588
     89variant devel {
     90    build.args-delete       etoile-extensions=no menuserver=yes jabber=no outerspace=no sketch=no
     91    destroot.args-delete    etoile-extensions=no menuserver=yes jabber=no outerspace=no sketch=no
     92    build.args-append       debug=yes corner=no
     93    destroot.args-append    debug=yes corner=no
     94
     95    post-destroot {
     96        cd ${destroot}${prefix}
     97        xinstall -d GNUstep/System/Library/Etoile
     98        xinstall -m 644 ${worksrcpath}/Services/Private/System/SystemTaskList.plist \
     99            GNUstep/System/Library/Etoile
     100        xinstall -d share/xsessions
     101        xinstall -m 644 ${worksrcpath}/Services/Private/System/etoile.desktop \
     102            share/xsessions
     103        system "
     104            echo \". ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh; \
     105            etoile_system\" > bin/etoile &&
     106            chmod 755 bin/etoile
     107        "
     108    }
     109}
     110
Note: See TracChangeset for help on using the changeset viewer.