source: trunk/dports/archivers/gnutar/Portfile

Last change on this file was 152143, checked in by devans@…, 4 years 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
RevLine 
[136832]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
[19376]2# $Id: Portfile 152143 2016-08-30 03:45:56Z devans@macports.org $
[3248]3
4PortSystem 1.0
[9476]5
[22346]6name                gnutar
[152143]7version             1.29
[22346]8categories          archivers
[29815]9maintainers         mww
[83385]10license             GPL-3
[22346]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.
[3248]17
[22346]18homepage            http://www.gnu.org/software/tar/
19master_sites        gnu:tar
20distname            tar-${version}
[136832]21use_xz              yes
22
[152143]23checksums           rmd160  23e9d8f75c7452a1970fc780f6d684f5affd91f9 \
24                    sha256  402dcfd0022fd7a1f2c5611f5c61af1cd84910a760a44a688e18ddbff4e9f024
[136832]25
[22346]26platforms           darwin
[21642]27
[22346]28depends_lib         port:gettext port:libiconv
[76845]29depends_build       port:help2man
[21642]30
[136832]31use_autoreconf      yes
32autoreconf.args     -fvi
33
[73284]34configure.env-append FORCE_UNSAFE_CONFIGURE=1
[136832]35configure.args      --disable-silent-rules \
36                    --program-prefix=gnu
[3248]37
[22346]38test.run            yes
39test.target         check
[9902]40
[4368]41post-destroot {
[22346]42    xinstall -v -m 755 -d ${destroot}${prefix}/share/doc/${name}
[152143]43    xinstall -v -m 644 -W ${worksrcpath} ABOUT-NLS AUTHORS COPYING ChangeLog \
[64677]44        ChangeLog.1 INSTALL NEWS README THANKS TODO \
[22346]45        ${destroot}${prefix}/share/doc/${name}
[136831]46    foreach f [glob ${destroot}${prefix}/share/info/tar.info*] {
47        move ${f} [string map {tar.info gnutar.info} ${f}]
48    }
[22541]49
[71533]50    xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin
[57932]51    ln -sf ${prefix}/bin/gnutar ${destroot}${prefix}/libexec/gnubin/tar
[76845]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"
[48158]54}
55
[83680]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.