# -*- 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 # $Id: Portfile 113587 2013-11-20 03:57:07Z ryandesign@macports.org $ PortSystem 1.0 name unicode version 0.9.7 categories textproc platforms darwin maintainers ryandesign openmaintainer license GPL-3 supported_archs noarch homepage http://kassiopeia.juls.savba.sk/~garabik/software/unicode/ master_sites ${homepage} distfiles ${name}_${version}${extract.suffix} checksums rmd160 b0df0e793a4fc7e43d6a350842bbce44157e2003 \ sha256 6a428c8fed624249138454553c65ddd18515b6fbeeee1ff2c4f3a93b1e30ef30 use_configure no build {} set docdir ${prefix}/share/doc/${subport} destroot { xinstall ${worksrcpath}/${subport} ${destroot}${prefix}/bin xinstall -m 644 ${worksrcpath}/${subport}.1 ${destroot}${prefix}/share/man/man1 xinstall -d ${destroot}${docdir} } if {${name} eq ${subport}} { revision 1 description displays properties for a given Unicode character \ or searches for a given character name long_description ${subport} is a command line utility that ${description}. depends_run port:python33 configure.python ${prefix}/bin/python3.3 post-patch { reinplace "s|#!/usr/bin/python|#!${configure.python}|g" ${worksrcpath}/unicode } post-destroot { xinstall -m 644 ${worksrcpath}/README ${destroot}${docdir} } livecheck.type regex livecheck.regex ${name}_(\[0-9.\]+)${extract.suffix} } else { livecheck.type none } subport paracode { revision 0 description converts Unicode input to use different codepoints long_description ${subport} exploits the full power of the Unicode \ standard to convert text into a visually similar \ stream of glyphs, while using completely different \ codepoints. It is an excellent didactic tool \ demonstrating the principles and advanced use of the \ Unicode standard. ${subport} is a command line tool \ working as a filter, reading standard input in UTF-8 \ encoding and writing to standard output. post-destroot { xinstall -m 644 ${worksrcpath}/README-${subport} ${destroot}${docdir} } }