source: trunk/dports/textproc/unicode/Portfile @ 113586

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

unicode: add descriptions

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 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 113586 2013-11-20 03:49:21Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                unicode
7version             0.9.7
8categories          textproc
9platforms           darwin
10maintainers         ryandesign openmaintainer
11license             GPL-3
12supported_archs     noarch
13
14homepage            http://kassiopeia.juls.savba.sk/~garabik/software/unicode/
15master_sites        ${homepage}
16distfiles           ${name}_${version}${extract.suffix}
17
18checksums           rmd160  b0df0e793a4fc7e43d6a350842bbce44157e2003 \
19                    sha256  6a428c8fed624249138454553c65ddd18515b6fbeeee1ff2c4f3a93b1e30ef30
20
21use_configure       no
22
23build {}
24
25if {${name} eq ${subport}} {
26    description         displays properties for a given Unicode character \
27                        or searches for a given character name
28
29    long_description    ${subport} is a command line utility that ${description}.
30
31    destroot {
32        xinstall ${worksrcpath}/unicode ${destroot}${prefix}/bin
33        xinstall -m 644 ${worksrcpath}/unicode.1 ${destroot}${prefix}/share/man/man1
34
35        set docdir ${prefix}/share/doc/${subport}
36        xinstall -d ${destroot}${docdir}
37        xinstall -m 644 ${worksrcpath}/README ${destroot}${docdir}
38    }
39
40    livecheck.type  regex
41    livecheck.regex ${name}_(\[0-9.\]+)${extract.suffix}
42} else {
43    livecheck.type  none
44}
45
46subport paracode {
47    description         converts Unicode input to use different codepoints
48
49    long_description    ${subport} exploits the full power of the Unicode \
50                        standard to convert text into a visually similar \
51                        stream of glyphs, while using completely different \
52                        codepoints. It is an excellent didactic tool \
53                        demonstrating the principles and advanced use of the \
54                        Unicode standard. ${subport} is a command line tool \
55                        working as a filter, reading standard input in UTF-8 \
56                        encoding and writing to standard output.
57
58    destroot {
59        xinstall ${worksrcpath}/paracode ${destroot}${prefix}/bin
60        xinstall -m 644 ${worksrcpath}/paracode.1 ${destroot}${prefix}/share/man/man1
61
62        set docdir ${prefix}/share/doc/${subport}
63        xinstall -d ${destroot}${docdir}
64        xinstall -m 644 ${worksrcpath}/README-paracode ${destroot}${docdir}
65    }
66}
Note: See TracBrowser for help on using the repository browser.