source: trunk/dports/archivers/atool/Portfile

Last change on this file was 137499, checked in by chunyang@…, 2 years ago

atool: Update to 0.39.0 (#47940)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 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 137499 2015-06-13 05:31:55Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                atool
7version             0.39.0
8categories          archivers
9platforms           darwin
10license             GPL-3
11maintainers         devils.com:expiation
12homepage            http://www.nongnu.org/atool/
13description         An archival front-end
14long_description    ${name} is a script for managing file archives of various \
15                    types (tar, tar+gzip, zip etc).
16
17master_sites        http://download.savannah.gnu.org/releases/atool/
18
19checksums           rmd160  ca067ba295ff2ad11dc1c9147a13f8a1becaf078 \
20                    sha256  aaf60095884abb872e25f8e919a8a63d0dabaeca46faeba87d12812d6efc703b
21
22post-patch {
23    # /usr/bin/sed does not work, use ${prefix}/bin/gsed instead
24    reinplace -E \
25        "s|(\[\t \])sed |\\1${prefix}/bin/gsed |g" \
26        ${worksrcpath}/configure \
27        ${worksrcpath}/Makefile.in
28}
29
30depends_build       port:gsed
31depends_lib         path:bin/perl:perl5
32
33configure.perl      ${prefix}/bin/perl
34
35post-destroot {
36    set docdir ${prefix}/share/doc/${name}
37    xinstall -d ${destroot}${docdir}
38    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README TODO \
39        ${destroot}${docdir}
40}
41
42universal_variant   no
43
44livecheck.type      regex
45livecheck.url       ${homepage}
46livecheck.regex     "latest version of atool is (\[0-9.\]+),"
Note: See TracBrowser for help on using the repository browser.