# $Id: Portfile 83680 2011-09-09 06:27:31Z mww@macports.org $ PortSystem 1.0 name gnutar version 1.26 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 checksums md5 2cee42a2ff4f1cd4f9298eeeb2264519 \ sha1 70f298c3cd997b694864c55e6d8655324c87a0cc \ rmd160 d507dc5a57a823701cae5cdd2b98aba48ec74d3f distname tar-${version} use_bzip2 yes platforms darwin depends_lib port:gettext port:libiconv depends_build port:help2man 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 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\])\\.