source: trunk/dports/python/py-freeling/Portfile

Last change on this file was 114324, checked in by ryandesign@…, 4 years ago

python ports: use eq and ne when comparing ${subport} instead of == and !=

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
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: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-freeling
8version             3.1
9revision            0
10categories-append   devel textproc
11platforms           darwin
12license             GPL-3+
13
14python.versions     27 33
15
16maintainers         stromnov openmaintainer
17
18description         Python API for FreeLing
19long_description    ${description}
20
21homepage            http://nlp.lsi.upc.edu/freeling/
22master_sites        http://devel.cpl.upc.edu/freeling/downloads/32?dummy=
23
24distname            freeling-${version}
25dist_subdir         freeling
26
27checksums           rmd160  85be3adcf20690040d2d3e5927c9ea02b896a652 \
28                    sha256  e98471ceb3f58afbe70369584d8d316323d13fcc51d09b2fd7f431a3220982ba
29
30if {${name} ne ${subport}} {
31    depends_build-append \
32                        port:freeling \
33                        port:swig-python
34
35    worksrcdir          ${distname}/APIs/python
36    patchfiles-append   patch-APIs_python_setup.py.diff
37
38    if {${python.version} >= 30} {
39        patchfiles-append   patch-py3-APIs_python_setup.py.diff
40    }
41
42    livecheck.type      none
43} else {
44    livecheck.type      regex
45    livecheck.url       http://devel.cpl.upc.edu/freeling/downloads/
46    livecheck.regex     {freeling-(\d+(?:\.\d+)*)\.[tz]}
47}
Note: See TracBrowser for help on using the repository browser.