Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

root/trunk/dports/archivers/gnutar/Portfile

Revision 44442, 1.7 KB (checked in by mww@…, 12 days ago)

version 1.21

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