From owner-svn-ports-head@freebsd.org Sun Nov 1 07:34:21 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D4B8A23DE5; Sun, 1 Nov 2015 07:34:21 +0000 (UTC) (envelope-from freebsd.contact@marino.st) Received: from shepard.synsport.net (mail.synsport.com [208.69.230.148]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1C5BE1332; Sun, 1 Nov 2015 07:34:20 +0000 (UTC) (envelope-from freebsd.contact@marino.st) Received: from [192.168.1.21] (73.Red-83-39-207.dynamicIP.rima-tde.net [83.39.207.73]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by shepard.synsport.net (Postfix) with ESMTP id B3BDC43BC8; Sun, 1 Nov 2015 01:34:11 -0600 (CST) Subject: Re: svn commit: r399610 - head/arabic/arabtex To: Alexey Dokuchaev , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org References: <201510180950.t9I9ocbF008074@repo.freebsd.org> From: John Marino X-Enigmail-Draft-Status: N1110 Reply-To: marino@freebsd.org Message-ID: <5635C071.5030401@marino.st> Date: Sun, 1 Nov 2015 08:34:09 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <201510180950.t9I9ocbF008074@repo.freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 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, 01 Nov 2015 07:34:21 -0000 On 10/18/2015 11:50 AM, Alexey Dokuchaev wrote: > Author: danfe > Date: Sun Oct 18 09:50:38 2015 > New Revision: 399610 > URL: https://svnweb.freebsd.org/changeset/ports/399610 > > Log: > Employ option helpers (for DOCS_VARS) and put the knobs in their logical > order (first USE_*, then build-related, then miscellaneous/custom ones). > > Modified: > head/arabic/arabtex/Makefile > > Modified: head/arabic/arabtex/Makefile > ============================================================================== > --- head/arabic/arabtex/Makefile Sun Oct 18 09:49:21 2015 (r399609) > +++ head/arabic/arabtex/Makefile Sun Oct 18 09:50:38 2015 (r399610) > @@ -14,22 +14,19 @@ COMMENT= TeX/LaTeX package to generate A > > LICENSE= LPPL10 > > -ARABTEXDIRS= fonts tex > - > -MKTEXLSR= ${LOCALBASE}/bin/mktexlsr > +USE_TEX= base texmf > > NO_WRKSUBDIR= yes > NO_BUILD= yes > > -OPTIONS_DEFINE= DOCS > -.include > -.if ${PORT_OPTIONS:MDOCS} > -ARABTEXDIRS+= doc > -.endif > +ARABTEXDIRS= fonts tex > +MKTEXLSR= ${LOCALBASE}/bin/mktexlsr > > PLIST_SUB= MKTEXLSR=${MKTEXLSR} > > -USE_TEX= base texmf > +OPTIONS_DEFINE= DOCS > + > +DOCS_VARS= ARABTEXDIRS+=doc > > do-install: > .for dir in ${ARABTEXDIRS} > This isn't working for me. While ARABTEXDIRS ends up with the correct values ... # Make -V ARABTEXDIRS fonts tex doc ... the variable isn't populated for the install loop. do-install: .for dir in ${ARABTEXDIRS} @${MKDIR} ${STAGEDIR}${PREFIX}/${TEXMFLOCALDIR}/${dir} (cd ${WRKDIR}/${dir} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${TEXMFLOCALDIR}/${dir}) .endfor The log (note missing "doc" iteration): > =================================================== > ===> Staging for ar-arabtex-3.11_5 > ===> Generating temporary packing list > (cd /wrkdirs/arabic/arabtex/work/fonts && /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null 2>&1) && /usr/bin/find -d $0 $2 -type d -exec chmod 755 $1/{} \; && /usr/bin/find -d $0 $2 -type f -exec chmod 444 $1/{} \;' -- . /wrkdirs/arabic/arabtex/work/stage/usr/local/share/texmf-local/fonts) > (cd /wrkdirs/arabic/arabtex/work/tex && /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null 2>&1) && /usr/bin/find -d $0 $2 -type d -exec chmod 755 $1/{} \; && /usr/bin/find -d $0 $2 -type f -exec chmod 444 $1/{} \;' -- . /wrkdirs/arabic/arabtex/work/stage/usr/local/share/texmf-local/tex) > ====> Compressing man pages (compress-man) The first of many packaging errors: > =================================================== > ===> Building package for ar-arabtex-3.11_5 > pkg-static: Unable to access file /wrkdirs/arabic/arabtex/work/stage/usr/local/share/texmf-local/doc/arabtex/html/arabtex.gif: No such file or directory > pkg-static: Unable to access file /wrkdirs/arabic/arabtex/work/stage/usr/local/share/texmf-local/doc/arabtex/html/arabtex.htm: No such file or directory > pkg-static: Unable to access file /wrkdirs/arabic/arabtex/work/stage/usr/local/share/texmf-local/doc/arabtex/html/changes.htm: No such file or directory Can you bring the ".include " part back until at least it's resolved why your technique didn't work? John