source: trunk/dports/sysutils/mmv/Portfile @ 57375

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

Change deprecated livecheck.check to livecheck.type
See http://lists.macosforge.org/pipermail/macports-dev/2009-August/009699.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $
2
3PortSystem          1.0
4name                mmv
5set base_version    1.01b
6version             ${base_version}-14
7categories          sysutils
8maintainers         nomaintainer
9description         Move/Copy/Append/Link multiple files
10long_description    ${description}
11
12platforms           darwin
13
14homepage            http://linux.maruhn.com/sec/mmv.html
15master_sites        debian:m/${name}
16distname            ${name}_${base_version}.orig
17set patch_distfile  ${name}_${base_version}-14.diff.gz
18distfiles-append    ${patch_distfile}
19worksrcdir          ${name}-${base_version}.orig
20
21checksums           ${name}_${base_version}.orig${extract.suffix} \
22                    md5     1b2135ab2f17bdfa9e08debbb3c46ad8 \
23                    sha1    538a26b1d7e8b9bc286843e6aa2d8d959d8914bb \
24                    rmd160  b268bd5ec5149a4628b73844221f6f60b026e80b \
25                    ${patch_distfile} \
26                    md5     a69eff7501e63c0bd1fcd231bf6949f1 \
27                    sha1    c0d281c5c568597206ae56a46ed5629e32971cde \
28                    rmd160  3e37f7fba0c3446890a517750d70ce3b25ad3fc9
29
30extract.only        ${name}_${base_version}.orig${extract.suffix}
31
32patch {
33   system "cd ${worksrcpath} && gunzip -c ${distpath}/${patch_distfile} | patch"
34}
35
36use_configure       no
37
38build.cmd           ${configure.cc}
39build.target        -o ${name} ${name}.c
40
41destroot {
42   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
43   xinstall -m 755 -W ${worksrcpath} ${name} ${destroot}${prefix}/bin
44   xinstall -m 644 -W ${worksrcpath} ${name}.1 \
45      ${destroot}${prefix}/share/man/man1
46   xinstall -m 644 -W ${worksrcpath} ANNOUNCE ARTICLE changelog copyright \
47      ${destroot}${prefix}/share/doc/${name}
48}
49
50livecheck.type      none
51
Note: See TracBrowser for help on using the repository browser.