Ticket #31982: Portfile.diff

File Portfile.diff, 1.3 KB (added by mklein-de (Michael Klein), 13 years ago)
  • Portfile

     
    55PortGroup xcode 1.0
    66
    77name        bean
    8 version         2.4.2
     8version         2.4.4
    99categories  editors aqua
    1010maintainers     nomaintainer
    1111description     A small, simple rich text editor.
     
    1616homepage    http://www.bean-osx.com/
    1717master_sites    http://www.bean-osx.com/source/
    1818
    19 distname        Bean-Source-[string map {. -} $version]
     19distname        Bean-Source
     20dist_subdir ${name}/${version}
    2021use_zip     yes
    21 checksums       \
    22         md5 60905c342bee6cb5f17c76675ca25033 \
    23         sha1 68b53c7fa14004a7adaf47fe6dfb2bfba470b9a3 \
    24         rmd160 e7aad1b02fe0066a0ea136994ebd1d4e804e474d
     22checksums   \
     23    md5 61bfb1c62f772b2c31e5c4d3ab3fb0e2 \
     24    sha1 ce3daa3eeb27aee51dc8f5770ca0c359f8175ec7 \
     25    rmd160  37f0a4eb786748231c699b4254fe9423d010c00f
    2526
    2627supported_archs i386 ppc
    2728
     
    3233xcode.target    Bean
    3334xcode.configuration     Release
    3435
     36post-destroot {
     37    foreach localization [glob ${worksrcpath}/Localizations/*.lproj] {
     38        copy ${localization} ${destroot}${applications_dir}/Bean.app/Contents/Resources/
     39    }
     40}
     41
    3542livecheck.type  regex
    3643livecheck.url   http://www.bean-osx.com/releases/availableVersion.xml
    3744livecheck.regex "<availableVersion>(\[0-9\.\]+)</availableVersion>"