Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  4 Aug 2002 11:53:35 +0800 (CST)
From:      Statue <statue@freebsd.sinica.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41303: Update port: chines/expdf
Message-ID:  <20020804035335.087DB73F@freebsd.sinica.edu.tw>

next in thread | raw e-mail | index | archive | help

>Number:         41303
>Category:       ports
>Synopsis:       Update port: chines/expdf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 03 21:00:07 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Statue
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
[MAINTAINER]
>Environment:
System: FreeBSD freebsd.sinica.edu.tw 4.6-STABLE FreeBSD 4.6-STABLE #1: Tue Jul 23 15:34:20 CST 2002 ycheng@freebsd.sinica.edu.tw:/usr/src/sys/compile/GENERIC i386


	
>Description:
add simplified chinese support
	
>How-To-Repeat:
	
>Fix:

diff -ruN xpdf.org/Makefile xpdf/Makefile
--- xpdf.org/Makefile	Sun Aug  4 03:32:54 2002
+++ xpdf/Makefile	Sun Aug  4 11:47:01 2002
@@ -9,7 +9,7 @@
 PORTVERSION=	1.01
 CATEGORIES=	chinese
 MASTER_SITES=	ftp://ftp.foolabs.com/pub/xpdf/
-DISTNAME=	xpdf-chinese-traditional
+DISTFILES=	xpdf-chinese-simplified.tar.gz xpdf-chinese-traditional.tar.gz
 
 MAINTAINER=	statue@freebsd.sinica.edu.tw
 
@@ -18,12 +18,19 @@
 
 NO_BUILD=	yes
 USE_X_PREFIX=	yes
-INSTALL_FILES=	Adobe-CNS1.cidToUnicode Big5.unicodeMap \
+WRKSRC=		${WRKDIR}
+SIMP_FILES=	Adobe-GB1.cidToUnicode EUC-CN.unicodeMap GBK.unicodeMap \
+		ISO-2022-CN.unicodeMap README
+TRAD_FILES=	Adobe-CNS1.cidToUnicode Big5.unicodeMap \
 		Big5ascii.unicodeMap README
 do-install:
+	${MKDIR} ${PREFIX}/share/xpdf/chinese-simplified
+.for i in ${SIMP_FILES}
+	${INSTALL_DATA} ${WRKSRC}/xpdf-chinese-simplified/${i} ${PREFIX}/share/xpdf/chinese-simplified
+.endfor
 	${MKDIR} ${PREFIX}/share/xpdf/chinese-traditional
-.for i in ${INSTALL_FILES}
-	${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/xpdf/chinese-traditional
+.for i in ${TRAD_FILES}
+	${INSTALL_DATA} ${WRKSRC}/xpdf-chinese-traditional/${i} ${PREFIX}/share/xpdf/chinese-traditional
 .endfor
 	${INSTALL_DATA} ${FILESDIR}/dot.xpdfrc ${PREFIX}/share/xpdf/chinese-traditional
 	${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
diff -ruN xpdf.org/distinfo xpdf/distinfo
--- xpdf.org/distinfo	Sun Aug  4 03:32:54 2002
+++ xpdf/distinfo	Sun Aug  4 11:44:10 2002
@@ -1 +1,2 @@
+MD5 (xpdf-chinese-simplified.tar.gz) = 713659f0282b9e3d169390e246e5eb74
 MD5 (xpdf-chinese-traditional.tar.gz) = 5be730b859f8b01de569eb1bad188426
diff -ruN xpdf.org/files/dot.xpdfrc xpdf/files/dot.xpdfrc
--- xpdf.org/files/dot.xpdfrc	Sun Aug  4 03:32:55 2002
+++ xpdf/files/dot.xpdfrc	Sun Aug  4 11:44:10 2002
@@ -8,3 +8,12 @@
 # If you have the Arhpic fonts, you may want to use this instead:
 # displayCIDFontX Adobe-CNS1	"-arphic-ar pl kaitim big5-medium-r-normal--%s-*-*-*-c-*-iso10646-1" UCS-2
 #----- end Chinese Traditional support package
+#----- begin Chinese Simplified support package (2002-apr-18)
+cidToUnicode	Adobe-GB1	/usr/X11R6/share/xpdf/chinese-simplified/Adobe-GB1.cidToUnicode
+unicodeMap	ISO-2022-CN	/usr/X11R6/share/xpdf/chinese-simplified/ISO-2022-CN.unicodeMap
+unicodeMap	EUC-CN		/usr/X11R6/share/xpdf/chinese-simplified/EUC-CN.unicodeMap
+unicodeMap	GBK		/usr/X11R6/share/xpdf/chinese-simplified/GBK.unicodeMap
+cMapDir		Adobe-GB1	/usr/local/share/ghostscript/Resource/CMap
+toUnicodeDir			/usr/local/share/ghostscript/Resource/CMap
+displayCIDFontX	Adobe-GB1	"-*-fangsong ti-medium-r-normal-*-%s-*-*-*-*-*-gb2312.1980-0" ISO-2022-CN
+#----- end Chinese Simplified support package
diff -ruN xpdf.org/pkg-descr xpdf/pkg-descr
--- xpdf.org/pkg-descr	Sun Aug  4 03:32:54 2002
+++ xpdf/pkg-descr	Sun Aug  4 11:44:10 2002
@@ -1 +1,3 @@
 This ports enables xpdf to read chinese-traditional pdf.
+
+WWW: http://www.foolabs.com/xpdf/
diff -ruN xpdf.org/pkg-plist xpdf/pkg-plist
--- xpdf.org/pkg-plist	Sun Aug  4 03:32:54 2002
+++ xpdf/pkg-plist	Sun Aug  4 11:44:10 2002
@@ -1,3 +1,8 @@
+share/xpdf/chinese-simplified/Adobe-GB1.cidToUnicode
+share/xpdf/chinese-simplified/EUC-CN.unicodeMap
+share/xpdf/chinese-simplified/GBK.unicodeMap
+share/xpdf/chinese-simplified/ISO-2022-CN.unicodeMap
+share/xpdf/chinese-simplified/README
 share/xpdf/chinese-traditional/Adobe-CNS1.cidToUnicode
 share/xpdf/chinese-traditional/Big5.unicodeMap
 share/xpdf/chinese-traditional/Big5ascii.unicodeMap
	


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020804035335.087DB73F>