source: trunk/dports/archivers/gnutar/Portfile @ 136832

Last change on this file since 136832 was 136832, checked in by ryandesign@…, 5 years ago

gnutar: update to 1.28, disable silent rules, and add modeline (#47814; maintainer timeout)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 136832 2015-05-28 05:55:35Z ryandesign@macports.org $
[3248]3
4PortSystem 1.0
[9476]5
[22346]6name                gnutar
[136832]7version             1.28
[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
23checksums           rmd160  b1b5b94f5855b28e7f169c510ae08fe2e9304675 \
24                    sha256  64ee8d88ec1b47a0961033493f919d27218c41b580138fd6802327462aff22f2
25
[22346]26platforms           darwin
[21642]27
[22346]28depends_lib         port:gettext port:libiconv
[76845]29depends_build       port:help2man
[21642]30
[136832]31patch.pre_args      -p1
32patchfiles          patch-xattrs.diff
33
34use_autoreconf      yes
35autoreconf.args     -fvi
36
[73284]37configure.env-append FORCE_UNSAFE_CONFIGURE=1
[136832]38configure.args      --disable-silent-rules \
39                    --program-prefix=gnu
[3248]40
[22346]41test.run            yes
42test.target         check
[9902]43
[4368]44post-destroot {
[22346]45    xinstall -v -m 755 -d ${destroot}${prefix}/share/doc/${name}
46    xinstall -v -W ${worksrcpath} ABOUT-NLS AUTHORS COPYING ChangeLog \
[64677]47        ChangeLog.1 INSTALL NEWS README THANKS TODO \
[22346]48        ${destroot}${prefix}/share/doc/${name}
[136831]49    foreach f [glob ${destroot}${prefix}/share/info/tar.info*] {
50        move ${f} [string map {tar.info gnutar.info} ${f}]
51    }
[22541]52
[71533]53    xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin
[57932]54    ln -sf ${prefix}/bin/gnutar ${destroot}${prefix}/libexec/gnubin/tar
[76845]55    xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1
56    system "help2man ${worksrcpath}/src/tar | gzip -9 > ${destroot}${prefix}/libexec/gnubin/man/man1/tar.1.gz"
[48158]57}
58
[83680]59livecheck.type      regex
60livecheck.url       http://ftp.gnu.org/gnu/tar/?C=M&O=D
61livecheck.regex     tar-(\[0-9\.\]+\[0-9\])\\.
[22541]62
Note: See TracBrowser for help on using the repository browser.