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

37 lines
768 B
Makefile

# $OpenBSD: Makefile,v 1.2 2019/03/05 05:19:32 bentley Exp $
COMMENT = reorder separable/discontinuous multiwords
V = 0.3.2
DISTNAME = apertium-separable-$V
REVISION = 0
CATEGORIES = textproc
HOMEPAGE = https://www.apertium.org/
MAINTAINER = Anthony J. Bentley <anthony@anjbe.name>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
# uses pledge()
WANTLIB += ${COMPILER_LIBCXX} apertium3 c lttoolbox3 m pcre xml2 z
MASTER_SITES = https://github.com/apertium/apertium-separable/releases/download/v$V/
# c++20
COMPILER = base-clang ports-gcc
LIB_DEPENDS = textproc/apertium>=3.5.1 \
textproc/lttoolbox>=3.4.2
USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>