mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
82 lines
2.2 KiB
Bash
82 lines
2.2 KiB
Bash
SUMMARY="Multilingual index processor"
|
|
DESCRIPTION="upmendex is a multilingual index processor with following features:
|
|
* Mostly compatible with makeindex and upper compatible with mendex, based on mendex version \
|
|
2.6f by ASCII media works.
|
|
* Unicode for internal process and support UTF-8 encoding for input/output. Work with upLaTeX, \
|
|
XeLaTeX and luaLaTeX.
|
|
* Support Latin (including non-English), Greek, Cyrillic, Korean Hangul and Chinese Han (Hanzi \
|
|
ideographs) scripts as well as Japanese Kana.
|
|
* Support Devanagari, Thai, Arabic and Hebrew scripts (experimental).
|
|
* Support four kinds of sort orders (Pinyin, Radical-Stroke, Stroke and Zhuyin) for Chinese Han \
|
|
scripts (Hanzi ideographs).
|
|
* Apply International Components for Unicode (ICU) for sorting process."
|
|
HOMEPAGE="https://github.com/t-tk/upmendex-package"
|
|
COPYRIGHT="1995 ASCII Corporation
|
|
2009 ASCII MEDIA WORKS
|
|
2015-2026 TANAKA Takuji"
|
|
LICENSE="BSD (3-clause)"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/t-tk/upmendex-package/archive/refs/tags/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="a3e35d1c9cb84ee75b48035b6a575443b59e27f5a2f26f15d4a3d1c027133553"
|
|
SOURCE_DIR="upmendex-package-$portVersion"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
upmendex$secondaryArchSuffix = $portVersion
|
|
cmd:upmendex = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libicudata$secondaryArchSuffix
|
|
lib:libicui18n$secondaryArchSuffix
|
|
lib:libicuio$secondaryArchSuffix
|
|
lib:libicuuc$secondaryArchSuffix
|
|
lib:libkpathsea$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libicudata$secondaryArchSuffix >= 74
|
|
devel:libicui18n$secondaryArchSuffix >= 74
|
|
devel:libicuio$secondaryArchSuffix >= 74
|
|
devel:libicuuc$secondaryArchSuffix >= 74
|
|
devel:libkpathsea$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
TEST_REQUIRES="
|
|
cmd:diff
|
|
"
|
|
|
|
defineDebugInfoPackage upmendex$secondaryArchSuffix \
|
|
$prefix/bin/upmendex
|
|
|
|
BUILD()
|
|
{
|
|
cd source/texk/upmendex
|
|
runConfigure --omit-dirs "binDir" ./configure \
|
|
--bindir=$prefix/bin \
|
|
--with-system-kpathsea \
|
|
--with-system-icu
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd source/texk/upmendex
|
|
make install
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
cd source/texk/upmendex
|
|
make check
|
|
}
|