# -*- 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               boost 1.0
PortGroup               cmake 1.1
PortGroup               github 1.0

github.setup            tremlin PermLib 0.2.9 v
github.tarball_from     tarball
name                    permlib
revision                0
categories              math science

# permlib is header only library
platforms               any
supported_archs         noarch

license                 BSD
maintainers             nomaintainer
description             a C++ library implementing permutation group algorithms
long_description        {*}${description}

homepage                http://www.math.uni-rostock.de/~rehn/software/permlib.html

checksums               rmd160  bd5fc3a2d34758237eec6ce223125e6e97099bbf \
                        sha256  88186002b10eed2f66f072e1e58cfc9b96bfd2f8734c84e9257de65402592e83 \
                        size    151906

compiler.cxx_standard   2011

patchfiles-append       patch-boost-1.67.diff

destroot {
    xinstall -m 755 -d ${destroot}${prefix}/include
    file copy ${worksrcpath}/include/permlib ${destroot}${prefix}/include
}

test.run                yes
