source: trunk/dports/textproc/yamcha/Portfile

Last change on this file was 154217, checked in by ryandesign@…, 9 months ago

yamcha: Always run autoreconf

Since we are patching configure.in, the configure script always needs
to be regenerated.

Rename configure.in to configure.ac since that's what autoconf wants.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 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 154217 2016-10-24 14:50:23Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                yamcha
7version             0.33
8categories          textproc math
9platforms           darwin
10maintainers         hum openmaintainer
11license             LGPL-2.1
12
13description         Yet Another Multipurpose CHunk Annotator
14
15long_description    YamCha is a generic, customizable, and open source text \
16                    chunker oriented toward a lot of NLP tasks, such as POS \
17                    tagging, Named Entity Recognition, base NP chunking, and \
18                    Text Chunking. YamCha is using a state-of-the-art machine \
19                    learning algorithm called Support Vector Machines (SVMs), \
20                    first introduced by Vapnik in 1995.
21
22homepage            http://www.chasen.org/~taku/software/yamcha/
23master_sites        ${homepage}src/
24
25checksums           sha1    4ee6d8150557761f86fcb8af118636b7c23920c0 \
26                    rmd160  ac21fa16a45efa40775d426cd6229f612a7aa21e
27
28depends_lib         port:perl5 \
29                    port:TinySVM
30
31post-extract {
32    move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
33}
34
35patchfiles          patch-configure.ac.diff
36
37use_autoreconf      yes
38
39configure.args      --with-svm-learn=${prefix}/bin/svm_learn
40
41test.run            yes
42test.target         check
43
44livecheck.type      regex
45livecheck.url       [lindex ${master_sites} 0]
46livecheck.regex     ${name}-(\[0-9.\]+)\\.
Note: See TracBrowser for help on using the repository browser.