source: trunk/dports/archivers/gnutar/Portfile

Last change on this file was 152143, checked in by devans@…, 13 months ago

gnutar: update to version 1.29, remove patch now included upstream (#52113, maintainer timeout).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 152143 2016-08-30 03:45:56Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name                gnutar
7version             1.29
8categories          archivers
9maintainers         mww
10license             GPL-3
11description         tar version of the GNU project
12long_description \
13    the gnutar program creates, adds files to, or extracts files from   \
14    an archive file in gnutar format, called a tarfile. A tarfile is    \
15    often a magnetic tape, but can be a floppy diskette or any regular  \
16    disk file.
17
18homepage            http://www.gnu.org/software/tar/
19master_sites        gnu:tar
20distname            tar-${version}
21use_xz              yes
22
23checksums           rmd160  23e9d8f75c7452a1970fc780f6d684f5affd91f9 \
24                    sha256  402dcfd0022fd7a1f2c5611f5c61af1cd84910a760a44a688e18ddbff4e9f024
25
26platforms           darwin
27
28depends_lib         port:gettext port:libiconv
29depends_build       port:help2man
30
31use_autoreconf      yes
32autoreconf.args     -fvi
33
34configure.env-append FORCE_UNSAFE_CONFIGURE=1
35configure.args      --disable-silent-rules \
36                    --program-prefix=gnu
37
38test.run            yes
39test.target         check
40
41post-destroot {
42    xinstall -v -m 755 -d ${destroot}${prefix}/share/doc/${name}
43    xinstall -v -m 644 -W ${worksrcpath} ABOUT-NLS AUTHORS COPYING ChangeLog \
44        ChangeLog.1 INSTALL NEWS README THANKS TODO \
45        ${destroot}${prefix}/share/doc/${name}
46    foreach f [glob ${destroot}${prefix}/share/info/tar.info*] {
47        move ${f} [string map {tar.info gnutar.info} ${f}]
48    }
49
50    xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin
51    ln -sf ${prefix}/bin/gnutar ${destroot}${prefix}/libexec/gnubin/tar
52    xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1
53    system "help2man ${worksrcpath}/src/tar | gzip -9 > ${destroot}${prefix}/libexec/gnubin/man/man1/tar.1.gz"
54}
55
56livecheck.type      regex
57livecheck.url       http://ftp.gnu.org/gnu/tar/?C=M&O=D
58livecheck.regex     tar-(\[0-9\.\]+\[0-9\])\\.
Note: See TracBrowser for help on using the repository browser.