New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82650


Ignore:
Timestamp:
08/17/11 08:47:32 (4 years ago)
Author:
snc@…
Message:

pspp-devel:

  • update to g72ee64
  • make use of app PortGroup
Location:
trunk/dports/math/pspp-devel
Files:
1 added
1 deleted
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/pspp-devel/Portfile

    r82482 r82650  
    33 
    44PortSystem          1.0 
     5PortGroup           app 1.0 
    56 
    67name                pspp-devel 
    7 set buildstamp      20110814030502 
    8 set buildhash       ge30f5e 
     8set buildstamp      20110816030503 
     9set buildhash       g72ee64 
    910version             0.7.8 
    10 revision            6 
     11revision            8 
    1112# depends_test port:p5-text-diff 
    1213# 2011-08-14: no_* variants obsoleted 
     
    2829distname            pspp-${version}-${buildhash} 
    2930 
    30 depends_lib                 port:gsl \ 
     31depends_lib-append  port:gsl \ 
    3132                    port:libiconv \ 
    3233                    port:zlib \ 
     
    3536                    port:libtool 
    3637 
    37 checksums           rmd160  1dd8f31bd491c83f858b60781cf7b2a23f52b74c \ 
    38                     sha256  f9532a35554a1dcd8a0612f3fb8d24d0c0c2c9b3017db958da4774a0d5d118c8 
     38checksums           rmd160  721d338ad220e1b67197e095f96f1101fcb13441 \ 
     39                    sha256  9e38ffef79733c9fba7cb8ba36788615cd2117f03cc11e986f852283754ce2f7 
     40 
     41post-extract { 
     42    if {[variant_isset gui]} { 
     43        copy ${filespath}/psppire ${worksrcpath} 
     44        copy ${filespath}/logo.png ${worksrcpath} 
     45    } 
     46} 
     47 
     48patch { 
     49    reinplace s|@PREFIX@|${prefix}| ${worksrcpath}/psppire 
     50} 
    3951 
    4052#configure.optflags  -O0 
     
    107119} 
    108120 
    109 post-destroot { 
    110     if {[variant_isset gui]} { 
    111             xinstall -d ${destroot}${applications_dir}/PSPP.app/Contents/MacOS 
    112         xinstall -m 755 ${filespath}/PSPP.app/Contents/MacOS/psppire \ 
    113             ${destroot}${applications_dir}/PSPP.app/Contents/MacOS 
    114             xinstall -m 644 ${filespath}/PSPP.app/Contents/Info.plist \ 
    115                     ${destroot}${applications_dir}/PSPP.app/Contents 
    116         reinplace s|@VERSION@|${version}|g \ 
    117             ${destroot}${applications_dir}/PSPP.app/Contents/Info.plist 
    118         reinplace s|@PREFIX@|${prefix}|g \ 
    119             ${destroot}${applications_dir}/PSPP.app/Contents/MacOS/psppire 
    120         reinplace s|@NAME@|${name}|g \ 
    121             ${destroot}${applications_dir}/PSPP.app/Contents/Info.plist 
    122             xinstall -m 644 ${filespath}/PSPP.app/Contents/PkgInfo \ 
    123                 ${destroot}${applications_dir}/PSPP.app/Contents 
    124     } 
     121if {![variant_isset gui]} { 
     122    app.create      no 
    125123} 
     124app.name            PSPP 
     125app.executable      ${worksrcpath}/psppire 
     126app.icon            ${worksrcpath}/logo.png 
    126127 
    127128livecheck.url               http://pspp.benpfaff.org/~blp/pspp-master/latest/ 
Note: See TracChangeset for help on using the changeset viewer.