# $Id: Portfile 73284 2010-11-09 07:32:28Z mww@macports.org $ PortSystem 1.0 name gnutar version 1.25 categories archivers maintainers mww license GPLv3 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 checksums md5 6e497f861c77bbba2f7da4e10270995b \ sha1 0f0c090e51d127cbeffbb9aeeb90db1181d82aed \ rmd160 4798d95b8816f5b7a90af8f0596a2e6b70cacb5e distname tar-${version} use_bzip2 yes platforms darwin depends_lib port:gettext port:libiconv configure.env-append FORCE_UNSAFE_CONFIGURE=1 configure.args --program-prefix=gnu \ --infodir=${prefix}/share/info 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} file rename ${destroot}${prefix}/share/info/tar.info ${destroot}${prefix}/share/info/gnutar.info file rename ${destroot}${prefix}/share/info/tar.info-1 ${destroot}${prefix}/share/info/gnutar.info-1 file rename ${destroot}${prefix}/share/info/tar.info-2 ${destroot}${prefix}/share/info/gnutar.info-2 xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin ln -sf ${prefix}/bin/gnutar ${destroot}${prefix}/libexec/gnubin/tar } livecheck.type regex livecheck.url http://ftp.gnu.org/gnu/tar/?C=M&O=D livecheck.regex tar-(\[0-9\.\]+\[0-9\])\\.