Ticket #17591: Portfile.2

File Portfile.2, 1.7 KB (added by nerdling (Jeremy Lavergne), 15 years ago)

fixing whitespace for PortGroup line

Line 
1# $Id$
2
3PortSystem          1.0
4PortGroup                       python26 1.0
5
6source ${portpath}/../../_resources/port1.0/group/python26-1.0.tcl
7
8name                py26-django
9version             1.0.2
10categories          python www
11platforms           darwin
12maintainers         arthurkoziel.com:arthur
13homepage            http://www.djangoproject.com
14description         Django is a high-level Python Web framework
15long_description    Django is a high-level Python Web framework that \
16                    encourages rapid development and clean, pragmatic \
17                    design.
18
19master_sites        http://media.djangoproject.com/releases/${version}/
20distname            Django-${version}-final
21checksums           md5     89353e3749668778f1370d2e444f3adc \
22                    sha1    f2d9088f17aff47ea17e5767740cab67b2a73b6b \
23                    rmd160  0cfea620df0831310da4ef51ef6ee4ef1b65974e
24
25depends_lib-append  port:py26-setuptools
26
27variant bash_completion description {Bash completion support} {
28    depends_run-append  port:bash-completion
29
30    post-destroot {
31        xinstall -d ${destroot}${prefix}/etc/bash_completion.d
32        xinstall -m 644 ${worksrcpath}/extras/django_bash_completion \
33            ${destroot}${prefix}/etc/bash_completion.d/django-admin.py
34    }
35}
36
37post-destroot   {
38        xinstall -m 644 -W ${worksrcpath} AUTHORS INSTALL LICENSE README \
39                ${destroot}${prefix}/share/doc/${name}
40
41        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}/docs
42        file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}/examples
43}
44
45livecheck.check     regex
46livecheck.url       http://www.djangoproject.com/download/
47livecheck.regex     "The latest official version is (1\.\[0-9\]+\.\[0-9\]+)"