ports/50703: Update port: print/dvipdfmx

Statue statue at freebsd.sinica.edu.tw
Tue Apr 8 04:30:16 UTC 2003


>Number:         50703
>Category:       ports
>Synopsis:       Update port: print/dvipdfmx
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 07 21:30:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Statue
>Release:        FreeBSD 4.7-PRERELEASE i386
>Organization:
[MAINTAINER]
>Environment:
System: FreeBSD freebsd.sinica.edu.tw 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #2: Mon Sep 9 10:45:46 CST 2002 ycheng at freebsd.sinica.edu.tw:/usr/src/sys/compile/GENERIC i386


	
>Description:
o add a file: patch/patch-data::config::dvipdfmx.cfg
    due to teTeX2 merge *.map to psfonts.map
o add mktexlsr after install and deinstall
	
>How-To-Repeat:
	
>Fix:

diff -ruN dvipdfmx.orig/Makefile dvipdfmx/Makefile
--- dvipdfmx.orig/Makefile	Tue Apr  8 12:21:56 2003
+++ dvipdfmx/Makefile	Tue Apr  8 12:25:09 2003
@@ -15,8 +15,7 @@
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX
 LIB_DEPENDS=	png:${PORTSDIR}/graphics/png
-RUN_DEPENDS=	${LOCALBASE}/share/ghostscript/Resource/ai0/CMap/Identity-H:${PO
-RTSDIR}/print/adobe-cmaps \
+RUN_DEPENDS=	${LOCALBASE}/share/ghostscript/Resource/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps \
 		kpsepath:${PORTSDIR}/print/teTeX
 
 MAN1=		dvipdfm.1
@@ -30,5 +29,6 @@
 
 post-install:
 	@${LN} -fs ${LOCALBASE}/share/ghostscript/Resource ${PREFIX}/share/texmf/dvipdfm/
+	${LOCALBASE}/bin/mktexlsr
 
 .include <bsd.port.mk>
diff -ruN dvipdfmx.orig/files/patch-data::config::dvipdfmx.cfg dvipdfmx/files/patch-data::config::dvipdfmx.cfg
--- dvipdfmx.orig/files/patch-data::config::dvipdfmx.cfg	Thu Jan  1 08:00:00 1970
+++ dvipdfmx/files/patch-data::config::dvipdfmx.cfg	Tue Apr  8 12:24:22 2003
@@ -0,0 +1,17 @@
+--- data/config/dvipdfmx.cfg.orig	Tue Apr  8 12:23:17 2003
++++ data/config/dvipdfmx.cfg	Tue Apr  8 12:23:42 2003
+@@ -76,10 +76,11 @@
+ 
+ % Font map files
+ %
+-f cmr.map
+-f psbase14.map
++% f cmr.map
++% f psbase14.map
+ % Most distributions now use these names
+-f lw35urw.map
++% f lw35urw.map
+ % Some use these names
+ % f lw35urwa.map
+ f cid-x.map
++f psfonts.map
diff -ruN dvipdfmx.orig/pkg-plist dvipdfmx/pkg-plist
--- dvipdfmx.orig/pkg-plist	Tue Apr  8 12:21:56 2003
+++ dvipdfmx/pkg-plist	Tue Apr  8 12:22:49 2003
@@ -12,3 +12,5 @@
 @dirrm share/texmf/dvipdfm/config
 @dirrm share/texmf/dvipdfm
 @unexec mv %D/share/texmf/dvipdfm-orig %D/share/texmf/dvipdfm
+ at exec %D/bin/mktexlsr
+ at unexec %D/bin/mktexlsr
	


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



More information about the freebsd-ports-bugs mailing list