From 9b64c12e6f649f1adf0aa2f790011a5ae368d2e6 Mon Sep 17 00:00:00 2001 From: Brendan Fabeny Date: Fri, 18 Mar 2011 14:34:41 +0000 Subject: [PATCH] Don't fetch the trained English language data if NOPORTDATA is set. --- graphics/tesseract/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/graphics/tesseract/Makefile b/graphics/tesseract/Makefile index 90fb20fe2d4b..29f6f17f289b 100644 --- a/graphics/tesseract/Makefile +++ b/graphics/tesseract/Makefile @@ -10,8 +10,10 @@ PORTVERSION= 3.00 PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} +.if !defined(NOPORTDATA) || make(makesum) DISTFILES= ${DISTNAME}${EXTRACT_SUFX} eng.traineddata.gz EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +.endif MAINTAINER= bf@FreeBSD.org COMMENT= Commercial quality open source OCR engine