# $Id: Portfile 137203 2015-06-06 14:36:20Z khindenburg@macports.org $ PortSystem 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 } configure.perl ${prefix}/bin/perl5.16 depends_build port:perl5.16 \ port:p5.16-locale-gettext depends_lib port:gettext \ port:libiconv livecheck.type regex livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)