source: trunk/dports/sysutils/mmv/Portfile

Last change on this file was 110899, checked in by jmr@…, 4 years ago

mmv: license

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