freebsd-ports/textproc/apertium/Makefile
Martin Matuska ad10a8c8f6 Replace detection of deprecated pcre_info() by pcre_fullinfo().
This has already been fixed in trunk and will be included in next release.

Reported by:	pointyhat (pav)
2012-02-18 21:21:35 +00:00

60 lines
2.0 KiB
Makefile

# New ports collection makefile for: apertium
# Date created: 14 April 2009
# Whom: Mykola Dzham <freebsd@levsha.org.ua>
#
# $FreeBSD$
#
PORTNAME= apertium
PORTVERSION= ${APVER}.${APREV}
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${APVER}
MAINTAINER= i@levsha.me
COMMENT= A toolbox to build shallow-transfer machine translation systems
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2 \
xslt:${PORTSDIR}/textproc/libxslt \
lttoolbox3:${PORTSDIR}/textproc/lttoolbox \
pcre.1:${PORTSDIR}/devel/pcre
APVER= 3.2
APREV= 0
MAKE_JOBS_UNSAFE= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_GNOME= gnomehack pkgconfig
USE_LDCONFIG= yes
PLIST_SUB+= APVER="${APVER}"
MAN1= apertium-deshtml.1 apertium-desodt.1 apertium-despptx.1 \
apertium-desrtf.1 apertium-destxt.1 apertium-deswxml.1 \
apertium-desxlsx.1 apertium-filter-ambiguity.1 \
apertium-gen-deformat.1 apertium-gen-lextorbil.1 \
apertium-gen-lextormono.1 apertium-gen-modes.1 \
apertium-gen-reformat.1 apertium-gen-stopwords-lextor.1 \
apertium-gen-wlist-lextor-translation.1 apertium-gen-wlist-lextor.1 \
apertium-interchunk.1 apertium-lextor.1 apertium-multiple-translations.1 \
apertium-postchunk.1 apertium-preprocess-corpus-lextor.1 \
apertium-preprocess-transfer.1 apertium-pretransfer.1 \
apertium-rehtml.1 apertium-reodt.1 apertium-repptx.1 \
apertium-rertf.1 apertium-retxt.1 apertium-rewxml.1 apertium-rexlsx.1 \
apertium-tagger-apply-new-rules.1 apertium-tagger.1 apertium-transfer.1 \
apertium-validate-acx.1 apertium-validate-dictionary.1 \
apertium-validate-interchunk.1 apertium-validate-modes.1 \
apertium-validate-postchunk.1 apertium-validate-tagger.1\
apertium-validate-transfer.1 apertium-unformat.1 \
apertium.1 apertium-desmediawiki.1 apertium-remediawiki.1
post-patch:
@${REINPLACE_CMD} -e 's/pcre_info/pcre_fullinfo/g' ${WRKSRC}/configure
.include <bsd.port.mk>