source: trunk/dports/math/bayon/Portfile

Last change on this file was 115910, checked in by ryandesign@…, 4 years ago

bayon: remove optional google-test dependency because that port has been deleted (#35540)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- 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
2# $Id: Portfile 115910 2014-01-14 04:33:48Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                bayon
7version             0.1.1
8revision            1
9categories          math textproc
10maintainers         hum openmaintainer
11
12description         a simple and fast hard-clustering tool
13long_description    Bayon is a simple and fast hard-clustering tool, and supports \
14                    Repeated Bisection clustering and K-means clustering.
15
16homepage            http://code.google.com/p/bayon/
17platforms           darwin
18license             GPL-2.1
19
20master_sites        googlecode:bayon
21checksums           rmd160  e833352e8dd54cc103c8081738b60408649c7a20 \
22                    sha256  1749f8d2202459e33dd739e62fd8c128facaf16a06cb3f38a9e4f10cce542e0c
23
24patchfiles          patch-classifier.diff \
25                    patch-configure.diff
26
27depends_lib         port:sparsehash
28
29variant universal {
30    configure.universal_args
31}
32
33build.args          CFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
34                    CPPFLAGS="-I. -I${prefix}/include" \
35                    LDFLAGS="-L. -L${prefix}/lib"
36
37test.run            yes
38eval test.args      ${build.args}
39
40post-destroot {
41    set sharedir ${prefix}/share/${name}
42    xinstall -d ${destroot}${sharedir}
43    xinstall -m 644 -W ${worksrcpath} COPYING README ${destroot}${sharedir}
44    copy ${worksrcpath}/data ${destroot}${sharedir}
45}
Note: See TracBrowser for help on using the repository browser.