1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- Update to version 20110311

- Update MASTER_SITES
- Add LICENSE
- Add MAKE_JOBS_SAFE

PR:           ports/170164
Submitted by: KATO Tsuguru <tkato432 _at_ yahoo.com>
Approved by:  beat (mentor)
Feature safe: yes
This commit is contained in:
Armin Pirkovitsch 2012-11-30 23:50:21 +00:00
parent 6853dcf547
commit d65c31526b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308033
3 changed files with 18 additions and 12 deletions

View File

@ -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

View File

@ -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

View File

@ -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);