Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Feb 2003 17:37:58 +0100 (CET)
From:      Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47910: patch: print/teTeX ships with old pstricks
Message-ID:  <200302041637.h14Gbweh069967@menelaos.informatik.rwth-aachen.de>

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

>Number:         47910
>Category:       ports
>Synopsis:       patch: print/teTeX ships with old pstricks
>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:   Tue Feb 04 08:40:12 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 #0: Thu Jan 23 16:45:31 CET 2003 root@menelaos.informatik.rwth-aachen.de:/usr/src/sys/compile/MENELAOS i386


>Description:
I just found out the hard way that teTeX-1.0.7 doesn't include the 'most
recent' (i.e. from 2000/11/09) pstricks. Luckily, only two files require
updating:

- pstricks.tex (v97p14) 1999/12/23
- pst-node.tex (v97p11) 2000/11/09

versus p10 in the original tarball (cf.
http://www.ctan.org/tex-archive/graphics/pstricks/VERSIONS).

Portmeisters: Is this a correct use of PATCH{_SITES,FILES}?
[Naturally I tested my slides against the updated port]

Also bump port revision.
>How-To-Repeat:
>Fix:
diff -urN teTeX.orig/Makefile teTeX/Makefile
--- teTeX.orig/Makefile	Thu Jan 23 12:06:07 2003
+++ teTeX/Makefile	Tue Feb  4 17:09:43 2003
@@ -7,11 +7,13 @@
 
 PORTNAME=	teTeX
 PORTVERSION=	1.0.7
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	print
 MASTER_SITES=	ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/1.0/distrib/sources/ \
 		${MASTER_SITE_TEX_CTAN}
 MASTER_SITE_SUBDIR=	systems/unix/teTeX/1.0/distrib/sources/
+PATCH_SITES=	${MASTER_SITE_TEX_CTAN}
+PATCHFILES=	graphics/pstricks/generic/pstricks.tex graphics/pstricks/generic/pst-node.tex
 DISTFILES=	${TETEX_SRC} ${TETEX_TEXMF}
 
 MAINTAINER=	ports@FreeBSD.org
@@ -75,6 +77,10 @@
 pre-install:
 	@${MKDIR} ${TEXMF_TREE}
 	@cd ${TEXMF_TREE}; tar xfz ${_DISTDIR}/${TETEX_TEXMF}
+.for f in pstricks.tex pst-node.tex
+	@${CP} ${_DISTDIR}/graphics/pstricks/generic/${f} ${TEXMF_TREE}/tex/generic/pstricks/
+.endfor
+
 
 post-install:
 	@${INSTALL_SCRIPT} ${WRKSRC}/texinfo/util/texi2dvi ${PREFIX}/bin
diff -urN teTeX.orig/distinfo teTeX/distinfo
--- teTeX.orig/distinfo	Tue Feb 22 13:22:33 2000
+++ teTeX/distinfo	Tue Feb  4 17:07:21 2003
@@ -1,2 +1,4 @@
 MD5 (teTeX/teTeX-src-1.0.7.tar.gz) = 2c6da2a45096c2fdc41b8de6a8af1a52
 MD5 (teTeX/teTeX-texmf-1.0.2.tar.gz) = 7811ed356cca07b16ea8422f00c3cd34
+MD5 (teTeX/graphics/pstricks/generic/pstricks.tex) = c431cc36aa482d51617f5267bc82e193
+MD5 (teTeX/graphics/pstricks/generic/pst-node.tex) = bfcf15b75af53f12491ba9376b6c0648

>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?200302041637.h14Gbweh069967>