source: trunk/dports/archivers/cpio/Portfile @ 100613

Last change on this file since 100613 was 89837, checked in by dports@…, 8 years ago

cpio: fix symlink in gnubin to point to the right binary (#32471,
maintainer timeout)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 89837 2012-02-12 22:43:10Z dports@macports.org $
2
3PortSystem 1.0
4
5name                cpio
6version             2.11
7revision            2
8categories          archivers
9platforms           darwin
10maintainers         mww
11license             GPL-3
12description         copies files into or out of a cpio or tar archives
13long_description    GNU cpio copies files into or out of a cpio or tar \
14                    archive. The archive can be another file on the disk, a \
15                    magnetic tape, or a pipe.
16
17homepage            http://www.gnu.org/software/cpio/cpio.html
18master_sites        gnu
19checksums           md5     20fc912915c629e809f80b96b2e75d7d \
20                    sha1    6f1934b0079dc1e85ddff89cabdf01adb3a74abb \
21                    rmd160  52507b8ba556dca888ce1179cfda10f9549ea9ab
22use_bzip2           yes
23
24depends_lib         port:gettext port:libiconv
25
26patchfiles          patch-src-filetypes.h.diff
27
28configure.args      --program-prefix=gnu \
29                    --mandir=${prefix}/share/man \
30                    --infodir=${prefix}/share/info \
31                    --libexecdir=${prefix}/lib/${name}
32
33test.run            yes
34test.target         check
35
36post-destroot {
37    xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin
38    ln -sf ${prefix}/bin/gnucpio ${destroot}${prefix}/libexec/gnubin/cpio
39}
40
41livecheck.type      regex
42livecheck.url       http://ftp.gnu.org/gnu/cpio/?C=M&O=D
43livecheck.regex     cpio-(\[0-9\]+\\.\[0-9\]+)
44
Note: See TracBrowser for help on using the repository browser.