Skip to content

Commit

Permalink
lttoolbox: update to 3.7.6
Browse files Browse the repository at this point in the history
* Change source from SourceForge to GitHub
* Update to version 3.7.6
* Require C++17
* Build using autoreconf
* Add dependencies utfcpp, icu
  • Loading branch information
erikbs committed Jan 19, 2025
1 parent 9d46c20 commit 745f51b
Showing 1 changed file with 21 additions and 11 deletions.
32 changes: 21 additions & 11 deletions textproc/lttoolbox/Portfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-

PortSystem 1.0
PortGroup github 1.0

name lttoolbox
version 3.5.0
set branch [join [lrange [split ${version} .] 0 1] .]
github.setup apertium lttoolbox 3.7.6 v
revision 0
categories textproc
license GPL-2+
maintainers nomaintainer
Expand All @@ -23,17 +23,27 @@ long_description lttoolbox is a toolbox from the Apertium platform \
surface forms and lexical forms).

homepage http://wiki.apertium.org/wiki/Lttoolbox
master_sites sourceforge:project/apertium/lttoolbox/${branch}

checksums rmd160 4cb9d266657a04cd29a685d236a0b0576c7f9728 \
sha256 cbfc6e38ba995d80114a250f9756bd28708e9b3510bde09fe7f91e0a83bbc623 \
size 483444
checksums rmd160 6950ffe612a4667e8f67f28e290aed569fe5e8a1 \
sha256 ab1291608ab56e541698d57a22bc1a64cd6f0b453bc2aee7792540f878bb1d1d \
size 211782

depends_build path:bin/pkg-config:pkgconfig
compiler.cxx_standard 2017
configure.cxxflags-append \
-std=c++17

depends_lib port:libxml2
configure.cxxflags-append \
-I${prefix}/include/utf8cpp

# configure: error: Could not enable at least C++1y (C++14) - upgrade your compiler
compiler.cxx_standard 2014
use_autoreconf yes

depends_build port:autoconf \
port:automake \
port:libtool \
path:bin/pkg-config:pkgconfig \
port:utfcpp

depends_lib port:libxml2 \
port:icu

livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}

0 comments on commit 745f51b

Please sign in to comment.