TexLive on FreeBSD 8.1

Roland Smith rsmith at xs4all.nl
Sat Jul 24 20:02:25 UTC 2010


On Sat, Jul 24, 2010 at 07:51:55PM +0000, Antonio Olivares wrote:
> Dear folks,
> 
> Sorry to ask about this since this has been beaten to death many
> times, but I *wonder* why FreeBSD does not have TeXLive as default tex
> installation?

TeXLive has a _huge_ list of options, and its own configuration/install
script. I guess that makes it hard to port. 

> Is there a foolproof/idiotproof way of installing TeXLive, even from
> source, that does not require one to have tetex?

I've documented my install (including building the binaries from source) at
http://www.xs4all.nl/~rsmith/unix/misc.xhtml#updatingtexlivetoversion2009

I've been using TeXLive on FreeBSD for years without problems.

There are some ports (e.g. auctex for emacs) that require TeX. For those
ports, I  patch their Makefiles to use TeXLive. Below is the patch for
auctex's port Makefile;

----- auctex port patch -----
--- Makefile.orig	2009-07-31 15:55:10.000000000 +0200
+++ Makefile	2009-12-21 16:06:05.000000000 +0100
@@ -16,8 +16,8 @@
 MAINTAINER=	hrs at FreeBSD.org
 COMMENT=	Integrated environment for writing LaTeX using GNU Emacs
 
-BUILD_DEPENDS=	${MKTEXLSR}:${PORTSDIR}/print/teTeX-base
-RUN_DEPENDS=	${MKTEXLSR}:${PORTSDIR}/print/teTeX-base
+#BUILD_DEPENDS=	${MKTEXLSR}:${PORTSDIR}/print/teTeX-base
+#RUN_DEPENDS=	${MKTEXLSR}:${PORTSDIR}/print/teTeX-base
 
 USE_GHOSTSCRIPT=yes
 GNU_CONFIGURE=	yes
@@ -38,8 +38,8 @@
 		MKTEXLSR=${MKTEXLSR}
 INFO=		auctex preview-latex
 
-TEXMFDIR=	share/texmf
-MKTEXLSR=	${LOCALBASE}/bin/mktexlsr
+TEXMFDIR=	texlive/2009/texmf
+MKTEXLSR=	${LOCALBASE}/texlive/2009/bin/amd64-freebsd/mktexlsr
 
 NOT_FOR_ARCHS=	ia64
 
----- auctex port patch -----

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100724/922f984b/attachment.pgp


More information about the freebsd-questions mailing list