source: trunk/dports/devel/eric4/Portfile

Last change on this file was 114303, checked in by michaelld@…, 4 years ago

various dports: allow use of either py*-pyqt4 or py*-pyqt4-devel.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
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
4PortSystem      1.0
5
6name            eric4
7version         4.5.13
8categories      devel
9platforms       darwin
10maintainers     nomaintainer
11license         GPL-3
12
13description     Eric is a full featured Python and Ruby editor and IDE, written in python
14
15long_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.
22
23homepage        http://eric-ide.python-projects.org/index.html
24master_sites    sourceforge:project/eric-ide/${name}/stable/${version}/
25
26checksums       rmd160  0b01bb4c46c4ac959b5f45f037caeece624c504d \
27                sha256  7032ff5758455b89fe733b41956e8ea60e215c4381603e897116cd15bb29da65
28
29# Can use either py*-pyqt4 or py*-pyqt4-devel.
30depends_lib     port:python27 \
31                path:share/py27-sip/PyQt4:py27-pyqt4 \
32                port:py27-qscintilla \
33                port:py27-pysvn \
34                port:py27-rope \
35                port:py27-pylint \
36                port:py27-cx_Freeze \
37                port:py27-enchant
38
39patchfiles      patch-install.py.diff
40
41post-patch {
42    reinplace "s|@APPLICATIONS_DIR@|${destroot}${applications_dir}|g" ${worksrcpath}/install.py
43}
44
45use_configure   no
46
47build {
48    # Building and installing are synonymous
49}
50
51destroot {
52    system -W ${worksrcpath} "${prefix}/bin/python2.7 install.py -b '${prefix}/bin' -i '${destroot}'"
53}
54
55livecheck.type  regex
56livecheck.url   http://eric-ide.python-projects.org/eric-news.html
57livecheck.regex "eric4 (\\d+\\.\\d+\\.\\d+) has been released"
Note: See TracBrowser for help on using the repository browser.