[86841] trunk/dports/math

hum at macports.org hum at macports.org
Sat Nov 5 08:18:08 PDT 2011


Revision: 86841
          http://trac.macports.org/changeset/86841
Author:   hum at macports.org
Date:     2011-11-05 08:18:08 -0700 (Sat, 05 Nov 2011)
Log Message:
-----------
New port: plda 3.1 - A parallel C++ implementation of fast Gibbs sampling of Latent Dirichlet Allocation.

Added Paths:
-----------
    trunk/dports/math/plda/
    trunk/dports/math/plda/Portfile

Added: trunk/dports/math/plda/Portfile
===================================================================
--- trunk/dports/math/plda/Portfile	                        (rev 0)
+++ trunk/dports/math/plda/Portfile	2011-11-05 15:18:08 UTC (rev 86841)
@@ -0,0 +1,47 @@
+# -*- 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                plda
+version             3.1
+categories          math textproc
+platforms           darwin
+maintainers         hum openmaintainer
+license             Apache-2.0
+
+homepage            http://code.google.com/p/plda/
+description         A parallel C++ implementation of fast Gibbs sampling of Latent Dirichlet Allocation
+long_description    plda is a parallel C++ implementation of fast Gibbs sampling of \
+                    Latent Dirichlet Allocation (LDA).
+
+master_sites        googlecode
+checksums           rmd160  f1551328db9eabd99d0ed29d2352e94fcd0249d0 \
+                    sha256  aae495f96fdbf048b71080dec4506f242044ce40930ad2fdf5ad71e4fedad682
+
+worksrcdir          ${name}
+
+variant universal   {}
+
+use_configure       no
+
+build.target        lda infer
+build.args          CC=${configure.cxx} \
+                    CFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]"
+
+variant mpi description {Add parallel lda} {
+    depends_lib         port:mpich2
+    build.target        lda infer mpi_lda
+}
+    
+destroot {
+    set plda_dir ${destroot}${prefix}/share/plda
+    xinstall -m 755 -d ${plda_dir}/testdata
+    xinstall -m 644 -W ${worksrcpath} COPYING README         ${plda_dir}
+    xinstall -m 644 -W ${worksrcpath}/testdata test_data.txt ${plda_dir}/testdata
+    foreach target ${build.target} {
+        xinstall -W ${worksrcpath} ${target} ${destroot}${prefix}/bin
+    }
+}
+
+livecheck.type      default


Property changes on: trunk/dports/math/plda/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/20111105/b65537c4/attachment-0001.html>


More information about the macports-changes mailing list