[95487] trunk/dports/math/pecco
hum at macports.org
hum at macports.org
Fri Jul 13 18:01:32 PDT 2012
Revision: 95487
https://trac.macports.org/changeset/95487
Author: hum at macports.org
Date: 2012-07-13 18:01:31 -0700 (Fri, 13 Jul 2012)
Log Message:
-----------
pecco: 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/pecco/Portfile
Removed Paths:
-------------
trunk/dports/math/pecco/files/
Modified: trunk/dports/math/pecco/Portfile
===================================================================
--- trunk/dports/math/pecco/Portfile 2012-07-13 22:52:27 UTC (rev 95486)
+++ trunk/dports/math/pecco/Portfile 2012-07-14 01:01:31 UTC (rev 95487)
@@ -4,53 +4,45 @@
PortSystem 1.0
name pecco
-version 20111221
+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/pecco/
description simple C++ library for linear classification with conjunctive features
long_description ${name} is a ${description}.
master_sites ${homepage}
-checksums rmd160 4de5dec7470d1ce4ff241968d498c1aa54dd4eca \
- sha256 6f7212a7cbd3e5cdf37d0541d98ac59ddcf3230fa1be2c8127855d82d84def39
+checksums rmd160 03b4600efe3f847c3436fe5972e42fef413b4de3 \
+ sha256 a62a3bd3d5fec1f1abbf4eafc76565605209b779d93f606d0e968de7c8bdfe4e
-worksrcdir ${name}
use_bzip2 yes
-use_configure no
-
-variant universal {}
-
-build.args CC="${configure.cxx}" \
- INCLUDES="${configure.cppflags}" \
- CFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]"
-
-destroot {
- xinstall -m 755 -W ${worksrcpath} ${name} ${destroot}${prefix}/bin
+post-destroot {
file mkdir ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} COPYING GPL README \
- ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 -W ${worksrcpath} \
+ AUTHORS COPYING GPL LGPL README \
+ ${destroot}${prefix}/share/doc/${name}
}
variant dartsclone description {Use darts-clone} {
depends_build-append port:darts-clone
- patchfiles-append patch-pecco_conf.h.diff
+ configure.args-append --with-trie-impl=darts-clone
}
variant float description {Use float as the type of weights} {
- build.args-append CFLAGS=-DUSE_FLOAT
+ configure.args-append --enable-float
}
variant trie description {Encode weights into a trie in kernel_model} {
- build.args-append CFLAGS=-DABUSE_TRIE
+ configure.args-append --enable-abuse-trie
}
default_variants +dartsclone
livecheck.type regex
livecheck.url ${homepage}
-livecheck.regex ${name}-(\\d+)\\.tar
+livecheck.regex {pecco-(\d+\-\d+\-\d+).tar}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120713/032458af/attachment.html>
More information about the macports-changes
mailing list