aboutsummaryrefslogtreecommitdiff
path: root/textproc/apertium
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-03-15 15:29:18 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-03-15 15:29:18 +0000
commitb51ceb27b369d4d32d0a59f170c111d190e20b09 (patch)
tree38284b1952dd34239dcc058a8d8a53d9a0e88df2 /textproc/apertium
parent52bbed2c8c523540eb5a7c770d7bc614d46b33d6 (diff)
downloadports-b51ceb27b369d4d32d0a59f170c111d190e20b09.tar.gz
ports-b51ceb27b369d4d32d0a59f170c111d190e20b09.zip
Update to 3.4.0.
PR: 207992 Submitted by: tkato432 yahoo com Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=411176
Diffstat (limited to 'textproc/apertium')
-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