Changeset 88966 for trunk/dports/office


Ignore:
Timestamp:
Jan 15, 2012, 3:40:57 PM (8 years ago)
Author:
snc@…
Message:

todotxt:

  • use github portgroup
  • suffix default config file with -dist
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/office/todotxt/Portfile

    r83989 r88966  
    33
    44PortSystem          1.0
     5PortGroup           github 1.0
    56
     7github.setup        ginatrapani todo.txt-cli v2.8
    68name                todotxt
    79version             2.8
     
    1416                    todo.txt file.
    1517
    16 homepage            http://ginatrapani.github.com/todo.txt-cli/
    17 
    1818platforms           darwin
    1919
    20 master_sites        http://github.com/downloads/ginatrapani/todo.txt-cli
    21 distname            todo.txt_cli-${version}
    22 
    23 checksums           rmd160  55d31bc3c139b95127bc5ff20e9c8352a962c1d6 \
    24                     sha256  848c5ccd48cf7580730bf2caf91fbe5516c547b24f4d1cecb92c55c31284f135
     20checksums           rmd160  ce30f41d4e0e7e8874a97bbe00a648e11cf211e1 \
     21                    sha256  9c3a84babb5d1e58fa6090933b8d1d2b70ec3b22366277bea88fc32b0f09ea09
    2522
    2623use_configure       no
     
    3027destroot {
    3128    xinstall -m 755 ${worksrcpath}/todo.sh ${destroot}${prefix}/bin/$name
    32     xinstall -m 644 ${worksrcpath}/todo.cfg ${destroot}${prefix}/etc/todo.cfg
     29    xinstall -m 644 ${worksrcpath}/todo.cfg ${destroot}${prefix}/etc/todo.cfg-dist
    3330}
    3431
    3532notes \
    3633"You will need to copy and then edit the default configuration
    37 (${prefix}/etc/todo.cfg) in your home directory."
    38 
    39 livecheck.type      regex
    40 livecheck.url       http://github.com/ginatrapani/todo.txt-cli/downloads
    41 livecheck.regex     "todo\\.txt_cli-(\\d+\\.\\d+(\\.\\d+)?)"
     34(${prefix}/etc/todo.cfg-dist) in your home directory."
Note: See TracChangeset for help on using the changeset viewer.