freebsd-ports/textproc/apertium/Makefile
Muhammad Moinur Rahman c5a9db1f97
textproc/apertium: Drop unnecessary depends
apertium no longer depends on pcre library.
2024-02-29 20:52:22 +01:00

45 lines
1.3 KiB
Makefile

PORTNAME= apertium
PORTVERSION= 3.9.4
PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= textproc
MAINTAINER= bofh@FreeBSD.org
COMMENT= Toolbox to build shallow-transfer machine translation systems
WWW= https://www.apertium.org/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= bash:shells/bash \
utf8cpp>=4.0.0:devel/utf8cpp
LIB_DEPENDS= libicudata.so:devel/icu \
liblttoolbox.so:textproc/lttoolbox
RUN_DEPENDS= bash:shells/bash
USES= autoreconf gmake gnome libtool localbase:ldflags pathfix \
pkgconfig python shebangfix
USE_GITHUB= yes
GH_ACCOUNT= apertium:contrib
GH_PROJECT= apertium-get:contrib
GH_SUBDIR= apertium/apertium-get:contrib
GH_TAGNAME= 74d7d35:contrib
USE_GNOME= libxml2 libxslt
USE_LDCONFIG= yes
SHEBANG_FILES= apertium/apertium-get/apertium-get.sh scripts/apertium-editdist \
scripts/apertium-filter-dix.in scripts/apertium-filter-rules.in \
scripts/apertium-filter-xml scripts/apertium-genvdix \
scripts/apertium-genvldix scripts/apertium-genvrdix \
scripts/apertium-metalrx scripts/apertium-metalrx-to-lrx.in \
scripts/apertium-translate-to-default-equivalent.in
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
MAKE_JOBS_UNSAFE= yes
INSTALL_TARGET= install-strip
CFLAGS+= -I${LOCALBASE}/include/utf8cpp
.include <bsd.port.mk>