2013-08-31 01:52:24 +02:00
|
|
|
# Created by: Mykola Dzham <freebsd@levsha.org.ua>
|
2009-07-28 19:47:44 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= apertium
|
2014-08-31 13:01:04 +02:00
|
|
|
PORTVERSION= 3.3.0
|
2009-07-28 19:47:44 +02:00
|
|
|
CATEGORIES= textproc
|
2014-08-21 13:46:24 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}
|
2009-07-28 19:47:44 +02:00
|
|
|
|
2014-07-02 19:35:20 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-08-03 16:15:08 +02:00
|
|
|
COMMENT= Toolbox to build shallow-transfer machine translation systems
|
2009-07-28 19:47:44 +02:00
|
|
|
|
2014-08-21 13:46:24 +02:00
|
|
|
LICENSE= GPLv2 # (or later)
|
|
|
|
|
2009-07-28 19:47:44 +02:00
|
|
|
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
|
2014-08-31 13:01:04 +02:00
|
|
|
LIB_DEPENDS= liblttoolbox3.so:${PORTSDIR}/textproc/lttoolbox \
|
|
|
|
libpcre.so:${PORTSDIR}/devel/pcre
|
2009-07-28 19:47:44 +02:00
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
2011-01-27 14:41:20 +01:00
|
|
|
|
2014-08-31 13:01:04 +02:00
|
|
|
USES= pathfix pkgconfig libtool
|
2014-08-21 13:46:24 +02:00
|
|
|
USE_GNOME= libxml2 libxslt
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
INSTALL_TARGET= install-strip
|
2010-01-10 01:03:22 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2011-01-27 14:41:20 +01:00
|
|
|
|
2014-08-21 13:46:24 +02:00
|
|
|
PLIST_SUB= APVER="${PORTVERSION:R}"
|
|
|
|
|
2012-02-18 22:21:35 +01:00
|
|
|
post-patch:
|
2014-08-31 13:01:04 +02:00
|
|
|
|
|
|
|
@${REINPLACE_CMD} -e 's/pcre_info/pcre_fullinfo/g' ${WRKSRC}/configure
|
2012-02-18 22:21:35 +01:00
|
|
|
|
2009-07-28 19:47:44 +02:00
|
|
|
.include <bsd.port.mk>
|