Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2011 14:01:45 +0000
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        hrs@FreeBSD.org, freebsd-ports@FreeBSD.org
Subject:   incomplete pkg-plist for print/teTeX-texmf
Message-ID:  <20110110140145.GA94753@mech-cluster241.men.bris.ac.uk>

next in thread | raw e-mail | index | archive | help
I think there are five ls-R files, installed by teTeX-texmf,
which are not included in pkg-plist.

% cat ls-R-which.sh 
#!/bin/sh

for file in `find /usr/local/share/texmf* -name "ls-R"`
do
        echo $file
        pkg_info -W $file
done

% ./ls-R-which.sh 
/usr/local/share/texmf/ls-R
/usr/local/share/texmf-config/ls-R
/usr/local/share/texmf-dist/ls-R
/usr/local/share/texmf-dist/ls-R was installed by package teTeX-texmf-3.0_6
/usr/local/share/texmf-local/ls-R
/usr/local/share/texmf-var/ls-R
% 

This is consistent with only texmf-dist/ls-R appearing
in theteTex-texmf/pkg-plist:

% grep ls-R /usr/ports/print/teTeX-texmf/pkg-plist 
%%TEXMFDISTDIR%%/ls-R
@unexec rm -f %D/%%TEXMFDISTDIR%%/ls-R
@exec echo '%% ls-R -- filename database for kpathsea; do not change this line.' > %D/%%TEXMFDISTDIR%%/ls-R;
@exec echo './:' >> %D/%%TEXMFDISTDIR%%/ls-R
@exec echo 'ls-R' >> %D/%%TEXMFDISTDIR%%/ls-R
@exec echo '' >> %D/%%TEXMFDISTDIR%%/ls-R
% 

All five files are in the Makefile:

% grep ^TEXMF /usr/ports/print/teTeX-texmf/Makefile
TEXMFDIR=      share/texmf
TEXMF_LSR=     ${PREFIX}/${TEXMFDIR}/ls-R
TEXMFLOCALDIR= share/texmf-local
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCALDIR}/ls-R
TEXMFVARDIR=   share/texmf-var
TEXMFVAR_LSR=  ${LOCALBASE}/${TEXMFVARDIR}/ls-R
TEXMFDISTDIR=  share/texmf-dist
TEXMFDIST_LSR= ${LOCALBASE}/${TEXMFDISTDIR}/ls-R
TEXMFCONFIGDIR= share/texmf-config
TEXMFCONFIG_LSR=${LOCALBASE}/${TEXMFCONFIGDIR}/ls-R
%

so it does appear to be an omission.

Can somebody please confirm if my analysis is correct.
If it is, I'll submit a PR with a patch.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110110140145.GA94753>