incomplete pkg-plist for print/teTeX-texmf

Anton Shterenlikht mexas at bristol.ac.uk
Mon Jan 10 14:01:47 UTC 2011


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


More information about the freebsd-ports mailing list