Ticket #18903: py-django_r1.diff
File py-django_r1.diff, 1.6 KB (added by arthur@…, 16 years ago) |
---|
-
Portfile
old new 5 5 6 6 name py-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 … … 24 25 25 26 variant bash_completion { 26 27 depends_run-append port:bash-completion 28 patchfiles patch-extras-django_bash_completion.diff 27 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.4.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 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 41 45 } 42 46 43 47 livecheck.check regex