# -*- 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.71 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  867436fb2f5c03dc98fc4cc01379f42d30dd0a53 \
                            sha256  788fdcd852b29c5153dfcd9219250df2e54d493e6ebdfb52225dfffdefa6b169 \
                            size    443105
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}
