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 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup cmake 1.0 |
---|
5 | PortGroup cxx11 1.0 |
---|
6 | PortGroup github 1.0 |
---|
7 | |
---|
8 | github.setup cginternals cpplocate 7ba162fce3615fad03037eef05ff29d5bc430e26 |
---|
9 | version 20161110 |
---|
10 | |
---|
11 | categories devel |
---|
12 | platforms darwin |
---|
13 | maintainers gmail.com:ken.cunningham.webuse openmaintainer |
---|
14 | license MIT |
---|
15 | |
---|
16 | description Cross-platform C++ library providing tools for applications to locate \ |
---|
17 | themselves, their data assets as well as dependant modules. |
---|
18 | long_description ${description} |
---|
19 | |
---|
20 | checksums rmd160 d2b83fb64e2a612dab25f6a49287452899151d78 \ |
---|
21 | sha256 8a1c6cd485ccedcec19b465a32c671924a1975a782f557446a5f049163f70b89 |
---|
22 | |
---|
23 | # macports prefers the shared library option |
---|
24 | configure.args-append -DBUILD_SHARED_LIBS:BOOL=ON |
---|
25 | |
---|
26 | cmake.out_of_source yes |
---|
27 | |
---|
28 | # one patch to override folder layout logic to match macports |
---|
29 | patchfiles-append patch-cpplocate-cmake-installdirs.diff |
---|
30 | |
---|
31 | variant docs description "install documentation" { |
---|
32 | configure.args-append -DOPTION_BUILD_DOCS:BOOL=ON |
---|
33 | depends_build-append port:doxygen |
---|
34 | } |
---|