[78035] trunk/dports/science
ryandesign at macports.org
ryandesign at macports.org
Wed Apr 20 02:29:29 PDT 2011
Revision: 78035
http://trac.macports.org/changeset/78035
Author: ryandesign at macports.org
Date: 2011-04-20 02:29:27 -0700 (Wed, 20 Apr 2011)
Log Message:
-----------
pecco: new port, version 2011-01-10; see #29180
Added Paths:
-----------
trunk/dports/science/pecco/
trunk/dports/science/pecco/Portfile
trunk/dports/science/pecco/files/
trunk/dports/science/pecco/files/patch-pecco_conf.h.diff
Added: trunk/dports/science/pecco/Portfile
===================================================================
--- trunk/dports/science/pecco/Portfile (rev 0)
+++ trunk/dports/science/pecco/Portfile 2011-04-20 09:29:27 UTC (rev 78035)
@@ -0,0 +1,53 @@
+# -*- 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 pecco
+version 2011-01-10
+categories science
+platforms darwin
+maintainers nomaintainer
+license GPL-2
+
+description simple C++ library for linear classification with conjunctive features
+
+long_description ${name} is a ${description}.
+
+homepage http://www.tkl.iis.u-tokyo.ac.jp/~ynaga/pecco/
+master_sites ${homepage}
+
+checksums sha1 a6775affaad0c03e52921b5a505f383b9e5a8500 \
+ rmd160 3fa3a1cec5183a644d6eaecd50db506617b64301
+
+depends_lib-append port:darts
+
+dist_subdir ${name}/${version}
+distname ${name}
+use_bzip2 yes
+
+# use darts instead of darts_clone
+patchfiles patch-pecco_conf.h.diff
+
+use_configure no
+
+variant universal {}
+if {[variant_isset universal]} {
+ set archflags ${configure.universal_cxxflags}
+} else {
+ set archflags ${configure.cxx_archflags}
+}
+
+build.args CC="${configure.cxx}" \
+ INCLUDE="${configure.cppflags}" \
+ CFLAGS="${configure.cxxflags} ${archflags}" \
+ -f makefile.${name}
+
+destroot {
+ xinstall -m 755 -W ${worksrcpath} ${name} ${destroot}${prefix}/bin
+ file mkdir ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 -W ${worksrcpath} COPYING GPL README \
+ ${destroot}${prefix}/share/doc/${name}
+}
+
+livecheck.type moddate
Property changes on: trunk/dports/science/pecco/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/science/pecco/files/patch-pecco_conf.h.diff
===================================================================
--- trunk/dports/science/pecco/files/patch-pecco_conf.h.diff (rev 0)
+++ trunk/dports/science/pecco/files/patch-pecco_conf.h.diff 2011-04-20 09:29:27 UTC (rev 78035)
@@ -0,0 +1,12 @@
+--- pecco_conf.h.orig 2011-01-10 01:02:39.000000000 -0600
++++ pecco_conf.h 2011-04-20 04:26:56.000000000 -0500
+@@ -28,8 +28,7 @@
+ // - DDA (USE_DDA)
+ // EFFECT: Darts-Clone requires 1/2 to 1/3 memory compared to others and is
+ // highly recommended; either should be set
+-// #define USE_DARTS
+-#define USE_DARTS_CLONE
++#define USE_DARTS
+ // #define USE_DDA
+
+ // use TR1 unordered_map / unordered_set for map / set type
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110420/87b92792/attachment-0001.html>
More information about the macports-changes
mailing list