# -*- 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 SymPol 0.1.9 v
github.tarball_from     tarball
name                    sympol
revision                1
categories              math science
license                 GPL-2
maintainers             nomaintainer
description             C++ tool to work with symmetric polyhedra.
long_description        {*}${description} It helps to compute restricted automorphisms \
    (parts of the linear symmetry group) of polyhedra and performs polyhedral description \
    conversion up to a given or computed symmetry group.

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

checksums               rmd160  5fce5bbcb8ef1b521c39ef2d2cd5f334818c7736 \
                        sha256  88e32321fa98eaf614abfda9be7fad992282db37952604707e79939f1144dd5a \
                        size    234244

patchfiles-append       0001-patch-for-bliss-0.77-compatibility.patch \
                        0002-Enforce-GMP-based-bliss.patch \
                        0003-patch-for-cddlib-0.94-compatibility.patch \
                        0004-patch-for-lrslib-7.2-compatibility.patch \
                        0005-patch-for-permlib-0.2.9-compatibility.patch \
                        0006-fix-headers.patch

# permlib header only library
depends_build-append    port:permlib

depends_lib-append      port:bliss \
                        port:cddlib \
                        path:share/pkgconfig/eigen3.pc:eigen3 \
                        port:gmp \
                        port:lrslib

compiler.cxx_standard   2011
