Files

55 lines
2.1 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
PortGroup github 1.0
PortGroup legacysupport 1.1
github.setup apertium apertium 3.9.12 v
github.tarball_from releases
use_bzip2 yes
revision 0
categories textproc
license GPL-2+
maintainers mm.st:unhammer+dill openmaintainer
description machine translation platform
long_description Apertium is a free and open source machine \
translation platform, initially aimed at related \
language pairs but recently expanded to deal with \
more divergent language pairs (such as \
English-Catalan). This package provides the \
language-independent machine translation engine \
(language pairs are in separate packages), which \
includes both translation tools (deformatters for \
ODT, DOCX, HTML, etc., TMX handling, the actual \
translation pipeline) and the tools used to create \
new language pairs.
homepage http://apertium.org/
checksums rmd160 17a4ca556bcbb587a63a32641f9b7fb88dc1da16 \
sha256 34a1756d33e4d968bcf3ddbbf7f2315da88893ad7b7ad041d7595a2c4178b302 \
size 576841
compiler.cxx_standard 2017
configure.cxxflags-append \
-std=c++17 \
-I${prefix}/include/utf8cpp \
-Wno-register
# For std::filesystem
legacysupport.newest_darwin_requires_legacy 18
legacysupport.use_mp_libcxx yes
use_autoreconf yes
depends_build-append path:bin/pkg-config:pkgconfig \
port:utfcpp
depends_lib-append port:gawk \
port:libxslt \
port:lttoolbox \
port:pcre