# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-freeling version 3.1 revision 0 categories-append devel textproc platforms darwin license GPL-3+ python.versions 27 33 maintainers stromnov openmaintainer description Python API for FreeLing long_description ${description} homepage http://nlp.lsi.upc.edu/freeling/ master_sites http://devel.cpl.upc.edu/freeling/downloads/32?dummy= distname freeling-${version} dist_subdir freeling checksums rmd160 85be3adcf20690040d2d3e5927c9ea02b896a652 \ sha256 e98471ceb3f58afbe70369584d8d316323d13fcc51d09b2fd7f431a3220982ba if {${name} ne ${subport}} { depends_build-append \ port:freeling \ port:swig-python worksrcdir ${distname}/APIs/python patchfiles-append patch-APIs_python_setup.py.diff if {${python.version} >= 30} { patchfiles-append patch-py3-APIs_python_setup.py.diff } livecheck.type none } else { livecheck.type regex livecheck.url http://devel.cpl.upc.edu/freeling/downloads/ livecheck.regex {freeling-(\d+(?:\.\d+)*)\.[tz]} }