pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: tex packages



On Nov 22, 2012, at 6:59 AM, Patrick Welche <prlw1%cam.ac.uk@localhost> wrote:

> How are Makefiles for tex-* packages supposed to work?
> 
> I just tried to make a little print/tex-revtex package
> 
> DISTNAME=       revtex
> PKGNAME=        tex-${DISTNAME}-4.1.2
> CATEGORIES=     print
> MASTER_SITES=   ${MASTER_SITE_TEX_CTAN:=macros/latex/contrib/}
> EXTRACT_SUFX=   .zip
> 
> HOMEPAGE=       https://authors.aps.org/revtex4/
> COMMENT=        Styles for various physics journals
> 
> .include "../../print/texlive/package.mk"
> .include "../../mk/bsd.pkg.mk"
> 
> and texlive/packge.mk remains a bit of a mystery, eg. print/tex-url
> has a trivial Makefile, and its .sty file gets installed. Is there
> some magic in that package.mk would install a revtex.sty file if it
> exited, but it is called revtex4-1.sty so it doesn't? How can I
> list the files that need installing?

texlive/package.mk is only for TeX Live packages. If your package downloads 
DISTFILES directly from CTAN, use kpathsea/texmf.mk instead (see "Packages 
installing TeX modules" in the pkgsrc guide.

-- 
Min Sik Kim



Home | Main Index | Thread Index | Old Index