Ticket #28241: Portfile

File Portfile, 1.7 KB (added by jls@…, 14 years ago)
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2
3PortSystem          1.0
4PortGroup           python27 1.0
5
6name                py27-sqlalchemy
7version             0.6.6
8revision            0
9categories          python databases
10platforms           darwin
11maintainers         akitada openmaintainer
12
13description         Python SQL ORM
14long_description    SQLAlchemy is the Python SQL toolkit and Object \
15                    Relational Mapper that gives application developers \
16                    the full power and flexibility of SQL.
17
18homepage            http://www.sqlalchemy.org/
19master_sites        sourceforge:sqlalchemy
20
21distname            SQLAlchemy-${version}
22
23checksums           md5     359f02242c52e92aa881c36c8e3720d8 \
24                    sha1    6ed990141710b95a583b3e22cbd5c0eeff5076c5 \
25                    rmd160  d0d215eedb45d15f7f7fe0459eae93ad7213225c
26
27depends_lib         port:py26-distribute
28
29default_variants    +cextensions
30
31variant cextensions description {With C extensions} {
32    build.cmd-append    --with-cextensions
33    destroot.cmd-append --with-cextensions
34}
35
36post-destroot {
37    # Install example files not installed by the Makefile
38    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
39    foreach f [glob -directory ${worksrcpath}/doc *] {
40        copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f]
41    }
42    foreach f [glob -directory ${worksrcpath}/examples *] {
43        copy $f ${destroot}${prefix}/share/doc/${name}/examples/[file tail $f]
44    }
45}
46
47livecheck.regex     {<a href="/download\.html"><b>(.+?)</b></a>}
48livecheck.type      regex
49livecheck.url       ${homepage}