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

name                git-annex
version             10.20260316
checksums           rmd160  e20024fff5da82021651a87d3d9021b23e5cf1a7 \
                    sha256  57c36e06aa97ed950bb59a050b85ebdc8748220c2457b4dbb10163d2cb57f009 \
                    size    1567119

description         git-annex allows managing files with git, without checking the file contents into git
long_description    git-annex allows managing files with git, without checking the file \
                    contents into git. While that may seem paradoxical, it is useful when \
                    dealing with files larger than git can currently easily handle, whether due \
                    to limitations in memory, time, or disk space.
license             AGPL-3
homepage            https://git-annex.branchable.com/

maintainers         nomaintainer
categories          devel haskell
platforms           macosx

master_sites        https://hackage.haskell.org/package/${name}-${version}

# The downloaded copy of GHC assumes utimensat(2) is available, which is not
# true for older systems
haskell_stack.system_ghc yes

# The haskell foo doesn't run make install, so we add symlinks by hand:
post-destroot {
    file link -symbolic ${destroot}${prefix}/bin/git-annex-shell git-annex 
    file link -symbolic ${destroot}${prefix}/bin/git-remote-annex git-annex
    file link -symbolic ${destroot}${prefix}/bin/git-remote-tor-annex git-annex 
    file link -symbolic ${destroot}${prefix}/bin/git-remote-p2p-annex git-annex 
}
