Ticket #23086: Portfile

File Portfile, 1.7 KB (added by yacoob@…, 14 years ago)

Portfile for pyfa

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# $Id: $
3
4PortSystem          1.0
5
6name                pyfa
7version             0.7
8categories          games
9platforms           darwin
10maintainers         gmail.com:yacoob
11description         Python fitting assistant for EVE-Online
12long_description    pyfa is the Python Fitting Assistant, a standalone \
13                    application to create ship fittings for the \
14                    EVE-Online SciFi MMORPG.
15homepage            http://pyfa.sourceforge.net/
16platforms           darwin
17depends_run         port:py26-gtk
18
19
20default_variants    +stable
21
22variant 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
29variant 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
35worksrcdir          ${name}
36use_configure       no
37
38build { }
39
40set python_path         ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/${name}
41set python_target_path  ${destroot}/${python_path}
42
43destroot {
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
50livecheck.url       http://sourceforge.net/api/file/index/project-id/270992/rss
51livecheck.regex     ${name}-(\[a-z0-9\.\]+)-src.tar.gz