| 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 | # $Id: $ |
|---|
| 3 | |
|---|
| 4 | PortSystem 1.0 |
|---|
| 5 | |
|---|
| 6 | name pyfa |
|---|
| 7 | version 0.7 |
|---|
| 8 | categories games |
|---|
| 9 | platforms darwin |
|---|
| 10 | maintainers gmail.com:yacoob |
|---|
| 11 | description Python fitting assistant for EVE-Online |
|---|
| 12 | long_description pyfa is the Python Fitting Assistant, a standalone \ |
|---|
| 13 | application to create ship fittings for the \ |
|---|
| 14 | EVE-Online SciFi MMORPG. |
|---|
| 15 | homepage http://pyfa.sourceforge.net/ |
|---|
| 16 | platforms darwin |
|---|
| 17 | depends_run port:py26-gtk |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | default_variants +stable |
|---|
| 21 | |
|---|
| 22 | variant stable conflicts dev description {Currently released stable version} { |
|---|
| 23 | master_sites sourceforge:pyfa |
|---|
| 24 | distfiles ${name}-${version}-src.tar.gz |
|---|
| 25 | |
|---|
| 26 | checksums md5 bed794605fa9f3bc1619cf06ff703148 |
|---|
| 27 | } |
|---|
| 28 | |
|---|
| 29 | variant dev conflicts stable description {Current repository content} { |
|---|
| 30 | fetch.type git |
|---|
| 31 | git.url git://pyfa.git.sourceforge.net/gitroot/pyfa/pyfa |
|---|
| 32 | version git |
|---|
| 33 | } |
|---|
| 34 | |
|---|
| 35 | worksrcdir ${name} |
|---|
| 36 | use_configure no |
|---|
| 37 | |
|---|
| 38 | build { } |
|---|
| 39 | |
|---|
| 40 | set python_path ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/${name} |
|---|
| 41 | set python_target_path ${destroot}/${python_path} |
|---|
| 42 | |
|---|
| 43 | destroot { |
|---|
| 44 | xinstall -d -m 755 ${python_target_path} |
|---|
| 45 | eval file copy [glob ${worksrcpath}/*] ${python_target_path} |
|---|
| 46 | ln -s ${python_path}/launch.py ${destroot}${prefix}/bin/pyfa |
|---|
| 47 | ln -s ${python_path}/downloadData.py ${destroot}${prefix}/bin/pyfa-download-data |
|---|
| 48 | } |
|---|
| 49 | |
|---|
| 50 | livecheck.url http://sourceforge.net/api/file/index/project-id/270992/rss |
|---|
| 51 | livecheck.regex ${name}-(\[a-z0-9\.\]+)-src.tar.gz |
|---|