[113454] trunk/dports/textproc

hum at macports.org hum at macports.org
Sat Nov 16 06:05:31 PST 2013


Revision: 113454
          https://trac.macports.org/changeset/113454
Author:   hum at macports.org
Date:     2013-11-16 06:05:31 -0800 (Sat, 16 Nov 2013)
Log Message:
-----------
New port: stanford-ner @ 3.3.0 - a high-performance machine learning based named entity recognition system.

Added Paths:
-----------
    trunk/dports/textproc/stanford-ner/
    trunk/dports/textproc/stanford-ner/Portfile

Added: trunk/dports/textproc/stanford-ner/Portfile
===================================================================
--- trunk/dports/textproc/stanford-ner/Portfile	                        (rev 0)
+++ trunk/dports/textproc/stanford-ner/Portfile	2013-11-16 14:05:31 UTC (rev 113454)
@@ -0,0 +1,62 @@
+# -*- 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
+
+name                stanford-ner
+version             3.3.0
+categories          textproc java
+maintainers         hum openmaintainer
+
+description         a high-performance machine learning based named entity recognition system
+long_description    ${description}, including facilities to train models from \
+                    supervised training data and pre-trained models for English.
+
+homepage            http://nlp.stanford.edu/software/CRF-NER.shtml
+platforms           darwin
+license             GPL-2+
+
+master_sites        http://nlp.stanford.edu/software
+checksums           rmd160  733cf967cfcf41fb6ab13a863d3a38bab4a06fa0 \
+                    sha256  d9697cebdc10c0a711cdac324a5b59df480b1f50ba9f5238357ddc3c3c723247
+
+use_zip             yes
+distname            ${name}-2013-11-12
+
+use_configure       no
+supported_archs     noarch
+
+build {}
+
+destroot {
+    # install jar files and scripts.
+    set dest_java ${destroot}${prefix}/share/java/${name}
+    xinstall -d ${dest_java}
+    xinstall -m 644 -W ${worksrcpath} \
+        stanford-ner.jar \
+        ${dest_java}
+    xinstall -m 755 -W ${worksrcpath} \
+        ner.sh ner-gui.sh \
+        ${dest_java}
+    # install classifiers.
+    set dest_cl ${dest_java}/classifiers
+    xinstall -d ${dest_cl}
+    foreach f [glob ${worksrcpath}/classifiers/*.ser.gz] {
+        xinstall -m 644 ${f} ${dest_cl}
+    }
+    # install examples.
+    set dest_ex ${destroot}${prefix}/share/examples/${name}
+    xinstall -d ${dest_ex}
+    xinstall -m 644 -W ${worksrcpath} \
+        sample.txt sample.ner.txt \
+        ${dest_ex}
+    # install additional documents.
+    set dest_doc ${destroot}${prefix}/share/doc/${name}
+    xinstall -d ${dest_doc}
+    xinstall -m 644 -W ${worksrcpath} \
+        LICENSE.txt README.txt \
+        ${dest_doc}
+}
+
+livecheck.type      regex
+livecheck.regex     {version *([0-9.]+) *}


Property changes on: trunk/dports/textproc/stanford-ner/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131116/403e7804/attachment.html>


More information about the macports-changes mailing list