These tools both process input files at build time to generate the apertium language pairs and dictionary files, and at runtime perform language translation for the user with said language pairs and dictionaries.
35 lines
794 B
Makefile
35 lines
794 B
Makefile
# $OpenBSD: Makefile,v 1.10 2019/03/05 05:19:32 bentley Exp $
|
|
|
|
COMMENT = module for compiling and processing lexical rules
|
|
|
|
V = 0.2.1
|
|
DISTNAME = apertium-lex-tools-$V
|
|
REVISION = 1
|
|
|
|
CATEGORIES = textproc
|
|
|
|
HOMEPAGE = http://wiki.apertium.org/wiki/Constraint-based_lexical_selection_module
|
|
|
|
MAINTAINER = Anthony J. Bentley <anthony@anjbe.name>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
# uses pledge()
|
|
|
|
WANTLIB += apertium3 c lttoolbox3 m pcre pthread ${COMPILER_LIBCXX} xml2 z
|
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
MASTER_SITES = https://github.com/apertium/apertium-lex-tools/releases/download/v$V/ \
|
|
${MASTER_SITE_SOURCEFORGE:=apertium/}
|
|
|
|
LIB_DEPENDS = devel/pcre \
|
|
textproc/apertium \
|
|
textproc/libxml \
|
|
textproc/lttoolbox
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
.include <bsd.port.mk>
|