summaryrefslogtreecommitdiff
path: root/print/dvipdfmx
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-06-25 16:18:14 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-06-25 16:18:14 +0000
commit613699b5b6e2c53fc76b56f3eda0ea3aafa027da (patch)
treec78e69ff75ebfd704817f04a38467c9067160808 /print/dvipdfmx
parentUpdate to 2.2.3. (diff)
o add dvipdfm/base/ files.
o modify files/patch-data::config::dvipdfmx.cfg o bump PORTREVISION PR: 53640 Submitted by: Statue <statue@freebsd.sinica.edu.tw>
Notes
Notes: svn path=/head/; revision=83596
Diffstat (limited to 'print/dvipdfmx')
-rw-r--r--print/dvipdfmx/Makefile13
-rw-r--r--print/dvipdfmx/distinfo1
-rw-r--r--print/dvipdfmx/files/patch-data::config::dvipdfmx.cfg2
-rw-r--r--print/dvipdfmx/pkg-plist10
4 files changed, 20 insertions, 6 deletions
diff --git a/print/dvipdfmx/Makefile b/print/dvipdfmx/Makefile
index 27abe497aca4..311173a9da86 100644
--- a/print/dvipdfmx/Makefile
+++ b/print/dvipdfmx/Makefile
@@ -7,9 +7,12 @@
PORTNAME= dvipdfmx
PORTVERSION= 20030313
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= print
-MASTER_SITES= http://project.ktug.or.kr/dvipdfmx/snapshot/
+MASTER_SITES= http://project.ktug.or.kr/dvipdfmx/snapshot/ \
+ ftp://freebsd.sinica.edu.tw/pub/statue/dvipdfmx/
+DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz \
+ ${PORTNAME}-base-0.1.tar.gz
MAINTAINER= statue@freebsd.sinica.edu.tw
COMMENT= Dvipdfm with Asian languages by CID-keyed font technology support
@@ -22,15 +25,15 @@ RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/Resource/ai0/CMap/Identity-H:${PORTS
USE_OPENSSL= yes
GNU_CONFIGURE= yes
-post-patch:
- @${RM} ${WRKSRC}/data/config/dvipdfmx.cfg.orig
-
pre-install:
${CP} ${LOCALBASE}/bin/dvipdfm ${LOCALBASE}/bin/dvipdfm-orig > /dev/null 2>&1 || ${TRUE}
${MV} ${LOCALBASE}/share/texmf/dvipdfm ${LOCALBASE}/share/texmf/dvipdfm-orig > /dev/null 2>&1 || ${TRUE}
post-install:
@${LN} -fs ${LOCALBASE}/share/ghostscript/Resource ${PREFIX}/share/texmf/dvipdfm/
+ ${MKDIR} ${LOCALBASE}/share/texmf/dvipdfm/base
+ ${CP} ${WRKDIR}/base/* ${LOCALBASE}/share/texmf/dvipdfm/base
+ ${RM} ${LOCALBASE}/share/texmf/dvipdfm/config/dvipdfmx.cfg.orig
${LOCALBASE}/bin/mktexlsr
.include <bsd.port.mk>
diff --git a/print/dvipdfmx/distinfo b/print/dvipdfmx/distinfo
index aec49ece7df8..1c5b0e1a9d23 100644
--- a/print/dvipdfmx/distinfo
+++ b/print/dvipdfmx/distinfo
@@ -1 +1,2 @@
MD5 (dvipdfmx-20030313.tar.gz) = 8dd3bb3a707485daa42404d8c6619c01
+MD5 (dvipdfmx-base-0.1.tar.gz) = 5fbd97ba9e9230abb28a35c7e7860af7
diff --git a/print/dvipdfmx/files/patch-data::config::dvipdfmx.cfg b/print/dvipdfmx/files/patch-data::config::dvipdfmx.cfg
index c5fe88f777ab..ba4f2c003619 100644
--- a/print/dvipdfmx/files/patch-data::config::dvipdfmx.cfg
+++ b/print/dvipdfmx/files/patch-data::config::dvipdfmx.cfg
@@ -14,4 +14,4 @@
% Some use these names
% f lw35urwa.map
f cid-x.map
-+f psfonts.map
++f dvipdfm.map
diff --git a/print/dvipdfmx/pkg-plist b/print/dvipdfmx/pkg-plist
index 9940230babff..44086f950b95 100644
--- a/print/dvipdfmx/pkg-plist
+++ b/print/dvipdfmx/pkg-plist
@@ -7,9 +7,19 @@ share/texmf/dvipdfm/CMap/Adobe-Identity-UCS2
share/texmf/dvipdfm/CMap/EUC-UCS2
share/texmf/dvipdfm/CMap/UniKSCms-UCS2-H
share/texmf/dvipdfm/CMap/UniKSCms-UCS2-V
+share/texmf/dvipdfm/base/cid.map
+share/texmf/dvipdfm/base/cmr.map
+share/texmf/dvipdfm/base/lw35urw.map
+share/texmf/dvipdfm/base/lw35urwa.map
+share/texmf/dvipdfm/base/ot1.enc
+share/texmf/dvipdfm/base/ot1alt.enc
+share/texmf/dvipdfm/base/ot1r.enc
+share/texmf/dvipdfm/base/psbase14.map
+share/texmf/dvipdfm/base/t1fonts.map
share/texmf/dvipdfm/config/cid-x.map
share/texmf/dvipdfm/config/dvipdfmx.cfg
@dirrm share/texmf/dvipdfm/CMap
+@dirrm share/texmf/dvipdfm/base
@dirrm share/texmf/dvipdfm/config
@dirrm share/texmf/dvipdfm
@unexec mv %D/share/texmf/dvipdfm-orig %D/share/texmf/dvipdfm