# -*- 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 compiler_blacklist_versions 1.0 PortGroup github 1.0 PortGroup makefile 1.0 github.setup Cyan4973 xxhash 0.8.3 v # Change github.tarball_from to 'releases' or 'archive' next update github.tarball_from tarball categories devel maintainers {mps @Schamschula} openmaintainer description xxHash is an Extremely fast Hash algorithm, running at RAM speed \ limits. long_description {*}${description} checksums rmd160 05ecf7f2a5fe9aecf278112517f842f84a80294f \ sha256 9889f6b3e6f2ea01a557048ccdfde77b4ac14bb6037cbb487bbd881ddebcc1ed \ size 1147640 # Avoid build failures due to use of MMX instructions # See: https://trac.macports.org/ticket/71687 compiler.blacklist-append \ {clang < 900} if {[string match "*gcc-4.*" ${configure.compiler}]} { # See https://trac.macports.org/ticket/60710 for why this is needed. patchfiles-append \ patch-Makefile-gcc.diff } subport ${name} { revision 2 license GPL-2+ depends_run port:${name}lib post-destroot { file delete -force ${destroot}${prefix}/include file delete -force ${destroot}${prefix}/lib } } subport ${name}lib { revision 3 license BSD post-destroot { file delete -force ${destroot}${prefix}/bin file delete -force ${destroot}${prefix}/share } }