From owner-svn-ports-head@FreeBSD.ORG Sun Jan 19 15:54:19 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8E5FBF1E; Sun, 19 Jan 2014 15:54:19 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7A56116D7; Sun, 19 Jan 2014 15:54:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0JFsJ7N080228; Sun, 19 Jan 2014 15:54:19 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0JFsJ5D080227; Sun, 19 Jan 2014 15:54:19 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201401191554.s0JFsJ5D080227@svn.freebsd.org> From: Baptiste Daroussin Date: Sun, 19 Jan 2014 15:54:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340319 - head/graphics/tesseract-data X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2014 15:54:19 -0000 Author: bapt Date: Sun Jan 19 15:54:18 2014 New Revision: 340319 URL: http://svnweb.freebsd.org/changeset/ports/340319 QAT: https://qat.redports.org/buildarchive/r340319/ Log: Support stage Get rid of noportdata references Modified: head/graphics/tesseract-data/Makefile Modified: head/graphics/tesseract-data/Makefile ============================================================================== --- head/graphics/tesseract-data/Makefile Sun Jan 19 15:52:11 2014 (r340318) +++ head/graphics/tesseract-data/Makefile Sun Jan 19 15:54:18 2014 (r340319) @@ -43,12 +43,9 @@ TESSERACT_LANGS_30${n}+= ${LANGS_30${n}: .endfor .endfor -.ifndef NOPORTDATA DATADIR= ${PREFIX}/share/tessdata PORTDATA= ${TESSERACT_LANGS:O:u:S|$|.traineddata|} -.endif -NO_STAGE= yes pre-fetch: @${ECHO_MSG} "" @${ECHO_MSG} "The choice of language data to be installed may" @@ -56,19 +53,16 @@ pre-fetch: @${ECHO_MSG} "" do-install: -.ifndef NOPORTDATA - @${MKDIR} ${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR} .for l in ${TESSERACT_LANGS_300:O:u:S|$|.traineddata|} - @${GUNZIP_CMD} -c ${_DISTDIR}/${l}.gz > ${DATADIR}/${l} + @${GUNZIP_CMD} -c ${_DISTDIR}/${l}.gz > ${STAGEDIR}${DATADIR}/${l} .endfor .for n in 1 2 .for l in ${TESSERACT_LANGS_30${n}:O:u} - @${TAR} --strip-components 2 -C ${DATADIR} \ + @${TAR} --strip-components 2 -C ${STAGEDIR}${DATADIR} \ -xf ${_DISTDIR}/tesseract-ocr-3.0${n}.${l}.tar.gz *.traineddata .endfor .endfor - @cd ${DATADIR} ; ${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PORTDATA} ; \ - ${CHMOD} ${BINMODE} ${PORTDATA} -.endif + @cd ${STAGEDIR}${DATADIR} ; ${CHMOD} ${BINMODE} ${PORTDATA} .include