Changeset 97563 for trunk/dports/office


Ignore:
Timestamp:
Sep 9, 2012, 10:43:31 AM (7 years ago)
Author:
ryandesign@…
Message:

gcalcli: update to 2.1; update to python27; use 'extract.mkdir yes'

File:
1 edited

Legend:

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

    r89679 r97563  
    33
    44PortSystem          1.0
    5 PortGroup           python26 1.0
     5PortGroup           python27 1.0
    66
    77name                gcalcli
    8 version             1.4
    9 revision            1
     8version             2.1
    109categories          office python devel
    1110maintainers         nomaintainer
     
    2322master_sites        googlecode
    2423extract.suffix      .tgz
    25 checksums           md5     6f01ff01750e06083857347e2a5f11f8 \
    26                     sha1    65edd3b1a825a178746485ca5d8321a40c400794 \
    27                     rmd160  0b75d0e549c40b9d5130f6cf5a1186dee121778d
    2824
    29 depends_lib         port:py26-gdata \
    30                     port:py26-elementtree \
    31                     port:py26-dateutil
     25checksums           rmd160  609926cb35c658e8dcc12d792ae453b4919a020b \
     26                    sha256  6007a7134f7ba4c21dd8f73916ae99b0601213b26f004034936d2bfb28788932
     27
     28depends_lib         port:py27-dateutil \
     29                    port:py27-elementtree \
     30                    port:py27-gdata \
     31                    port:py27-vobject
     32
     33extract.mkdir       yes
    3234
    3335post-patch {
    34         reinplace "s|^#!/usr/bin/python|#!${prefix}/bin/python2.6|" ${workpath}/gcalcli
     36    reinplace "s|^#!/usr/bin/python2|#!${prefix}/bin/python2.7|" ${worksrcpath}/gcalcli
    3537}
    3638
     
    3840
    3941destroot {
    40         xinstall -m 755 ${workpath}/gcalcli ${destroot}${prefix}/bin/$name
     42    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
    4143}
Note: See TracChangeset for help on using the changeset viewer.