bentley 12ae13df34 Add pledge() calls to apertium tools: "stdio rpath wpath cpath"
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.
2019-03-05 05:19:31 +00:00

39 lines
779 B
Makefile

# $OpenBSD: Makefile,v 1.14 2019/03/05 05:19:31 bentley Exp $
COMMENT = finite-state lexical processing toolkit
V = 3.5
VER = 3.5.0
DISTNAME = lttoolbox-${VER}
REVISION = 0
SHARED_LIBS += lttoolbox3-$V 2.0 # 0.0
SHARED_LIBS += lttoolbox3 2.0 # 0.0
CATEGORIES = textproc
HOMEPAGE = http://wiki.apertium.org/wiki/Lttoolbox
MAINTAINER = Anthony J. Bentley <anthony@anjbe.name>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
# uses pledge()
WANTLIB += c iconv lzma m pthread ${COMPILER_LIBCXX} xml2 z
MASTER_SITES = https://github.com/apertium/lttoolbox/releases/download/v${VER}/
# C++2a
COMPILER = base-clang ports-gcc
LIB_DEPENDS = converters/libiconv \
textproc/libxml
CONFIGURE_STYLE = gnu
SUBST_VARS = V
.include <bsd.port.mk>