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

Last change on this file since 73284 was 73284, checked in by mww@…, 10 years ago

version 1.25

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 73284 2010-11-09 07:32:28Z mww@macports.org $
2
3PortSystem 1.0
4
5name                gnutar
6version             1.25
7categories          archivers
8maintainers         mww
9license             GPLv3
10description         tar version of the GNU project
11long_description \
12    the gnutar program creates, adds files to, or extracts files from   \
13    an archive file in gnutar format, called a tarfile. A tarfile is    \
14    often a magnetic tape, but can be a floppy diskette or any regular  \
15    disk file.
16
17homepage            http://www.gnu.org/software/tar/
18master_sites        gnu:tar
19checksums           md5     6e497f861c77bbba2f7da4e10270995b \
20                    sha1    0f0c090e51d127cbeffbb9aeeb90db1181d82aed \
21                    rmd160  4798d95b8816f5b7a90af8f0596a2e6b70cacb5e
22distname            tar-${version}
23use_bzip2           yes
24platforms           darwin
25
26depends_lib         port:gettext port:libiconv
27
28configure.env-append FORCE_UNSAFE_CONFIGURE=1
29configure.args      --program-prefix=gnu \
30                    --infodir=${prefix}/share/info
31
32test.run            yes
33test.target         check
34
35post-destroot {
36    xinstall -v -m 755 -d ${destroot}${prefix}/share/doc/${name}
37    xinstall -v -W ${worksrcpath} ABOUT-NLS AUTHORS COPYING ChangeLog \
38        ChangeLog.1 INSTALL NEWS README THANKS TODO \
39        ${destroot}${prefix}/share/doc/${name}
40    file rename ${destroot}${prefix}/share/info/tar.info ${destroot}${prefix}/share/info/gnutar.info
41    file rename ${destroot}${prefix}/share/info/tar.info-1 ${destroot}${prefix}/share/info/gnutar.info-1
42    file rename ${destroot}${prefix}/share/info/tar.info-2 ${destroot}${prefix}/share/info/gnutar.info-2
43
44    xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin
45    ln -sf ${prefix}/bin/gnutar ${destroot}${prefix}/libexec/gnubin/tar
46}
47
48livecheck.type  regex
49livecheck.url   http://ftp.gnu.org/gnu/tar/?C=M&O=D
50livecheck.regex tar-(\[0-9\.\]+\[0-9\])\\.
51
Note: See TracBrowser for help on using the repository browser.