Ticket #18903: py26-django_r1.diff
File py26-django_r1.diff, 2.0 KB (added by arthur@…, 16 years ago) |
---|
-
Portfile
old new 5 5 6 6 name py26-django 7 7 version 1.0.2 8 revision 1 8 9 categories python www 9 10 platforms darwin 10 11 maintainers arthurkoziel.com:arthur … … 22 23 23 24 depends_lib-append port:py26-setuptools 24 25 25 variant bash_completion description {Bash completion support}{26 variant bash_completion { 26 27 depends_run-append port:bash-completion 27 28 patchfiles patch-extras-django_bash_completion.diff 29 28 30 post-destroot { 29 31 xinstall -d ${destroot}${prefix}/etc/bash_completion.d 30 32 xinstall -m 644 ${worksrcpath}/extras/django_bash_completion \ 31 ${destroot}${prefix}/etc/bash_completion.d/django-admin .py33 ${destroot}${prefix}/etc/bash_completion.d/django-admin-2.6.py 32 34 } 33 35 } 34 36 35 37 post-destroot { 36 37 38 xinstall -m 644 -W ${worksrcpath} AUTHORS INSTALL LICENSE README \ 39 ${destroot}${prefix}/share/doc/${name} 38 40 39 ln -s ${python.prefix}/bin/django-admin.py ${destroot}${prefix}/bin/django-admin.py41 ln -s ${python.prefix}/bin/django-admin.py ${destroot}${prefix}/bin/django-admin-2.6.py 40 42 41 42 43 file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}/docs 44 file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}/examples 43 45 } 44 46 45 47 livecheck.check regex 46 48 livecheck.url http://www.djangoproject.com/download/ 47 livecheck.regex "The latest official version is (1\.\[0-9\]+\.\[0-9\]+)" 48 No newline at end of file 49 livecheck.regex "The latest official version is (1\.\[0-9\]+\.\[0-9\]+)"