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
Line 
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
2# $Id: Portfile 136832 2015-05-28 05:55:35Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name                gnutar
7version             1.28
8categories          archivers
9maintainers         mww
10license             GPL-3
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.
17
18homepage            http://www.gnu.org/software/tar/
19master_sites        gnu:tar
20distname            tar-${version}
21use_xz              yes
22
23checksums           rmd160  b1b5b94f5855b28e7f169c510ae08fe2e9304675 \
24                    sha256  64ee8d88ec1b47a0961033493f919d27218c41b580138fd6802327462aff22f2
25
26platforms           darwin
27
28depends_lib         port:gettext port:libiconv
29depends_build       port:help2man
30
31patch.pre_args      -p1
32patchfiles          patch-xattrs.diff
33
34use_autoreconf      yes
35autoreconf.args     -fvi
36
37configure.env-append FORCE_UNSAFE_CONFIGURE=1
38configure.args      --disable-silent-rules \
39                    --program-prefix=gnu
40
41test.run            yes
42test.target         check
43
44post-destroot {
45    xinstall -v -m 755 -d ${destroot}${prefix}/share/doc/${name}
46    xinstall -v -W ${worksrcpath} ABOUT-NLS AUTHORS COPYING ChangeLog \
47        ChangeLog.1 INSTALL NEWS README THANKS TODO \
48        ${destroot}${prefix}/share/doc/${name}
49    foreach f [glob ${destroot}${prefix}/share/info/tar.info*] {
50        move ${f} [string map {tar.info gnutar.info} ${f}]
51    }
52
53    xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin
54    ln -sf ${prefix}/bin/gnutar ${destroot}${prefix}/libexec/gnubin/tar
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"
57}
58
59livecheck.type      regex
60livecheck.url       http://ftp.gnu.org/gnu/tar/?C=M&O=D
61livecheck.regex     tar-(\[0-9\.\]+\[0-9\])\\.
62
Note: See TracBrowser for help on using the repository browser.