Commits
David B. Evans authored 8183a4a403a
1 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 2 | |
3 3 | PortSystem 1.0 |
4 4 | |
5 5 | name libgpod |
6 6 | version 0.8.3 |
7 + | revision 1 |
7 8 | set branch [join [lrange [split ${version} .] 0 1] .] |
8 9 | categories multimedia |
9 10 | platforms darwin |
10 11 | maintainers nomaintainer |
11 12 | license LGPL-2.1+ GPL-2+ |
12 13 | |
13 14 | description libgpod is a library to access the contents of an iPod. |
14 15 | |
15 16 | long_description ${description} This library is based on code used in the \ |
16 17 | gtkpod project. Starting with V0.96.CVS gtkpod depends \ |
94 95 | # fix install location of Python stuff, if variant is selected |
95 96 | if {${python.branch} != ""} { |
96 97 | set dr_python_dir ${destroot}${python.prefix}/lib |
97 98 | xinstall -m 755 -d ${dr_python_dir} |
98 99 | move ${destroot}${prefix}/lib/python${python.branch} \ |
99 100 | ${dr_python_dir} |
100 101 | } |
101 102 | } |
102 103 | |
103 104 | livecheck.type regex |
104 - | livecheck.url http://sourceforge.net/projects/gtkpod/files/${name} |
105 - | livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)" |
105 + | livecheck.url http://sourceforge.net/projects/gtkpod/files/${name}/${name}-${branch} |
106 + | livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" |