[101793] trunk/dports/math
hum at macports.org
hum at macports.org
Sat Jan 19 05:39:21 PST 2013
Revision: 101793
https://trac.macports.org/changeset/101793
Author: hum at macports.org
Date: 2013-01-19 05:39:21 -0800 (Sat, 19 Jan 2013)
Log Message:
-----------
New port: lda-d @0.2 - a Latent Dirichlet Allocation package.
Added Paths:
-----------
trunk/dports/math/lda-d/
trunk/dports/math/lda-d/Portfile
Added: trunk/dports/math/lda-d/Portfile
===================================================================
--- trunk/dports/math/lda-d/Portfile (rev 0)
+++ trunk/dports/math/lda-d/Portfile 2013-01-19 13:39:21 UTC (rev 101793)
@@ -0,0 +1,52 @@
+# -*- 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
+
+# the suffix '-d' is taken from the initial of the author, Daichi Mochihashi.
+name lda-d
+version 0.2
+categories math
+maintainers hum openmaintainer
+
+description a Latent Dirichlet Allocation package
+
+long_description lda-d is a Latent Dirichlet Allocation (LDA) package made \
+ by Daichi Mochihashi.
+
+homepage http://chasen.org/~daiti-m/dist/lda/
+platforms darwin
+license unknown
+
+master_sites ${homepage}
+checksums rmd160 8779f4d129cb56f202d755dc3cf11ab30c10bb9f \
+ sha256 226cb9849777bafe09587badde89f96578c445ef08ed6c00a451c2088071b237
+
+distname lda-${version}
+
+use_configure no
+
+variant universal {}
+
+build.args CC=${configure.cc} CFLAGS="${configure.cflags} [get_canonical_archflags]"
+
+destroot {
+ # install lda executable as 'lda-d'.
+ xinstall -m 755 ${worksrcpath}/lda ${destroot}${prefix}/bin/${name}
+ # install additional documents.
+ set docdir ${prefix}/share/doc/${name}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
+ AUTHOR README \
+ ${destroot}${docdir}
+ # install sample data.
+ set data_dir ${prefix}/share/${name}
+ xinstall -d ${destroot}${data_dir}
+ xinstall -m 644 -W ${worksrcpath} \
+ train train.lex \
+ ${destroot}${data_dir}
+}
+
+livecheck.type regex
+livecheck.url ${homepage}
+livecheck.regex {lda-([\d\.]+)\.tar}
Property changes on: trunk/dports/math/lda-d/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/20130119/765b36cb/attachment.html>
More information about the macports-changes
mailing list