source: trunk/dports/sysutils/convmv/Portfile

Last change on this file was 136979, checked in by devans@…, 2 years ago

convmv: update to version 2.0.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 136979 2015-06-01 21:20:37Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                convmv
7version             2.0
8categories          sysutils perl
9platforms           darwin
10maintainers         nomaintainer
11license             GPL-2+
12supported_archs     noarch
13
14description         Convert filenames from one encoding to another
15
16long_description    convmv is meant to help convert a single filename, a \
17                    directory tree and the contained files or a whole \
18                    filesystem into a different encoding. It just converts \
19                    the filenames, not the content of the files. A special \
20                    feature of convmv is that it also takes care of symlinks, \
21                    also converts the symlink target pointer in case the \
22                    symlink target is being converted, too. All this comes \
23                    in very handy when one wants to switch over from old \
24                    8-bit locales to UTF-8 locales. It is also possible to \
25                    convert directories to UTF-8 which are already partly \
26                    UTF-8 encoded. convmv is able to detect if certain files \
27                    are UTF-8 encoded and will skip them by default. To turn \
28                    this smartness off use the --nosmart switch.
29
30homepage            http://www.j3e.de/linux/convmv/man/
31master_sites        http://www.j3e.de/linux/convmv/
32
33checksums           rmd160  912f2d1630670f4d823b2d58df73a4f667838785 \
34                    sha256  170cf675be1fca77868ff472e9340ca828b1463865a63d4f4b7b3bf4053db93f
35
36depends_lib         bin:perl:perl5
37
38patchfiles          patch-convmv.diff
39
40use_configure       no
41
42destroot.args       PREFIX=${prefix} MANDIR=${prefix}/share/man
43
44post-destroot {
45    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
46    xinstall -m 644 -W ${worksrcpath} CREDITS Changes GPL2 TODO VERSION \
47        ${destroot}${prefix}/share/doc/${name}
48}
49
50livecheck.type      regex
51livecheck.url       [lindex ${master_sites} 0]
52livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.