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

name            ddrescue
version         1.30
revision        0
categories      sysutils
license         GPL-2+
maintainers     {@aeiouaeiouaeiouaeiouaeiouaeiou outlook.com:aeioudev} {raimue @raimue}
description     GNU ddrescue is a data recovery tool.

long_description \
                ${description} It copies data from one file or block device (hard disc, \
                cdrom, etc) to another, trying hard to rescue data in case of \
                read errors.

homepage        https://www.gnu.org/software/ddrescue/ddrescue.html
master_sites    gnu:ddrescue

use_lzip        yes

checksums       rmd160  7389b637ae630069bfa3c4782c853560947454b1 \
                sha256  2264622d309d6c87a1cfc19148292b8859a688e9bc02d4702f5cd4f288745542 \
                size    101615

variant universal {}
configure.args  CXX="${configure.cxx}" \
                CPPFLAGS="${configure.cppflags}" \
                CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
                LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
