Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 2004 10:36:19 +0800 (CST)
From:      Ying-Chieh Liao <ijliao@FreeBSD.csie.NCTU.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/69078: upgrade print/latex-pgf to 0.62
Message-ID:  <20040715023619.E3478106BEB@FreeBSD.csie.NCTU.edu.tw>
Resent-Message-ID: <200407150240.i6F2eMrU068028@freefall.freebsd.org>

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

>Number:         69078
>Category:       ports
>Synopsis:       upgrade print/latex-pgf to 0.62
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 15 02:40:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Liao
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
NCTU CSIE
>Environment:
System: FreeBSD FreeBSD.csie.NCTU.edu.tw 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat May 29 08:18:00 CST 2004 root@FreeBSD.csie.NCTU.edu.tw:/home/usr.obj/big/freebsd/pub/branches/4.0-stable/src/sys/FREEBSD i386


	
>Description:
	
>How-To-Repeat:
	
>Fix:

	

--- patch begins here ---
Index: latex-pgf/Makefile
===================================================================
RCS file: /home/pcvs/ports/print/latex-pgf/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- latex-pgf/Makefile	3 Mar 2004 21:38:07 -0000	1.2
+++ latex-pgf/Makefile	15 Jul 2004 02:35:10 -0000
@@ -4,12 +4,12 @@
 #
 # $FreeBSD: ports/print/latex-pgf/Makefile,v 1.2 2004/03/03 21:38:07 krion Exp $
 
-PORTNAME=	latex-pgf
-PORTVERSION=	0.60
+PORTNAME=	pgf
+PORTVERSION=	0.62
 CATEGORIES=	print
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	latex-beamer
-DISTNAME=	${PORTNAME:S/^latex-//}-${PORTVERSION}
+PKGNAMEPREFIX=	latex-
 
 MAINTAINER=	hrs@FreeBSD.org
 COMMENT=	A LaTeX package for TeX Portable Graphic Format
@@ -20,30 +20,30 @@
 		${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
 
 NO_BUILD=	YES
-PLIST_SUB=	MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR}
 
 TEXMFLOCAL=	share/texmf-local
 TEXMFLOCAL_LSR=	${LOCALBASE}/${TEXMFLOCAL}/ls-R
 MKTEXLSR=	${LOCALBASE}/bin/mktexlsr
-CLASSDIR=	${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
-WRKSRC=		${WRKDIR}/${PORTNAME:S/^latex-//}
+CLASSDIR=	${TEXMFLOCAL}/tex/latex/${PORTNAME}
+WRKSRC=		${WRKDIR}/${PORTNAME}
 
-CLASS_FILES=	pgf.sty pgfarrows.sty pgfautomata.sty pgfheaps.sty \
-		pgfnodes.sty pgfshade.sty xxcolor.sty
-
-DOC_FILES=	AUTHORS ChangeLog FILES INSTALL README TODO \
-		apple.jpg apple.mask.jpg \
-		pgfuserguide.pdf pgfuserguide.tex \
-		tu-logo.25.eps tu-logo.25.jpg \
-		tu-logo.eps tu-logo.jpg \
-		tu-logo.mask.jpg \
+.if !defined(NOPORTDOCS)
+DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+PORTDOCS=	*
+.endif
 
 do-install:
-	${MKDIR} ${PREFIX}/${CLASSDIR}
-	${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
+	@${MKDIR} ${PREFIX}/${CLASSDIR}
+	${CP} ${WRKSRC}/*.sty ${PREFIX}/${CLASSDIR}
+	@${FIND} ${PREFIX}/${CLASSDIR} ! -type d | \
+		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+	@${FIND} ${PREFIX}/${CLASSDIR} -type d | ${SORT} -r | \
+		${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+	@${ECHO_CMD} '@exec ${MKTEXLSR}' >> ${TMPPLIST}
+	@${ECHO_CMD} '@unexec ${MKTEXLSR}' >> ${TMPPLIST}
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/pgfuserguide.pdf ${DOCSDIR}
 .endif
 
 post-install:
Index: latex-pgf/distinfo
===================================================================
RCS file: /home/pcvs/ports/print/latex-pgf/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- latex-pgf/distinfo	3 Mar 2004 21:38:07 -0000	1.2
+++ latex-pgf/distinfo	15 Jul 2004 02:35:10 -0000
@@ -1,2 +1,2 @@
-MD5 (pgf-0.60.tar.gz) = 0478c4aecd56f3f4dc8bb4e0df0edd95
-SIZE (pgf-0.60.tar.gz) = 354312
+MD5 (pgf-0.62.tar.gz) = b103447f890b36bd6bc93200dc6adbd4
+SIZE (pgf-0.62.tar.gz) = 351476
Index: latex-pgf/pkg-plist
===================================================================
RCS file: latex-pgf/pkg-plist
diff -N latex-pgf/pkg-plist
--- latex-pgf/pkg-plist	24 Jan 2004 09:48:54 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,27 +0,0 @@
-@comment $FreeBSD: ports/print/latex-pgf/pkg-plist,v 1.1 2004/01/24 09:48:54 krion Exp $
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/FILES
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%%%DOCSDIR%%/apple.jpg
-%%PORTDOCS%%%%DOCSDIR%%/apple.mask.jpg
-%%PORTDOCS%%%%DOCSDIR%%/pgfuserguide.pdf
-%%PORTDOCS%%%%DOCSDIR%%/pgfuserguide.tex
-%%PORTDOCS%%%%DOCSDIR%%/tu-logo.25.eps
-%%PORTDOCS%%%%DOCSDIR%%/tu-logo.25.jpg
-%%PORTDOCS%%%%DOCSDIR%%/tu-logo.eps
-%%PORTDOCS%%%%DOCSDIR%%/tu-logo.jpg
-%%PORTDOCS%%%%DOCSDIR%%/tu-logo.mask.jpg
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%CLASSDIR%%/pgf.sty
-%%CLASSDIR%%/pgfarrows.sty
-%%CLASSDIR%%/pgfautomata.sty
-%%CLASSDIR%%/pgfheaps.sty
-%%CLASSDIR%%/pgfnodes.sty
-%%CLASSDIR%%/pgfshade.sty
-%%CLASSDIR%%/xxcolor.sty
-@dirrm %%CLASSDIR%%
-@exec %%MKTEXLSR%%
-@unexec %%MKTEXLSR%%
--- patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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