[98274] trunk/dports/textproc
hum at macports.org
hum at macports.org
Mon Oct 1 06:19:30 PDT 2012
Revision: 98274
http://trac.macports.org//changeset/98274
Author: hum at macports.org
Date: 2012-10-01 06:19:30 -0700 (Mon, 01 Oct 2012)
Log Message:
-----------
New port: lader @0.1.1 - Latent Derivation Rerorderer
Added Paths:
-----------
trunk/dports/textproc/lader/
trunk/dports/textproc/lader/Portfile
trunk/dports/textproc/lader/files/
trunk/dports/textproc/lader/files/patch-src-Makefile.diff
Added: trunk/dports/textproc/lader/Portfile
===================================================================
--- trunk/dports/textproc/lader/Portfile (rev 0)
+++ trunk/dports/textproc/lader/Portfile 2012-10-01 13:19:30 UTC (rev 98274)
@@ -0,0 +1,42 @@
+# -*- 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 lader
+version 0.1.1
+categories textproc
+maintainers hum openmaintainer
+
+description Latent Derivation Rerorderer
+
+long_description lader is a program that is able to train and use \
+ discriminative parsers to improve machine translation \
+ reordering. It is unlike other parsers in that it can be \
+ trained directly from aligned parallel text with no \
+ annotated syntax trees. Using it for translation between \
+ language pairs with very different word order can greatly \
+ improve translation accuracy.
+
+homepage http://www.phontron.com/lader/
+platforms darwin
+license EPL-1
+
+master_sites ${homepage}download/
+checksums rmd160 80c055e5f9a73aac9fb6a59c7edc82ef3927bad5 \
+ sha256 512a591517a09c653d36aa82113870cb175c6afd23fb5527bc3c4d014a138ee3
+
+depends_lib port:boost
+
+patchfiles patch-src-Makefile.diff
+
+post-destroot {
+ set doc_dir ${destroot}${prefix}/share/doc/${name}
+ xinstall -d ${doc_dir}
+ xinstall -m 644 -W ${worksrcpath} \
+ AUTHORS COPYING README \
+ ${doc_dir}
+}
+
+livecheck.type regex
+livecheck.regex ${name}-(\[0-9.\]+)\\.
Property changes on: trunk/dports/textproc/lader/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/textproc/lader/files/patch-src-Makefile.diff
===================================================================
--- trunk/dports/textproc/lader/files/patch-src-Makefile.diff (rev 0)
+++ trunk/dports/textproc/lader/files/patch-src-Makefile.diff 2012-10-01 13:19:30 UTC (rev 98274)
@@ -0,0 +1,59 @@
+--- src/bin/Makefile.am.orig 2012-07-27 22:49:43.000000000 +0900
++++ src/bin/Makefile.am 2012-09-04 01:37:00.000000000 +0900
+@@ -4,13 +4,13 @@
+ bin_PROGRAMS = train-lader lader evaluate-lader label-ranking
+
+ train_lader_SOURCES = train-lader.cc
+-train_lader_LDADD = ../lib/liblader.la -lboost_regex -lboost_thread
++train_lader_LDADD = ../lib/liblader.la -lboost_regex-mt -lboost_thread-mt -lboost_system-mt
+
+ lader_SOURCES = lader.cc
+-lader_LDADD = ../lib/liblader.la -lboost_regex -lboost_thread
++lader_LDADD = ../lib/liblader.la -lboost_regex-mt -lboost_thread-mt -lboost_system-mt
+
+ evaluate_lader_SOURCES = evaluate-lader.cc
+-evaluate_lader_LDADD = ../lib/liblader.la -lboost_regex -lboost_thread
++evaluate_lader_LDADD = ../lib/liblader.la -lboost_regex-mt -lboost_thread-mt -lboost_system-mt
+
+ label_ranking_SOURCES = label-ranking.cc
+-label_ranking_LDADD = ../lib/liblader.la -lboost_regex -lboost_thread
++label_ranking_LDADD = ../lib/liblader.la -lboost_regex-mt -lboost_thread-mt -lboost_system-mt
+--- src/bin/Makefile.in.orig 2012-09-04 01:39:38.000000000 +0900
++++ src/bin/Makefile.in 2012-09-04 01:52:05.000000000 +0900
+@@ -200,13 +200,13 @@
+ top_srcdir = @top_srcdir@
+ AM_CPPFLAGS = -I$(srcdir)/../include
+ train_lader_SOURCES = train-lader.cc
+-train_lader_LDADD = ../lib/liblader.la -lboost_regex -lboost_thread
++train_lader_LDADD = ../lib/liblader.la -lboost_regex-mt -lboost_thread-mt -lboost_system-mt
+ lader_SOURCES = lader.cc
+-lader_LDADD = ../lib/liblader.la -lboost_regex -lboost_thread
++lader_LDADD = ../lib/liblader.la -lboost_regex-mt -lboost_thread-mt -lboost_system-mt
+ evaluate_lader_SOURCES = evaluate-lader.cc
+-evaluate_lader_LDADD = ../lib/liblader.la -lboost_regex -lboost_thread
++evaluate_lader_LDADD = ../lib/liblader.la -lboost_regex-mt -lboost_thread-mt -lboost_system-mt
+ label_ranking_SOURCES = label-ranking.cc
+-label_ranking_LDADD = ../lib/liblader.la -lboost_regex -lboost_thread
++label_ranking_LDADD = ../lib/liblader.la -lboost_regex-mt -lboost_thread-mt -lboost_system-mt
+ all: all-am
+
+ .SUFFIXES:
+--- src/test/Makefile.am.orig 2012-07-28 08:11:33.000000000 +0900
++++ src/test/Makefile.am 2012-09-04 02:14:03.000000000 +0900
+@@ -5,4 +5,4 @@
+ bin_PROGRAMS = test-lader
+
+ test_lader_SOURCES = test-lader.cc ${LADERTH}
+-test_lader_LDADD = ../lib/liblader.la -lboost_regex -lboost_thread
++test_lader_LDADD = ../lib/liblader.la -lboost_regex-mt -lboost_thread-mt -lboost_system-mt
+--- src/test/Makefile.in.orig 2012-07-28 08:13:02.000000000 +0900
++++ src/test/Makefile.in 2012-09-04 02:14:23.000000000 +0900
+@@ -199,7 +199,7 @@
+ LADERTH = test-alignments-and-ranks.h test-feature-vector.h test-base.h test-hyper-graph.h test-dictionary.h test-loss-bracket.h test-feature-align.h test-loss-chunk.h test-feature-parse.h test-loss-tau.h test-feature-sequence.h test-reorderer-model.h test-feature-set.h
+ AM_CPPFLAGS = -I$(srcdir)/../include -DPKGDATADIR='"$(pkgdatadir)"'
+ test_lader_SOURCES = test-lader.cc ${LADERTH}
+-test_lader_LDADD = ../lib/liblader.la -lboost_regex -lboost_thread
++test_lader_LDADD = ../lib/liblader.la -lboost_regex-mt -lboost_thread-mt -lboost_system-mt
+ all: all-am
+
+ .SUFFIXES:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121001/03fc2933/attachment.html>
More information about the macports-changes
mailing list