source: trunk/dports/sysutils/dc3dd/Portfile

Last change on this file was 151908, checked in by mojca@…, 11 months ago

dc3dd: switch to perl5.24 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- 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
2# $Id: Portfile 151908 2016-08-23 21:58:36Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7name                dc3dd
8version             7.2.641
9categories          sysutils
10license             GPL-3+
11maintainers         nomaintainer
12description         Enhanced GNU dd
13long_description    A patch to the GNU dd program, this version has several \
14                    features intended for forensic acquisition of data. \
15                    Highlights include hashing on-the-fly, split output \
16                    files, pattern writing, a progress meter, and file \
17                    verification.
18
19homepage            http://sourceforge.net/projects/dc3dd/
20platforms           darwin
21set branch          [join [lrange [split ${version} .] 0 1] .]
22master_sites        sourceforge:project/dc3dd/dc3dd/${branch}
23
24use_xz              yes
25
26checksums           rmd160  641b316c2e72ab86c25d4aaa2ce0dc5c58558f16 \
27                    sha256  7f50aadc38649845ab11014d11013928411c9d2128c941e9630939d4c28cae6d
28
29post-patch {
30    # stop the makefile trying to run autotools
31    touch ${worksrcpath}/configure.ac ${worksrcpath}/aclocal.m4 \
32          ${worksrcpath}/configure ${worksrcpath}/Makefile.in \
33          ${worksrcpath}/lib/Makefile.in ${worksrcpath}/lib/config.hin
34}
35
36configure.args      --mandir=${prefix}/share/man
37if {${os.major} >= 11 && ${os.platform} eq "darwin"} {
38    # check for stpncpy is broken
39    configure.args-append gl_cv_func_stpncpy=yes
40}
41
42# Perl is only needed to generate *.mo files with gettext
43# (no other dependency on Perl)
44perl5.branches      5.24
45configure.perl      ${perl5.bin}
46depends_build       port:perl${perl5.major} \
47                    port:p${perl5.major}-locale-gettext
48
49depends_lib         port:gettext \
50                    port:libiconv
51
52livecheck.type      regex
53livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.