Subject: pkg/30012: proposition of mk/ logic for latex, allow to split texmf tree
To: None <email@example.com, firstname.lastname@example.org,>
From: None <email@example.com>
Date: 04/20/2005 13:54:01
>Synopsis: a proposition of mk/ logic for latex, to allow splitting texmf tree and manage deps
>Arrival-Date: Wed Apr 20 13:54:00 +0000 2005
>Originator: Antoine Reilles
>Release: NetBSD 3.99.3
System: NetBSD arcelot.loria.fr 3.99.3 NetBSD 3.99.3 (XEN0) #0: Tue Apr 12 14:45:09 CEST 2005 firstname.lastname@example.org:/usr/obj/sys/arch/i386/compile/XEN0 i386
(following a discussion on tech-pkg started at:
The main idea is to allow splitting texmf.
I want to split texmf in :
share/texmf for teTeX-bin files
share/texmf-dist for teTeX-texmf
shate/texmf-local for additional packages seems more flexible than the previous
one, particularly for texmf-local, which could be used for installing
additional packages without messing out with the main tetex distribution.
This could even allow to package newer versions of packages which are included
in tetex2 texmf tree (i'm thinking of latex-beamer).
We could also have a variable like LOCALTEXMF to help packages providing files
for texmf to install in the right place, instead of hardcoding it.
I came out adding a mk/latex.mk file, highly inspired by the emacs.mk one, to
provide dependancy, variables to chose which teTeX to depend on, and variables
to help packaging. I called it latex, and used variables with the name latex
since i'm not sure tetex will be the major (and almost only) latex under unix.
I also modified the teTeX3-texmf package to reflect the texmf layout reommanded
in tetex doc, and modified to test it the bibtex2html and latex2html packages
(only this one is really interesting, as it installs files in the texmf tree).
I have put the diff and the latex.mk file on:
(this one is big, because the PLIST is huge)
There are many package which hardcode the texmf tree path, so, i will be glad
to help if an adaptation of this proposition is adopted.
Please let me know if you have any
comment or critics.
copy the latex.mk file in pkgsrc/mk/
and apply the diff's. Then build latex2html, for example.