# -*- 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 # $Id$ PortSystem 1.0 PortGroup perl5 1.0 name dc3dd version 7.2.641 categories sysutils license GPL-3+ maintainers nomaintainer 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 \ verification. homepage http://sourceforge.net/projects/dc3dd/ platforms darwin set branch [join [lrange [split ${version} .] 0 1] .] master_sites sourceforge:project/dc3dd/dc3dd/${branch} use_xz yes checksums rmd160 641b316c2e72ab86c25d4aaa2ce0dc5c58558f16 \ sha256 7f50aadc38649845ab11014d11013928411c9d2128c941e9630939d4c28cae6d post-patch { # stop the makefile trying to run autotools touch ${worksrcpath}/configure.ac ${worksrcpath}/aclocal.m4 \ ${worksrcpath}/configure ${worksrcpath}/Makefile.in \ ${worksrcpath}/lib/Makefile.in ${worksrcpath}/lib/config.hin } configure.args --mandir=${prefix}/share/man 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) perl5.branches 5.24 configure.perl ${perl5.bin} depends_build port:perl${perl5.major} \ port:p${perl5.major}-locale-gettext depends_lib port:gettext \ port:libiconv livecheck.type regex livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)