# -*- 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
set branch [join [lrange [split ${version} .] 0 1] .]
description Enhanced GNU dd
long_description A patch to the GNU dd program, this version has several \
features intended for forensic acquisition of data. \
Highlights include hashing on-the-fly, split output \
files, pattern writing, a progress meter, and file \
homepage https://sourceforge.net/projects/dc3dd/
master_sites sourceforge:project/dc3dd/dc3dd/${version}/dc3dd%20${version}/
checksums rmd160 8779a3b7ab9bf927033ca805ada252a913b6b029 \
sha256 d26d5c1eaa413a10dfcdb2525a9fd8135902eb0b0a8f4632529fbebb06430d95 \
# find . -type f -print0|LC_ALL=C xargs -0 awk 'FNR==1&&/^#!/{sub(/^\.\//,"",FILENAME);print FILENAME}'|pbcopy
build-aux/git-version-gen
build-aux/gitlog-to-changelog
build-aux/useless-if-before-free
tests/test-damaged-device-imaging.sh
tests/test-device-imaging.sh
tests/test-file-imaging.sh
file attributes ${worksrcpath}/${f} -permissions a+x
patchfiles patch-lib-vasnprintf.c.diff
if {${os.major} >= 11 && ${os.platform} eq "darwin"} {
# check for stpncpy is broken
configure.args-append gl_cv_func_stpncpy=yes
# Perl is only needed to generate *.mo files with gettext
# (no other dependency on Perl)
configure.perl ${perl5.bin}
depends_build port:perl${perl5.major} \
port:p${perl5.major}-locale-gettext
depends_lib port:gettext \
livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)