Update to apertium-3.5.2.
This commit is contained in:
parent
bf6a8cd22c
commit
836cac80d6
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2018/06/06 09:15:47 bentley Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2018/10/17 06:58:07 bentley Exp $
|
||||
|
||||
COMMENT = module for compiling and processing lexical rules
|
||||
|
||||
DISTNAME = apertium-lex-tools-0.2.0
|
||||
V = 0.2.1
|
||||
DISTNAME = apertium-lex-tools-$V
|
||||
|
||||
CATEGORIES = textproc
|
||||
|
||||
@ -15,30 +16,14 @@ PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB += apertium3 c lttoolbox3 m pcre pthread ${COMPILER_LIBCXX} xml2 z
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=apertium/}
|
||||
MASTER_SITES = https://github.com/apertium/apertium-lex-tools/releases/download/v$V/ \
|
||||
${MASTER_SITE_SOURCEFORGE:=apertium/}
|
||||
|
||||
BUILD_DEPENDS = ${MODGNU_AUTOCONF_DEPENDS} \
|
||||
${MODGNU_AUTOMAKE_DEPENDS} \
|
||||
devel/autoconf-archive
|
||||
LIB_DEPENDS = devel/pcre \
|
||||
textproc/apertium \
|
||||
textproc/libxml \
|
||||
textproc/lttoolbox
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ENV = LTTOOLBOX_CFLAGS="`pkg-config --cflags lttoolbox`" \
|
||||
LTTOOLBOX_LIBS="`pkg-config --libs lttoolbox`" \
|
||||
APERTIUM_CFLAGS="`pkg-config --cflags apertium`" \
|
||||
APERTIUM_LIBS="`pkg-config --libs apertium`"
|
||||
|
||||
AUTOCONF_VERSION = 2.69
|
||||
AUTOMAKE_VERSION = 1.12
|
||||
|
||||
# XXX 0.1.0 distfile doesn't have install-sh and other generated files?
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && \
|
||||
AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
||||
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
|
||||
autoreconf -fi
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (apertium-lex-tools-0.2.0.tar.gz) = 6Mm8eBAN0yHHi+zm7MPXQbTyRzx2glqd2f78QSyEsG0=
|
||||
SIZE (apertium-lex-tools-0.2.0.tar.gz) = 127365
|
||||
SHA256 (apertium-lex-tools-0.2.1.tar.gz) = 8AylYp58DDFipeK6X1cOR9gIc81HY0A6HdiLh688bpY=
|
||||
SIZE (apertium-lex-tools-0.2.1.tar.gz) = 127241
|
||||
|
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2018/06/19 17:53:48 jca Exp $
|
||||
# $OpenBSD: Makefile,v 1.11 2018/10/17 06:58:07 bentley Exp $
|
||||
|
||||
COMMENT = rule-based machine translation platform
|
||||
|
||||
V = 3.5
|
||||
VER = 3.5.1
|
||||
VER = 3.5.2
|
||||
DISTNAME = apertium-${VER}
|
||||
|
||||
SHARED_LIBS += apertium3-$V 0.0 # 0.0
|
||||
@ -20,13 +20,12 @@ USE_GMAKE = Yes
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB += c iconv lttoolbox3-3.4 lzma m pcre pcrecpp pcreposix pthread
|
||||
WANTLIB += c iconv lttoolbox3-$V lzma m pcre pcrecpp pcreposix pthread
|
||||
WANTLIB += ${COMPILER_LIBCXX} xml2 z
|
||||
|
||||
MASTER_SITES = https://github.com/apertium/apertium/releases/download/v${VER}/ \
|
||||
https://distfiles.ajb.soy/
|
||||
MASTER_SITES = https://github.com/apertium/apertium/releases/download/v${VER}/
|
||||
|
||||
# c++11
|
||||
# C++2a
|
||||
COMPILER = base-clang ports-gcc
|
||||
|
||||
BUILD_DEPENDS = ${RUN_DEPENDS}
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (apertium-3.5.1.tar.gz) = 5EY+ekQBAO9UMrp2z7bsMLrZkeTvFAgCXrqWh0K5VRE=
|
||||
SIZE (apertium-3.5.1.tar.gz) = 1124292
|
||||
SHA256 (apertium-3.5.2.tar.gz) = kNzJ52SJiTRtS9IuiQbOHrcCftyh9tFugH+KfiMqPVM=
|
||||
SIZE (apertium-3.5.2.tar.gz) = 1152690
|
||||
|
@ -1,11 +1,11 @@
|
||||
$OpenBSD: patch-apertium_Makefile_in,v 1.1 2018/06/06 09:16:27 bentley Exp $
|
||||
$OpenBSD: patch-apertium_Makefile_in,v 1.2 2018/10/17 06:58:07 bentley Exp $
|
||||
|
||||
Don't download assets during build.
|
||||
|
||||
Index: apertium/Makefile
|
||||
Index: apertium/Makefile.in
|
||||
--- apertium/Makefile.in.orig
|
||||
+++ apertium/Makefile.in
|
||||
@@ -796,7 +796,7 @@ GENERATEDSCRIPTS = apertium-gen-deformat apertium-gen-
|
||||
@@ -797,7 +797,7 @@ GENERATEDSCRIPTS = apertium-gen-deformat apertium-gen-
|
||||
lib_LTLIBRARIES = libapertium3.la
|
||||
libapertium3_la_SOURCES = $(h_sources) $(cc_sources)
|
||||
libapertium3_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION) -release $(GENERIC_RELEASE)
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2018/06/06 09:16:27 bentley Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.4 2018/10/17 06:58:07 bentley Exp $
|
||||
bin/apertium
|
||||
@bin bin/apertium-deshtml
|
||||
@bin bin/apertium-deslatex
|
||||
@ -143,7 +143,7 @@ include/apertium-${V}/apertium/utils.h
|
||||
include/apertium-${V}/apertium/wchar_t_exception.h
|
||||
include/apertium-${V}/apertium/wchar_t_exception_type.h
|
||||
include/apertium-${V}/apertium/xml_reader.h
|
||||
@lib lib/libapertium3-${V}.so.${LIBapertium3-3.5_VERSION}
|
||||
@lib lib/libapertium3-${V}.so.${LIBapertium3-${V}_VERSION}
|
||||
lib/libapertium3.a
|
||||
lib/libapertium3.la
|
||||
@lib lib/libapertium3.so.${LIBapertium3_VERSION}
|
||||
|
@ -1,13 +1,13 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2018/06/14 07:02:26 bentley Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2018/10/17 06:58:07 bentley Exp $
|
||||
|
||||
COMMENT = finite-state lexical processing toolkit
|
||||
|
||||
V = 3.4
|
||||
VER = 3.4.2
|
||||
V = 3.5
|
||||
VER = 3.5.0
|
||||
DISTNAME = lttoolbox-${VER}
|
||||
|
||||
SHARED_LIBS += lttoolbox3-$V 1.0 # 0.0
|
||||
SHARED_LIBS += lttoolbox3 1.0 # 0.0
|
||||
SHARED_LIBS += lttoolbox3-$V 0.0 # 0.0
|
||||
SHARED_LIBS += lttoolbox3 2.0 # 0.0
|
||||
|
||||
CATEGORIES = textproc
|
||||
|
||||
@ -22,11 +22,9 @@ WANTLIB += c iconv lzma m pthread ${COMPILER_LIBCXX} xml2 z
|
||||
|
||||
MASTER_SITES = https://github.com/apertium/lttoolbox/releases/download/v${VER}/
|
||||
|
||||
AUTOCONF_VERSION = 2.69
|
||||
AUTOMAKE_VERSION = 1.15
|
||||
BUILD_DEPENDS = ${MODGNU_AUTOCONF_DEPENDS} \
|
||||
${MODGNU_AUTOMAKE_DEPENDS} \
|
||||
devel/libtool
|
||||
# C++2a
|
||||
COMPILER = base-clang ports-gcc
|
||||
|
||||
LIB_DEPENDS = converters/libiconv \
|
||||
textproc/libxml
|
||||
|
||||
@ -34,10 +32,4 @@ CONFIGURE_STYLE = gnu
|
||||
|
||||
SUBST_VARS = V
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && \
|
||||
AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
||||
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
|
||||
./autogen.sh
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (lttoolbox-3.4.2.tar.gz) = up5cchKfc0ZtIeqgs+g6o9F/6MNEen/UKIooEXlYses=
|
||||
SIZE (lttoolbox-3.4.2.tar.gz) = 481619
|
||||
SHA256 (lttoolbox-3.5.0.tar.gz) = y/xuOLqZXYARSiUPl1a9KHCOmzUQveCf5/keCoO7xiM=
|
||||
SIZE (lttoolbox-3.5.0.tar.gz) = 483444
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2018/06/06 09:16:11 bentley Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.4 2018/10/17 06:58:07 bentley Exp $
|
||||
@bin bin/lt-comp
|
||||
@bin bin/lt-expand
|
||||
@bin bin/lt-print
|
||||
@ -35,7 +35,7 @@ include/lttoolbox-${V}/lttoolbox/tmx_compiler.h
|
||||
include/lttoolbox-${V}/lttoolbox/trans_exe.h
|
||||
include/lttoolbox-${V}/lttoolbox/transducer.h
|
||||
include/lttoolbox-${V}/lttoolbox/xml_parse_util.h
|
||||
@lib lib/liblttoolbox3-${V}.so.${LIBlttoolbox3-3.4_VERSION}
|
||||
@lib lib/liblttoolbox3-${V}.so.${LIBlttoolbox3-${V}_VERSION}
|
||||
lib/liblttoolbox3.a
|
||||
lib/liblttoolbox3.la
|
||||
@lib lib/liblttoolbox3.so.${LIBlttoolbox3_VERSION}
|
||||
|
Loading…
Reference in New Issue
Block a user