mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
45 lines
1.5 KiB
Tcl
45 lines
1.5 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup github 1.0
|
|
|
|
github.setup fujimizu bayon 0.1.1 release-
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
revision 1
|
|
categories math textproc
|
|
maintainers nomaintainer
|
|
|
|
description a simple and fast hard-clustering tool
|
|
long_description Bayon is a simple and fast hard-clustering tool, and supports \
|
|
Repeated Bisection clustering and K-means clustering.
|
|
|
|
license GPL-2
|
|
|
|
master_sites googlecode:bayon
|
|
checksums rmd160 e833352e8dd54cc103c8081738b60408649c7a20 \
|
|
sha256 1749f8d2202459e33dd739e62fd8c128facaf16a06cb3f38a9e4f10cce542e0c
|
|
|
|
patchfiles patch-classifier.diff \
|
|
patch-configure.diff
|
|
|
|
depends_lib port:sparsehash
|
|
|
|
variant universal {
|
|
configure.universal_args
|
|
}
|
|
|
|
build.args CFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
|
|
CPPFLAGS="-I. -I${prefix}/include" \
|
|
LDFLAGS="-L. -L${prefix}/lib"
|
|
|
|
test.run yes
|
|
test.args {*}${build.args}
|
|
|
|
post-destroot {
|
|
set sharedir ${prefix}/share/${name}
|
|
xinstall -d ${destroot}${sharedir}
|
|
xinstall -m 644 -W ${worksrcpath} COPYING README ${destroot}${sharedir}
|
|
copy ${worksrcpath}/data ${destroot}${sharedir}
|
|
}
|