aboutsummaryrefslogtreecommitdiffstats
path: root/print/dvipdfmx
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-04-08 13:35:29 +0800
committerijliao <ijliao@FreeBSD.org>2003-04-08 13:35:29 +0800
commit1634235b5077ea40e8322570e21bec8a892bced6 (patch)
treea27a7e38c8053449517beb6d31b153c1e31c1443 /print/dvipdfmx
parent70fe0c3fd7649d24972fcbe7500aca62e36efd05 (diff)
downloadfreebsd-ports-gnome-1634235b5077ea40e8322570e21bec8a892bced6.tar.gz
freebsd-ports-gnome-1634235b5077ea40e8322570e21bec8a892bced6.tar.zst
freebsd-ports-gnome-1634235b5077ea40e8322570e21bec8a892bced6.zip
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 PR: 50703 Submitted by: maintainer
Diffstat (limited to 'print/dvipdfmx')
-rw-r--r--print/dvipdfmx/Makefile5
-rw-r--r--print/dvipdfmx/files/patch-data::config::dvipdfmx.cfg17
-rw-r--r--print/dvipdfmx/pkg-plist2
3 files changed, 22 insertions, 2 deletions
diff --git a/print/dvipdfmx/Makefile b/print/dvipdfmx/Makefile
index a5158556a5eb..6a48994dca79 100644
--- a/print/dvipdfmx/Makefile
+++ b/print/dvipdfmx/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dvipdfmx
PORTVERSION= 20030313
+PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= http://project.ktug.or.kr/dvipdfmx/snapshot/
@@ -15,8 +16,7 @@ COMMENT= Dvipdfm with Asian languages by CID-keyed font technology support
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 +30,6 @@ pre-install:
post-install:
@${LN} -fs ${LOCALBASE}/share/ghostscript/Resource ${PREFIX}/share/texmf/dvipdfm/
+ ${LOCALBASE}/bin/mktexlsr
.include <bsd.port.mk>
diff --git a/print/dvipdfmx/files/patch-data::config::dvipdfmx.cfg b/print/dvipdfmx/files/patch-data::config::dvipdfmx.cfg
new file mode 100644
index 000000000000..c5fe88f777ab
--- /dev/null
+++ b/print/dvipdfmx/files/patch-data::config::dvipdfmx.cfg
@@ -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 --git a/print/dvipdfmx/pkg-plist b/print/dvipdfmx/pkg-plist
index dbb2828db0d0..b1ead7320576 100644
--- a/print/dvipdfmx/pkg-plist
+++ b/print/dvipdfmx/pkg-plist
@@ -12,3 +12,5 @@ share/texmf/dvipdfm/config/dvipdfmx.cfg
@dirrm share/texmf/dvipdfm/config
@dirrm share/texmf/dvipdfm
@unexec mv %D/share/texmf/dvipdfm-orig %D/share/texmf/dvipdfm
+@exec %D/bin/mktexlsr
+@unexec %D/bin/mktexlsr