mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
By default there is no stdlib option on non-Darwin, resulting in build errors unless checked for. Example fix: https://github.com/macports/macports-ports/commit/ee5188c0921e48a93c1f2ae10a206941fcc8f4fd See: https://github.com/macports/macports-ports/pull/14323#discussion_r835618657 Closes: https://github.com/macports/macports-base/pull/269
37 lines
1.2 KiB
Tcl
37 lines
1.2 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 waf 1.0
|
|
|
|
name cpi00
|
|
version 0.0.3
|
|
categories textproc
|
|
maintainers nomaintainer
|
|
|
|
description The Compressed Permuterm Index
|
|
|
|
long_description ${name} is an implementation of the compressed permuterm index. \
|
|
This is only admitted for non-profit purpose, NEVER USE for \
|
|
commercial products.
|
|
|
|
homepage https://code.google.com/p/cpi00
|
|
platforms darwin
|
|
license BSD
|
|
|
|
master_sites googlecode
|
|
checksums rmd160 76224eee7385acbc8a0776bc55773a382e165675 \
|
|
sha256 6e6e635db08092f676f2e736885ba6838df93f94f11451f7c40b4c6cb6b7b4c6
|
|
|
|
worksrcdir ${name}
|
|
|
|
if {[string match *clang* ${configure.cxx}] && ${configure.cxx_stdlib} ne ""} {
|
|
configure.ldflags-append -stdlib=${configure.cxx_stdlib}
|
|
}
|
|
|
|
destroot {
|
|
xinstall -m 755 ${worksrcpath}/build/src/cpi00 ${destroot}${prefix}/bin
|
|
set docdir ${prefix}/share/doc/${name}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 644 ${worksrcpath}/README ${destroot}${docdir}
|
|
}
|