aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-03-15 23:29:18 +0800
committermat <mat@FreeBSD.org>2016-03-15 23:29:18 +0800
commit5fe63e6bc27075833523bdbe88be8d30f490d1aa (patch)
tree38284b1952dd34239dcc058a8d8a53d9a0e88df2 /textproc
parent427d19d179a6710462ff1b6e54c1b8cce9aef64e (diff)
downloadfreebsd-ports-gnome-5fe63e6bc27075833523bdbe88be8d30f490d1aa.tar.gz
freebsd-ports-gnome-5fe63e6bc27075833523bdbe88be8d30f490d1aa.tar.zst
freebsd-ports-gnome-5fe63e6bc27075833523bdbe88be8d30f490d1aa.zip
Update to 3.4.0.
PR: 207992 Submitted by: tkato432 yahoo com Sponsored by: Absolight
Diffstat (limited to 'textproc')
-rw-r--r--textproc/apertium/Makefile22
-rw-r--r--textproc/apertium/distinfo4
2 files changed, 20 insertions, 6 deletions
diff --git a/textproc/apertium/Makefile b/textproc/apertium/Makefile
index 28297b580d31..9521dc82ea01 100644
--- a/textproc/apertium/Makefile
+++ b/textproc/apertium/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= apertium
-PORTVERSION= 3.3.0
+PORTVERSION= 3.4.0
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}
@@ -10,18 +10,20 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Toolbox to build shallow-transfer machine translation systems
LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
LIB_DEPENDS= liblttoolbox3.so:${PORTSDIR}/textproc/lttoolbox \
libpcre.so:${PORTSDIR}/devel/pcre
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
-USES= pathfix pkgconfig libtool
+USES= autoreconf pathfix pkgconfig libtool
USE_GNOME= libxml2 libxslt
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
MAKE_JOBS_UNSAFE= yes
+PATHFIX_MAKEFILEIN= Makefile.am
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -29,7 +31,19 @@ LDFLAGS+= -L${LOCALBASE}/lib
PLIST_SUB= APVER="${PORTVERSION:R}"
post-patch:
-
- @${REINPLACE_CMD} -e 's/pcre_info/pcre_fullinfo/g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ '/^AM_INIT_AUTOMAKE/s|(.*)|()| ; \
+ s| -ansi | | ; \
+ s| -march=.* | | ; \
+ s| -mtune=.* | | ; \
+ s| -O3 | |' \
+ ${WRKSRC}/configure.ac
+ @${REINPLACE_CMD} -e \
+ 's|^INCLUDES |AM_CPPFLAGS | ; \
+ s|-lapertium$$(.*)|libapertium3.la|' \
+ ${WRKSRC}/apertium/Makefile.am
+ @${REINPLACE_CMD} -e \
+ 's|_C_|_H_|' \
+ ${WRKSRC}/apertium/tmx_aligner_tool.h
.include <bsd.port.mk>
diff --git a/textproc/apertium/distinfo b/textproc/apertium/distinfo
index 659c75c1b80b..a9af17decb23 100644
--- a/textproc/apertium/distinfo
+++ b/textproc/apertium/distinfo
@@ -1,2 +1,2 @@
-SHA256 (apertium-3.3.0.tar.gz) = 9c2ff5b4f3cb99cd1b2f09c585fd86469ad32fb9d651ccd5c25c1848eca55a0d
-SIZE (apertium-3.3.0.tar.gz) = 1100389
+SHA256 (apertium-3.4.0.tar.gz) = 2bd7f44b794615ebca1c5d3949b2139b665e2a5af24c40931ea0856e268fc3da
+SIZE (apertium-3.4.0.tar.gz) = 1062996