# -*- 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                   github 1.0
PortGroup                   legacysupport 1.1
PortGroup                   openssl 1.0

# posix_memalign
legacysupport.newest_darwin_requires_legacy 9

github.setup                ColumPaget libUseful 5.77 v
revision                    0
categories                  devel net
license                     GPL-3
maintainers                 {@barracuda156 macos-powerpc.org:barracuda}
description                 C library of useful functions
long_description            {*}${description}.
checksums                   rmd160  69da51a56b6b7593022fa86ad90de05cb0379530 \
                            sha256  ec0b290254dedf033fa26b0e49cb1c72e812fe23d52c2f9ed01662030440daf5 \
                            size    453928
github.tarball_from         archive

# See discussion in https://github.com/ColumPaget/libUseful/issues/20
patchfiles-append           patch-fix-ln.diff

depends_lib-append          port:zlib

configure.args-append       --disable-simd \
                            --enable-ip6 \
                            --enable-soname \
                            --enable-ssl \
                            --enable-zlib \
                            --sysconfdir=${prefix}/etc/${name}
