Ticket #52927: Portfile.3

File Portfile.3, 1.3 KB (added by kencu (Ken), 8 years ago)

Portfile update 20161220

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