From martin.dieringer@gmx.de  Fri Sep 26 11:17:13 2008
Return-Path: <martin.dieringer@gmx.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3EF621065688
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 26 Sep 2008 11:17:13 +0000 (UTC)
	(envelope-from martin.dieringer@gmx.de)
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20])
	by mx1.freebsd.org (Postfix) with SMTP id 9664F8FC0C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 26 Sep 2008 11:17:12 +0000 (UTC)
	(envelope-from martin.dieringer@gmx.de)
Received: (qmail invoked by alias); 26 Sep 2008 11:17:10 -0000
Received: from p54BEABFE.dip0.t-ipconnect.de (EHLO thinkpad.dieringer.dyndns.org) [84.190.171.254]
  by mail.gmx.net (mp046) with SMTP; 26 Sep 2008 13:17:10 +0200
Received: by thinkpad.dieringer.dyndns.org (Postfix, from userid 1001)
	id C26DF13B8964; Fri, 26 Sep 2008 13:17:08 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by thinkpad.dieringer.dyndns.org (Postfix) with ESMTP id A287213B8963
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 26 Sep 2008 13:17:08 +0200 (CEST)
Message-Id: <alpine.BSF.2.00.0809261316000.1681@thinkpad.nowhere.local>
Date: Fri, 26 Sep 2008 13:17:08 +0200 (CEST)
From: Martin Dieringer <martin.dieringer@gmx.de>
Reply-To: Martin Dieringer <martin.dieringer@gmx.de>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] print/ifxetex: mktexslr not called

>Number:         127646
>Category:       ports
>Synopsis:       [PATCH] print/ifxetex: mktexslr not called
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    wxs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 26 11:20:02 UTC 2008
>Closed-Date:    Sat Sep 27 22:57:35 UTC 2008
>Last-Modified:  Sat Sep 27 22:57:35 UTC 2008
>Originator:     Martin Dieringer
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD thinkpad 7.0-STABLE FreeBSD 7.0-STABLE #22: Fri Mar  7 04:18:13 CET
>Description:

patch to properly do mktexslr when (un)installing by package


Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- ifxetex-20080729_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/print/ifxetex/Makefile /data/compile/dblatex/ifxetex/Makefile
--- /usr/ports/print/ifxetex/Makefile	2008-09-25 03:20:23.000000000 +0200
+++ /data/compile/dblatex/ifxetex/Makefile	2008-09-25 14:08:53.000000000 +0200
@@ -6,6 +6,7 @@

   PORTNAME=	ifxetex
   PORTVERSION=	20080729
+PORTREVISION=	1
   CATEGORIES=	print
   MASTER_SITES=	${MASTER_SITE_TEX_CTAN}
   MASTER_SITE_SUBDIR=	macros/generic/${PORTNAME}
@@ -22,20 +23,24 @@
   EXTRACT_CMD=	${CP}
   EXTRACT_BEFORE_ARGS=	# empty
   EXTRACT_AFTER_ARGS=	.
+PLIST=		${WRKDIR}/pkg-plist

   TEXMFDIR=	share/texmf-local
+MKTEXLSR=	${LOCALBASE}/bin/mktexlsr
   CLASSDIR=	${TEXMFDIR}/tex/latex/${PORTNAME}
   CLASS_FILES=	${DISTFILES}

-PLIST_SUB=	CLASSDIR=${CLASSDIR}
-PLIST_FILES=	${CLASSDIR}/${CLASS_FILES}
-PLIST_DIRS=	${CLASSDIR}
+pre-install:
+	${ECHO_CMD} "${CLASSDIR}/${CLASS_FILES}" > ${PLIST}
+	${ECHO_CMD} "@dirrm ${CLASSDIR}" >> ${PLIST}
+	${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST}
+	${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST}

   do-install:
   	@${MKDIR} ${PREFIX}/${CLASSDIR}
   	${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}

   post-install:
-	${LOCALBASE}/bin/texhash
+	${MKTEXLSR}

   .include <bsd.port.mk>
--- ifxetex-20080729_1.patch ends here ---

>Release-Note:
>Audit-Trail:
Class-Changed-From-To: change-request->maintainer-update 
Class-Changed-By: edwin 
Class-Changed-When: Fri Sep 26 11:20:11 UTC 2008 
Class-Changed-Why:  
Fix category (submitter is maintainer) (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127646 
Responsible-Changed-From-To: freebsd-ports-bugs->wxs 
Responsible-Changed-By: wxs 
Responsible-Changed-When: Fri Sep 26 11:48:28 UTC 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127646 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/127646: commit references a PR
Date: Sat, 27 Sep 2008 14:13:12 +0000 (UTC)

 wxs         2008-09-27 14:13:01 UTC
 
   FreeBSD ports repository
 
   Modified files:
     print/ifxetex        Makefile 
   Log:
   - Properly call mktexslr when (un)installing by package.
   
   PR:             ports/127646
   Submitted by:   Martin Dieringer <martin.dieringer@gmx.de> (maintainer)
   
   Revision  Changes    Path
   1.2       +11 -1     ports/print/ifxetex/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: wxs 
State-Changed-When: Sat Sep 27 22:57:34 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127646 
>Unformatted:
