[95488] trunk/dports/math/opal-ml
hum at macports.org
hum at macports.org
Fri Jul 13 18:03:51 PDT 2012
Revision: 95488
https://trac.macports.org/changeset/95488
Author: hum at macports.org
Date: 2012-07-13 18:03:50 -0700 (Fri, 13 Jul 2012)
Log Message:
-----------
opal-ml: update to 2012-05-15; add epoch; use configure.args instead of build.args; modify license, additional documents, livecheck.regex; remove patchfiles.
Modified Paths:
--------------
trunk/dports/math/opal-ml/Portfile
Removed Paths:
-------------
trunk/dports/math/opal-ml/files/
Modified: trunk/dports/math/opal-ml/Portfile
===================================================================
--- trunk/dports/math/opal-ml/Portfile 2012-07-14 01:01:31 UTC (rev 95487)
+++ trunk/dports/math/opal-ml/Portfile 2012-07-14 01:03:50 UTC (rev 95488)
@@ -6,53 +6,37 @@
# '-ml' stands for Machine Learning, which is appended in order to avoid conflict with devel/opal.
# see http://lists.macosforge.org/pipermail/macports-dev/2012-January/017429.html and #32884.
name opal-ml
-version 20111221
-revision 1
+version 2012-05-15
+epoch 1
categories math
platforms darwin
maintainers hum openmaintainer
-license GPL-2
+license {GPL-2 LGPL-2.1}
homepage http://www.tkl.iis.u-tokyo.ac.jp/~ynaga/opal/
description C++ header library of online learning with kernel slicing
long_description Opal is a ${description}.
master_sites ${homepage}
-checksums rmd160 3991b56081ece5dcb97da6bf3a69d343f0805bf6 \
- sha256 96185b857b668387e3fc884d99b9ecb9f8dd51534954ab961282d0ceda45c6ec
+checksums rmd160 010d9bc8c7d751f3421db928c9b121064eaaf035 \
+ sha256 460eee9bccc4ef21a997a05cb4c516ef20143ad8ea77df4f217f750aaa548ca9
distname opal-${version}
-worksrcdir opal
use_bzip2 yes
-use_configure no
-
-variant universal {}
-
-build.args CC="${configure.cxx}" \
- CFLAGS="-Wall -DNDEBUG ${configure.cxxflags} [get_canonical_archflags cxx]"
-
-destroot {
- xinstall -m 755 -W ${worksrcpath} \
- opal rand_shuf opal-prune opal-pmt opal-prune-pmt opalk \
- ${destroot}${prefix}/bin
+post-destroot {
file mkdir ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} \
- COPYING GPL README \
+ AUTHORS COPYING GPL LGPL README \
${destroot}${prefix}/share/doc/${name}
}
variant multiclass description {Add a multi-class classifier} {
- patchfiles-append patch-multiclass.diff
- post-destroot {
- xinstall -m 755 -W ${worksrcpath} \
- opal-multiclass \
- ${destroot}${prefix}/bin
- }
+ configure.args-append --enable-multi
}
default_variants +multiclass
livecheck.type regex
livecheck.url ${homepage}
-livecheck.regex opal-(\\d+)\\.tar
+livecheck.regex {opal-(\d+\-\d+\-\d+).tar}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120713/f8ce8cff/attachment.html>
More information about the macports-changes
mailing list