Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 2004 10:55:19 +0800 (CST)
From:      Ying-Chieh Liao <ijliao@FreeBSD.csie.NCTU.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/69079: upgrade print/latex-xcolor to 2.00
Message-ID:  <20040715025519.48234106BD7@FreeBSD.csie.NCTU.edu.tw>
Resent-Message-ID: <200407150300.i6F30eEj068575@freefall.freebsd.org>

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

>Number:         69079
>Category:       ports
>Synopsis:       upgrade print/latex-xcolor to 2.00
>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 03:00:40 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-xcolor/Makefile
===================================================================
RCS file: /home/pcvs/ports/print/latex-xcolor/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- latex-xcolor/Makefile	3 Mar 2004 21:37:30 -0000	1.2
+++ latex-xcolor/Makefile	15 Jul 2004 02:53:58 -0000
@@ -4,12 +4,12 @@
 #
 # $FreeBSD: ports/print/latex-xcolor/Makefile,v 1.2 2004/03/03 21:37:30 krion Exp $
 
-PORTNAME=	latex-xcolor
-PORTVERSION=	1.09
+PORTNAME=	xcolor
+PORTVERSION=	2.00
 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 driver-independent color extensions
@@ -20,24 +20,20 @@
 		${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-//}
-
-CLASS_FILES=	xcolor.dtx xcolor.ins xcolor.sty
-DOC_FILES=	README 	xcolor.pdf
+CLASSDIR=	${TEXMFLOCAL}/tex/latex/${PORTNAME}
+WRKSRC=		${WRKDIR}/${PORTNAME}
 
 do-install:
-	${MKDIR} ${PREFIX}/${CLASSDIR}
-	${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
-.endif
+	@${MKDIR} ${PREFIX}/${CLASSDIR}
+	${CP} ${WRKSRC}/xcolor.sty ${PREFIX}/${CLASSDIR}
+	@${ECHO_CMD} "${CLASSDIR}/xcolor.sty" >> ${TMPPLIST}
+	@${ECHO_CMD} "@dirrm ${CLASSDIR}" >> ${TMPPLIST}
+	@${ECHO_CMD} '@exec ${MKTEXLSR}' >> ${TMPPLIST}
+	@${ECHO_CMD} '@unexec ${MKTEXLSR}' >> ${TMPPLIST}
 
 post-install:
 	${MKTEXLSR}
Index: latex-xcolor/distinfo
===================================================================
RCS file: /home/pcvs/ports/print/latex-xcolor/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- latex-xcolor/distinfo	3 Mar 2004 21:37:30 -0000	1.2
+++ latex-xcolor/distinfo	15 Jul 2004 02:53:58 -0000
@@ -1,2 +1,2 @@
-MD5 (xcolor-1.09.tar.gz) = 3cad987433e217e11d76a206ea3b53f3
-SIZE (xcolor-1.09.tar.gz) = 240860
+MD5 (xcolor-2.00.tar.gz) = f8960a11271fa9d7bfa352966916553f
+SIZE (xcolor-2.00.tar.gz) = 68129
Index: latex-xcolor/pkg-plist
===================================================================
RCS file: latex-xcolor/pkg-plist
diff -N latex-xcolor/pkg-plist
--- latex-xcolor/pkg-plist	24 Jan 2004 09:53:00 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,10 +0,0 @@
-@comment $FreeBSD: ports/print/latex-xcolor/pkg-plist,v 1.1 2004/01/24 09:53:00 krion Exp $
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/xcolor.pdf
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%CLASSDIR%%/xcolor.dtx
-%%CLASSDIR%%/xcolor.ins
-%%CLASSDIR%%/xcolor.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?20040715025519.48234106BD7>