blob: 1f06e790f6aa68bbeb9d3a2ce447872ec737245e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Created by: Mykola Dzham <freebsd@levsha.org.ua>
PORTNAME= apertium
PORTVERSION= 3.8.1
DISTVERSIONPREFIX= v
PORTREVISION= 3
CATEGORIES= textproc
MAINTAINER= bofh@FreeBSD.org
COMMENT= Toolbox to build shallow-transfer machine translation systems
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_FreeBSD_12_powerpc64= fails to configure on powerpc64 elfv1: *** unable to locate pcrecpp library ***
BUILD_DEPENDS= bash:shells/bash \
utf8cpp>0:devel/utf8cpp
LIB_DEPENDS= libicudata.so:devel/icu \
liblttoolbox3.so:textproc/lttoolbox \
libpcre.so:devel/pcre
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= 465f053: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
MAKE_JOBS_UNSAFE= yes
INSTALL_TARGET= install-strip
CFLAGS+= -I${LOCALBASE}/include/utf8cpp
PLIST_SUB= APVER="${PORTVERSION:R}"
post-patch:
@${REINPLACE_CMD} -e \
's|^INCLUDES |AM_CPPFLAGS | ; \
s|-lapertium$$(.*)|libapertium3.la|' \
${WRKSRC}/apertium/Makefile.am
.include <bsd.port.mk>
|