mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
ffb7170399
With hat: portmgr
57 lines
1.9 KiB
Makefile
57 lines
1.9 KiB
Makefile
# Created by: Mykola Dzham <freebsd@levsha.org.ua>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= apertium
|
|
PORTVERSION= ${APVER}.${APREV}
|
|
PORTREVISION= 3
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${APVER}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A toolbox to build shallow-transfer machine translation systems
|
|
|
|
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 \
|
|
libxslt.so:${PORTSDIR}/textproc/libxslt \
|
|
liblttoolbox3.so:${PORTSDIR}/textproc/lttoolbox \
|
|
libpcre.so:${PORTSDIR}/devel/pcre
|
|
|
|
APVER= 3.2
|
|
APREV= 0
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
USES= pathfix 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
|
|
|
|
NO_STAGE= yes
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's/pcre_info/pcre_fullinfo/g' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|