# -*- 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

name                hfsutils
version             3.2.6
revision            1
checksums           rmd160  a8b8c0c6556f3be2b701baab80b933dc6691a6ea \
                    sha256  bc9d22d6d252b920ec9cdf18e00b7655a6189b3f34f42e58d5bb152957289840 \
                    size    207697

categories          sysutils
maintainers         {ryandesign @ryandesign} openmaintainer
license             GPL-2+

description         command line programs and libraries for manipulating \
                    HFS volumes

long_description    ${name} contains {*}${description}.

homepage            https://www.mars.org/home/rob/proj/hfs/
master_sites        ftp://ftp.mars.org/pub/hfs/

patchfiles          allow-volumes-smaller-than-800k.patch \
                    implicit.patch \
                    implicit-int.patch

configure.args      --enable-devlibs \
                    --without-tcl \
                    --without-tk

destroot.destdir    BINDEST=${destroot}${prefix}/bin \
                    INCDEST=${destroot}${prefix}/include \
                    INSTALL="${configure.install}" \
                    LIBDEST=${destroot}${prefix}/lib \
                    MANDEST=${destroot}${prefix}/share/man

platform darwin {
    patchfiles-append \
                    dylib.patch
}
