41 lines
907 B
Makefile
41 lines
907 B
Makefile
# $OpenBSD: Makefile,v 1.7 2017/08/07 07:15:20 bentley Exp $
|
|
|
|
COMMENT = rule-based machine translation platform
|
|
|
|
V = 3.4
|
|
DISTNAME = apertium-3.4.2
|
|
|
|
SHARED_LIBS += apertium3-$V 0.0 # 0.0
|
|
SHARED_LIBS += apertium3 0.0 # 0.0
|
|
|
|
CATEGORIES = textproc
|
|
|
|
HOMEPAGE = https://www.apertium.org/
|
|
|
|
MAINTAINER = Anthony J. Bentley <anthony@anjbe.name>
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += c iconv lttoolbox3-3.3 lzma m pcre pcrecpp pcreposix pthread
|
|
WANTLIB += ${COMPILER_LIBCXX} xml2 z
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=apertium/}
|
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
RUN_DEPENDS = shells/bash \
|
|
textproc/libxslt
|
|
LIB_DEPENDS = converters/libiconv \
|
|
devel/pcre \
|
|
textproc/lttoolbox>=3.3.3
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
SUBST_VARS = V
|
|
|
|
.include <bsd.port.mk>
|