[117682] trunk/dports/textproc
hum at macports.org
hum at macports.org
Fri Mar 7 19:28:09 PST 2014
Revision: 117682
https://trac.macports.org/changeset/117682
Author: hum at macports.org
Date: 2014-03-07 19:28:09 -0800 (Fri, 07 Mar 2014)
Log Message:
-----------
New port: slearp @0.95 - structured learning and predict toolkit.
Added Paths:
-----------
trunk/dports/textproc/slearp/
trunk/dports/textproc/slearp/Portfile
trunk/dports/textproc/slearp/files/
trunk/dports/textproc/slearp/files/patch-Makefile.diff
Added: trunk/dports/textproc/slearp/Portfile
===================================================================
--- trunk/dports/textproc/slearp/Portfile (rev 0)
+++ trunk/dports/textproc/slearp/Portfile 2014-03-08 03:28:09 UTC (rev 117682)
@@ -0,0 +1,49 @@
+# -*- 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 slearp
+version 0.95
+categories textproc math
+maintainers hum openmaintainer
+
+description structured learning and predict toolkit for tasks such as \
+ g2p conversion, based on discriminative leaning
+
+long_description Slearp (structured learning and prediction) is the ${description}.
+
+homepage http://sourceforge.jp/projects/slearp/
+platforms darwin
+license GPL-3
+
+distname ${name}_${version}
+
+master_sites sourceforge_jp:slearp/60712/
+checksums rmd160 e15088a7336f137f588ea3062128ecfec950f69d \
+ sha256 f4849952e714861351e30d444602383f4d02b4be3f5b11566f00c11398d05990
+
+patchfiles patch-Makefile.diff
+
+use_configure no
+variant universal {}
+
+build.target
+build.args CXX="${configure.cxx}" \
+ CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
+
+destroot {
+ xinstall -m 755 ${worksrcpath}/slearp ${destroot}${prefix}/bin
+ set docdir ${prefix}/share/doc/${name}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
+ COPYING readme \
+ ${destroot}${docdir}
+ set exdir ${prefix}/share/examples/${name}
+ xinstall -d ${destroot}${exdir}
+ copy ${worksrcpath}/g2p_example ${destroot}${exdir}
+}
+
+livecheck.type regex
+livecheck.url http://sourceforge.jp/projects/slearp/releases/
+livecheck.regex "${name}_(\\d+(?:\\.\\d+)*)${extract.suffix}"
Property changes on: trunk/dports/textproc/slearp/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/textproc/slearp/files/patch-Makefile.diff
===================================================================
--- trunk/dports/textproc/slearp/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/textproc/slearp/files/patch-Makefile.diff 2014-03-08 03:28:09 UTC (rev 117682)
@@ -0,0 +1,11 @@
+--- Makefile.orig 2014-03-08 12:02:25.000000000 +0900
++++ Makefile 2014-03-08 12:07:52.000000000 +0900
+@@ -9,7 +9,7 @@
+ HED = OptimizePara.h
+
+ $(PROGRAM): $(OBJS) $(HED)
+- $(CXX) $^ $(CXXFLAGS) -o $@
++ $(CXX) $(OBJS) $(CXXFLAGS) -o $@
+
+ .PHONY: clean
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140307/52989e42/attachment-0001.html>
More information about the macports-changes
mailing list