svn commit: r399610 - head/arabic/arabtex
John Marino
freebsd.contact at marino.st
Sun Nov 1 07:34:21 UTC 2015
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 <bsd.port.options.mk>
> -.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):
> =======================<phase: stage >============================
> ===> 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:
> =======================<phase: package >============================
> ===> 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 <bsd.port.options.mk>" part back until at
least it's resolved why your technique didn't work?
John
More information about the svn-ports-head
mailing list