aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--print/dvipdfmx/Makefile12
-rw-r--r--print/dvipdfmx/distinfo4
-rw-r--r--print/dvipdfmx/files/patch-src-dvipdfmx.c14
3 files changed, 18 insertions, 12 deletions
diff --git a/print/dvipdfmx/Makefile b/print/dvipdfmx/Makefile
index 763bb2eb18b..e68d08328c2 100644
--- a/print/dvipdfmx/Makefile
+++ b/print/dvipdfmx/Makefile
@@ -6,16 +6,19 @@
#
PORTNAME= dvipdfmx
-PORTVERSION= 20100328
-PORTREVISION= 1
+PORTVERSION= 20110311
CATEGORIES= print
-MASTER_SITES= http://project.ktug.or.kr/dvipdfmx/snapshot/latest/ \
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \
+ http://project.ktug.or.kr/dvipdfmx/snapshot/latest/ \
http://project.ktug.or.kr/dvipdfmx/snapshot/archive/
+MASTER_SITE_SUBDIR= dviware/dvipdfmx
DIST_SUBDIR= dvipdfmx
MAINTAINER= ports@FreeBSD.org
COMMENT= Dvipdfm with Asian languages by CID-keyed font technology support
+LICENSE= GPLv2 # (or later)
+
BUILD_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX-base
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
paper:${PORTSDIR}/print/libpaper
@@ -24,12 +27,15 @@ RUN_DEPENDS= ${ADOBECMAPDIR}/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps \
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${LOCALBASE}/share
+MAKE_JOBS_SAFE= yes
+
PLIST_SUB= DVIPDFMXDIR=${DVIPDFMXDIR} \
FONTMAPDIR=${FONTMAPDIR} \
GLYPHMAPDIR=${GLYPHMAPDIR} \
FONTCMAPDIR=${FONTCMAPDIR} \
MKTEXLSR=${MKTEXLSR} \
ADOBECMAPDIR=${ADOBECMAPDIR}
+
MAN1= extractbb.1
TEXMFDIR= share/texmf
diff --git a/print/dvipdfmx/distinfo b/print/dvipdfmx/distinfo
index 6e89a009e34..332899d141c 100644
--- a/print/dvipdfmx/distinfo
+++ b/print/dvipdfmx/distinfo
@@ -1,2 +1,2 @@
-SHA256 (dvipdfmx/dvipdfmx-20100328.tar.gz) = 42e47c36a13ab7201cd2091f5628f53168583e203ef37d3e486ed5a04208838e
-SIZE (dvipdfmx/dvipdfmx-20100328.tar.gz) = 602605
+SHA256 (dvipdfmx/dvipdfmx-20110311.tar.gz) = ba7b052a17d8be4d94d64186fa77ddcce52ab5ee755b02e8444c56450ad2cbbe
+SIZE (dvipdfmx/dvipdfmx-20110311.tar.gz) = 616749
diff --git a/print/dvipdfmx/files/patch-src-dvipdfmx.c b/print/dvipdfmx/files/patch-src-dvipdfmx.c
index 27d9a97986f..564d3bc46ce 100644
--- a/print/dvipdfmx/files/patch-src-dvipdfmx.c
+++ b/print/dvipdfmx/files/patch-src-dvipdfmx.c
@@ -1,12 +1,12 @@
---- src/dvipdfmx.c.orig 2009-05-11 11:15:25.000000000 +0900
-+++ src/dvipdfmx.c 2009-06-12 10:26:27.000000000 +0900
-@@ -806,6 +806,9 @@
- if (!(strcmp(base, "dvipdfm") && strcmp(base, "ebb")))
+--- src/dvipdfmx.c.orig 2011-03-08 11:08:35.000000000 +0900
++++ src/dvipdfmx.c 2012-07-11 18:05:25.000000000 +0900
+@@ -842,6 +842,9 @@
+ if (!(STRCMP_BASE("dvipdfm") && STRCMP_BASE("ebb")))
compat_mode = 1;
-+ if (strcmp(base, "ebb-dvipdfmx") == 0)
++ if (STRCMP_BASE("ebb-dvipdfmx") == 0)
+ return extractbb(argc, argv);
+
- if (!(strcmp(base, "extractbb") && strcmp(base, "xbb") &&
- strcmp(base, "ebb")))
+ if (!(STRCMP_BASE("extractbb") && STRCMP_BASE("xbb") &&
+ STRCMP_BASE("ebb")))
return extractbb(argc, argv);