1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 114303 2013-12-04 19:18:35Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name eric6 |
---|
7 | version 16.11 |
---|
8 | categories editors devel |
---|
9 | platforms darwin |
---|
10 | maintainers nomaintainer |
---|
11 | license GPL-3 |
---|
12 | |
---|
13 | description Eric is a full featured Python and Ruby editor and IDE, written in python |
---|
14 | |
---|
15 | long_description \ |
---|
16 | Eric is a full featured Python and Ruby editor and IDE, written in python. \ |
---|
17 | It is based on the cross platform Qt gui toolkit, integrating the highly \ |
---|
18 | flexible Scintilla editor control. It is designed to be usable as everdays' \ |
---|
19 | quick and dirty editor as well as being usable as a professional project \ |
---|
20 | management tool integrating many advanced features Python offers the \ |
---|
21 | professional coder.\n\nCurrent stable version is ${name} based on PyQt5/4 \ |
---|
22 | (with Qt5/4) and Python 3 or Python 2.\n |
---|
23 | |
---|
24 | homepage http://eric-ide.python-projects.org/index.html |
---|
25 | master_sites sourceforge:projects/eric-ide/files/${name}/stable/${version}/ |
---|
26 | |
---|
27 | checksums rmd160 59b61f34d93569b1736ebad6f2c86598a3b0e1e6 \ |
---|
28 | sha256 68e6e2a3295f190d62cb006e30851505bcbeacbd8623e09a624730683a709c49 |
---|
29 | |
---|
30 | ## Can use either py*-pyqt4 or py*-pyqt4-devel. |
---|
31 | #depends_lib port:python27 \ |
---|
32 | # path:share/py27-sip/PyQt4:py27-pyqt4 \ |
---|
33 | # port:py27-qscintilla \ |
---|
34 | # port:py27-pysvn \ |
---|
35 | # port:py27-rope \ |
---|
36 | # port:py27-pylint \ |
---|
37 | # port:py27-cx_Freeze \ |
---|
38 | # port:py27-enchant |
---|
39 | |
---|
40 | patchfiles patch-install.py.diff |
---|
41 | |
---|
42 | post-patch { |
---|
43 | reinplace "s|@APPLICATIONS_DIR@|${destroot}${applications_dir}|g" ${worksrcpath}/install.py |
---|
44 | } |
---|
45 | |
---|
46 | # add conflict here to? |
---|
47 | variant python27 conflicts python33 python34 python35 description {Build ${name} with: python27} { |
---|
48 | depends_lib port:python27 |
---|
49 | |
---|
50 | configure.python ${prefix}/bin/python2.7 |
---|
51 | } |
---|
52 | |
---|
53 | variant python33 conflicts python27 python34 python35 description {Build ${name} with: python33} { |
---|
54 | depends_lib port:python33 |
---|
55 | |
---|
56 | configure.python ${prefix}/bin/python3.3 |
---|
57 | } |
---|
58 | |
---|
59 | variant python34 conflicts python27 python33 python35 description {Build ${name} with: python34} { |
---|
60 | depends_lib port:python34 |
---|
61 | |
---|
62 | configure.python ${prefix}/bin/python3.4 |
---|
63 | } |
---|
64 | |
---|
65 | variant python35 conflicts python27 python33 python34 description {Build ${name} with: python34} { |
---|
66 | depends_lib port:python35 |
---|
67 | |
---|
68 | configure.python ${prefix}/bin/python3.5 |
---|
69 | } |
---|
70 | |
---|
71 | variant qt4 description {Build ${name} with QT4} { |
---|
72 | depends_lib port: |
---|
73 | } |
---|
74 | |
---|
75 | variant qt5 description {Build ${name} with QT5} { |
---|
76 | depends_lib port: |
---|
77 | } |
---|
78 | |
---|
79 | # Perhaps use xtra variants for the plugins + adding “pygit”? |
---|
80 | #variant fooBar description {Build with fooBar} { |
---|
81 | # depends_lib port: |
---|
82 | #} |
---|
83 | |
---|
84 | |
---|
85 | #default_variants +qt5 +python35 |
---|
86 | |
---|
87 | |
---|
88 | use_configure no |
---|
89 | |
---|
90 | build { |
---|
91 | # Building and installing are synonymous |
---|
92 | } |
---|
93 | |
---|
94 | destroot { |
---|
95 | system -W ${worksrcpath} "${configure.python} install.py -b '${prefix}/bin' -i '${destroot}'" |
---|
96 | } |
---|
97 | |
---|
98 | livecheck.type regex |
---|
99 | livecheck.url http://eric-ide.python-projects.org/eric-news.html |
---|
100 | livecheck.regex "eric (\\d+\\.\\d+) has been released" |
---|