# -*- 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 # $Id: Portfile 136832 2015-05-28 05:55:35Z ryandesign@macports.org $ PortSystem 1.0 name gnutar version 1.28 categories archivers maintainers mww license GPL-3 description tar version of the GNU project long_description \ the gnutar program creates, adds files to, or extracts files from \ an archive file in gnutar format, called a tarfile. A tarfile is \ often a magnetic tape, but can be a floppy diskette or any regular \ disk file. homepage http://www.gnu.org/software/tar/ master_sites gnu:tar distname tar-${version} use_xz yes checksums rmd160 b1b5b94f5855b28e7f169c510ae08fe2e9304675 \ sha256 64ee8d88ec1b47a0961033493f919d27218c41b580138fd6802327462aff22f2 platforms darwin depends_lib port:gettext port:libiconv depends_build port:help2man patch.pre_args -p1 patchfiles patch-xattrs.diff use_autoreconf yes autoreconf.args -fvi configure.env-append FORCE_UNSAFE_CONFIGURE=1 configure.args --disable-silent-rules \ --program-prefix=gnu test.run yes test.target check post-destroot { xinstall -v -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -v -W ${worksrcpath} ABOUT-NLS AUTHORS COPYING ChangeLog \ ChangeLog.1 INSTALL NEWS README THANKS TODO \ ${destroot}${prefix}/share/doc/${name} foreach f [glob ${destroot}${prefix}/share/info/tar.info*] { move ${f} [string map {tar.info gnutar.info} ${f}] } xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin ln -sf ${prefix}/bin/gnutar ${destroot}${prefix}/libexec/gnubin/tar xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1 system "help2man ${worksrcpath}/src/tar | gzip -9 > ${destroot}${prefix}/libexec/gnubin/man/man1/tar.1.gz" } livecheck.type regex livecheck.url http://ftp.gnu.org/gnu/tar/?C=M&O=D livecheck.regex tar-(\[0-9\.\]+\[0-9\])\\.