Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2003 17:04:47 +0100 (CET)
From:      Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        demon@FreeBSD.org
Subject:   ports/50131: [patch] print/teTeX: listings.sty missing
Message-ID:  <200303191604.h2JG4lYk033448@menelaos.informatik.rwth-aachen.de>

next in thread | raw e-mail | index | archive | help

>Number:         50131
>Category:       ports
>Synopsis:       [patch] print/teTeX: listings.sty missing
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 19 08:10:07 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD menelaos.informatik.rwth-aachen.de 4.7-STABLE FreeBSD 4.7-STABLE #2: Fri Feb 7 12:48:00 CET 2003 root@menelaos.informatik.rwth-aachen.de:/usr/src/sys/compile/MENELAOS i386


>Description:
The latest release of teTeX (2.0.2) doesn't contain listings.sty
in the -texmf- ball (it is in texmfsrc, though, but FreeBSD doesn't
build the texmf from scratch but simply uses the pre-built one).

http://www.mail-archive.com/tetex@informatik.uni-hannover.de/msg01873.html
>How-To-Repeat:
>Fix:
Patch attached. We simply fetch 'listings' from the
master site and extract the missing file. (Otherwise we'd have
to fetch the entire texmfsrc-file and build it)

--- Makefile.orig	Tue Mar 18 15:23:16 2003
+++ Makefile	Wed Mar 19 16:53:40 2003
@@ -7,15 +7,18 @@
 
 PORTNAME=	teTeX
 PORTVERSION=	2.0.2
+PORTREVISION=	1
 CATEGORIES=	print
 MASTER_SITES=	ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/2.0/distrib/ \
-		${MASTER_SITE_TEX_CTAN}
+		${MASTER_SITE_TEX_CTAN} http://www.atscire.de/products/listings/
 MASTER_SITE_SUBDIR=	systems/unix/teTeX/2.0/distrib/
 DISTFILES=	${TETEX_SRC} ${TETEX_TEXMF}
+DISTFILES+=	lstunpacked.zip
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Thomas Esser's distribution of TeX & friends
 
+BUILD_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip
 LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png \
 		wwwcore.1:${PORTSDIR}/www/libwww
 
@@ -82,6 +85,7 @@
 pre-install:
 	@${MKDIR} ${TEXMF_TREE}
 	@cd ${TEXMF_TREE}; tar xfz ${_DISTDIR}/${TETEX_TEXMF}
+	@cd ${TEXMF_TREE}/tex/latex/listings; unzip -o ${_DISTDIR}/lstunpacked.zip listings.sty
 
 post-install:
 	@${INSTALL_SCRIPT} ${WRKSRC}/utils/texinfo/util/texi2dvi ${PREFIX}/bin
--- pkg-plist.orig	Tue Mar 18 15:23:22 2003
+++ pkg-plist	Tue Mar 18 15:49:38 2003
@@ -10910,6 +10910,7 @@
 share/texmf/tex/latex/koma-script/typearea.sty
 share/texmf/tex/latex/labels/labels.sty
 share/texmf/tex/latex/labels/olabels.sty
+share/texmf/tex/latex/listings/listings.sty
 share/texmf/tex/latex/listings/listings.cfg
 share/texmf/tex/latex/listings/lstdoc.sty
 share/texmf/tex/latex/listings/lstlang1.sty
--- distinfo.orig	Wed Mar 19 17:02:36 2003
+++ distinfo	Wed Mar 19 17:02:10 2003
@@ -1,2 +1,3 @@
 MD5 (teTeX/tetex-src-2.0.2.tar.gz) = a16f6bba227d55e79aeee46fbbd82d28
 MD5 (teTeX/tetex-texmf-2.0.2.tar.gz) = d3bdb96f9077e43b2115d3cc471743b3
+MD5 (teTeX/lstunpacked.zip) = 83604f53ce3d5e7a51a0e35858f30b38
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




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