Ticket #53936: libical-Portfile.diff

File libical-Portfile.diff, 1.2 KB (added by pmetzger (Perry E. Metzger), 8 years ago)

Patch to upgrade the Portfile

  • Portfile

    old new  
    99name                libical
    1010
    1111if {${subport} eq "${name}"} {
    12     github.setup    libical libical 1.0.1 v
     12    github.setup    libical libical 2.0.0 v
    1313    conflicts       libical-devel
    1414} else {
    1515    # libical-devel:
    1616    github.setup    libical libical 25bc500e15bafcef7324ec9b6472982b56dcdc6d
    1717    version         1.0.1.351
     18    revision        1
     19    replaced_by     libical
    1820    conflicts       libical
     21    distfiles
     22    pre-configure {
     23        ui_error "Please do not install this port since it has been replaced by 'libical'."
     24        return -code error
     25    }
     26    livecheck.type  none
    1927}
    2028
    2129categories          devel
     
    3442}
    3543
    3644if {${subport} eq "${name}"} {
    37     # v 1.0.1
    38     checksums       rmd160  780f9fb08b324536af362f8812ff671e4d1082d0 \
    39                     sha256  b3898c9ca3522ba4f0454e8b7c26a85b2b1259e16d670cccf7abb035c8a6caa9
     45    # v 2.0.0
     46    checksums       rmd160  1901573af1fb57be8feca3b3dd9db758c3e136ee \
     47                    sha256  c9c076153867cd6ebac23febb276036597443eabd30ba4534d38950a2cbb889e
    4048} else {
    4149    # v1.0.1-351-g25bc500
    4250    checksums       rmd160  4379c5d6d31a78ecb2ceaff6e64a8900e9b30cfe \