mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
74 lines
2.5 KiB
Tcl
74 lines
2.5 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
|
|
name unicode
|
|
version 3.2
|
|
checksums rmd160 92174fa084b8315fdc4f4cfa64c982f4dd362889 \
|
|
sha256 c0e5bb38ddc218dd4c65bc84c04621fb60037181232b79169d6d5f00a424ddc0 \
|
|
size 22805
|
|
|
|
categories textproc
|
|
maintainers {ryandesign @ryandesign} openmaintainer
|
|
license GPL-3
|
|
supported_archs noarch
|
|
platforms any
|
|
|
|
homepage http://kassiopeia.juls.savba.sk/~garabik/software/unicode/
|
|
master_sites ${homepage} \
|
|
${homepage}old/
|
|
distfiles ${name}_${version}.orig${extract.suffix}
|
|
|
|
set python_version 3.13
|
|
|
|
depends_run port:python[string map {. {}} ${python_version}]
|
|
|
|
configure.python ${prefix}/bin/python${python_version}
|
|
|
|
use_configure no
|
|
|
|
build {
|
|
reinplace -E "s|#!/usr/bin/python3?|#!${configure.python}|g" ${worksrcpath}/${subport}
|
|
}
|
|
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
destroot {
|
|
xinstall ${worksrcpath}/${subport} ${destroot}${prefix}/bin
|
|
xinstall -m 0644 ${worksrcpath}/${subport}.1 ${destroot}${prefix}/share/man/man1
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 ${worksrcpath}/${readmefile} ${destroot}${docdir}/README
|
|
}
|
|
|
|
if {${name} eq ${subport}} {
|
|
revision 0
|
|
|
|
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}.
|
|
|
|
set readmefile README
|
|
|
|
livecheck.type regex
|
|
livecheck.regex ${name}_(\[0-9.\]+)\.orig${extract.suffix}
|
|
} else {
|
|
livecheck.type none
|
|
}
|
|
|
|
subport paracode {
|
|
revision 0
|
|
|
|
description converts UTF-8 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.
|
|
|
|
set readmefile README-${subport}
|
|
}
|