Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2016 15:29:18 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r411176 - head/textproc/apertium
Message-ID:  <201603151529.u2FFTIRj072610@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Tue Mar 15 15:29:18 2016
New Revision: 411176
URL: https://svnweb.freebsd.org/changeset/ports/411176

Log:
  Update to 3.4.0.
  
  PR:		207992
  Submitted by:	tkato432 yahoo com
  Sponsored by:	Absolight

Modified:
  head/textproc/apertium/Makefile
  head/textproc/apertium/distinfo

Modified: head/textproc/apertium/Makefile
==============================================================================
--- head/textproc/apertium/Makefile	Tue Mar 15 15:29:13 2016	(r411175)
+++ head/textproc/apertium/Makefile	Tue Mar 15 15:29:18 2016	(r411176)
@@ -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>

Modified: head/textproc/apertium/distinfo
==============================================================================
--- head/textproc/apertium/distinfo	Tue Mar 15 15:29:13 2016	(r411175)
+++ head/textproc/apertium/distinfo	Tue Mar 15 15:29:18 2016	(r411176)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603151529.u2FFTIRj072610>