Ticket #18903: py-django_r1.diff

File py-django_r1.diff, 1.6 KB (added by arthur@…, 16 years ago)

py-django r1

  • Portfile

    old new  
    55
    66name                py-django
    77version             1.0.2
     8revision            1
    89categories          python www
    910platforms           darwin
    1011maintainers         arthurkoziel.com:arthur
     
    2425
    2526variant bash_completion {
    2627    depends_run-append  port:bash-completion
     28    patchfiles patch-extras-django_bash_completion.diff
    2729
    2830    post-destroot {
    2931        xinstall -d ${destroot}${prefix}/etc/bash_completion.d
    3032        xinstall -m 644 ${worksrcpath}/extras/django_bash_completion \
    31             ${destroot}${prefix}/etc/bash_completion.d/django-admin.py
     33            ${destroot}${prefix}/etc/bash_completion.d/django-admin-2.4.py
    3234    }
    3335}
    3436
    3537post-destroot   {
    36         xinstall -m 644 -W ${worksrcpath} AUTHORS INSTALL LICENSE README \
    37                 ${destroot}${prefix}/share/doc/${name}
     38    xinstall -m 644 -W ${worksrcpath} AUTHORS INSTALL LICENSE README \
     39        ${destroot}${prefix}/share/doc/${name}
    3840
    39         file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}/docs
    40         file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}/examples
     41    file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}/docs
     42    file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}/examples
     43       
     44    move ${destroot}${prefix}/bin/django-admin.py ${destroot}${prefix}/bin/django-admin-2.4.py
    4145}
    4246
    4347livecheck.check     regex