diff options
author | wiz <wiz> | 2002-08-06 14:04:34 +0000 |
---|---|---|
committer | wiz <wiz> | 2002-08-06 14:04:34 +0000 |
commit | 3a1b215e7d71667f721cdf42b772a747894affc3 (patch) | |
tree | 504ac74e084d0125548ebb0a87a57e8c67594e6d /print/xpdf-japanese | |
parent | 48a9410d3ff85733767c0324aac772fd283d0264 (diff) | |
download | pkgsrc-3a1b215e7d71667f721cdf42b772a747894affc3.tar.gz |
Initial import of language support packages for xpdf.
Most of them provided by Rui-Xiang Guo in pkg/16258-16264.
I updated them to the current versions and did some cleanup (e.g.,
adding DIST_SUBDIR).
Diffstat (limited to 'print/xpdf-japanese')
-rw-r--r-- | print/xpdf-japanese/DEINSTALL | 25 | ||||
-rw-r--r-- | print/xpdf-japanese/DESCR | 13 | ||||
-rw-r--r-- | print/xpdf-japanese/Makefile | 42 | ||||
-rw-r--r-- | print/xpdf-japanese/PLIST | 62 | ||||
-rw-r--r-- | print/xpdf-japanese/distinfo | 4 |
5 files changed, 146 insertions, 0 deletions
diff --git a/print/xpdf-japanese/DEINSTALL b/print/xpdf-japanese/DEINSTALL new file mode 100644 index 00000000000..c9cac1ac59a --- /dev/null +++ b/print/xpdf-japanese/DEINSTALL @@ -0,0 +1,25 @@ +#!/bin/sh +# +# $NetBSD: DEINSTALL,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ + +PKGNAME=$1 +STAGE=$2 + +XPDFRC=${PKG_PREFIX}/etc/xpdfrc + +case ${STAGE} in +DEINSTALL) + ;; + +POST-DEINSTALL) + sed -e "/apanese/d" ${XPDFRC} > ${XPDFRC}.tmp + sed -e "/jisx0208/d" ${XPDFRC}.tmp > ${XPDFRC} + rm -f ${XPDFRC}.tmp + ;; + +*) + echo "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/print/xpdf-japanese/DESCR b/print/xpdf-japanese/DESCR new file mode 100644 index 00000000000..65fb58c9ef8 --- /dev/null +++ b/print/xpdf-japanese/DESCR @@ -0,0 +1,13 @@ +If this package includes CMap files, they contain their own copyright +notices and distribution conditions. All other files in the package +are Copyright 2002 Derek B. Noonburg, and are licensed under the GNU +General Public License (GPL), version 2. + +This package provides support files needed to use the Xpdf tools with +Japanese PDF files. + +Contents: +- Adobe-Japan1 character collection support +- ISO-2022-JP encoding +- EUC-JP encoding +- Shift-JIS encoding diff --git a/print/xpdf-japanese/Makefile b/print/xpdf-japanese/Makefile new file mode 100644 index 00000000000..b7563f66228 --- /dev/null +++ b/print/xpdf-japanese/Makefile @@ -0,0 +1,42 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ +# + +DISTNAME= xpdf-japanese +PKGNAME= ${DISTNAME}-20020521 +CATEGORIES= print +MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ + +MAINTAINER= rxg@netbsd.org +HOMEPAGE= http://www.foolabs.com/xpdf/ +COMMENT= xpdf support files for Japanese + +DEPENDS+= xpdf>=1.00:../../print/xpdf + +USE_X11BASE= yes + +DIST_SUBDIR= ${PKGNAME} +WRKSRC= ${WRKDIR}/${DISTNAME} +NO_CONFIGURE= yes +NO_BUILD= yes + +post-patch: + ${MV} ${WRKSRC}/add-to-xpdfrc ${WRKSRC}/add-to-xpdfrc.orig + ${SED} -e 's:/usr/local:'${X11PREFIX}':g' < ${WRKSRC}/add-to-xpdfrc.orig > ${WRKSRC}/add-to-xpdfrc + +do-install: + ${INSTALL_DATA_DIR} ${X11PREFIX}/share/xpdf/japanese + ${INSTALL_DATA} ${WRKSRC}/Adobe-Japan1.cidToUnicode \ + ${X11PREFIX}/share/xpdf/japanese + ${INSTALL_DATA} ${WRKSRC}/EUC-JP.unicodeMap \ + ${X11PREFIX}/share/xpdf/japanese + ${INSTALL_DATA} ${WRKSRC}/ISO-2022-JP.unicodeMap \ + ${X11PREFIX}/share/xpdf/japanese + ${INSTALL_DATA} ${WRKSRC}/Shift-JIS.unicodeMap \ + ${X11PREFIX}/share/xpdf/japanese + ${INSTALL_DATA_DIR} ${X11PREFIX}/share/xpdf/japanese/CMap + ${INSTALL_DATA} ${WRKSRC}/CMap/* ${X11PREFIX}/share/xpdf/japanese/CMap + +post-install: + ${CAT} ${WRKSRC}/add-to-xpdfrc >> ${X11PREFIX}/etc/xpdfrc + +.include "../../mk/bsd.pkg.mk" diff --git a/print/xpdf-japanese/PLIST b/print/xpdf-japanese/PLIST new file mode 100644 index 00000000000..8714bb0b6da --- /dev/null +++ b/print/xpdf-japanese/PLIST @@ -0,0 +1,62 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ +share/xpdf/japanese/Adobe-Japan1.cidToUnicode +share/xpdf/japanese/CMap/78-EUC-H +share/xpdf/japanese/CMap/78-EUC-V +share/xpdf/japanese/CMap/78-H +share/xpdf/japanese/CMap/78-RKSJ-H +share/xpdf/japanese/CMap/78-RKSJ-V +share/xpdf/japanese/CMap/78-V +share/xpdf/japanese/CMap/78ms-RKSJ-H +share/xpdf/japanese/CMap/78ms-RKSJ-V +share/xpdf/japanese/CMap/83pv-RKSJ-H +share/xpdf/japanese/CMap/90ms-RKSJ-H +share/xpdf/japanese/CMap/90ms-RKSJ-UCS2 +share/xpdf/japanese/CMap/90ms-RKSJ-V +share/xpdf/japanese/CMap/90msp-RKSJ-H +share/xpdf/japanese/CMap/90msp-RKSJ-V +share/xpdf/japanese/CMap/90pv-RKSJ-H +share/xpdf/japanese/CMap/90pv-RKSJ-UCS2 +share/xpdf/japanese/CMap/90pv-RKSJ-UCS2C +share/xpdf/japanese/CMap/90pv-RKSJ-V +share/xpdf/japanese/CMap/Add-H +share/xpdf/japanese/CMap/Add-RKSJ-H +share/xpdf/japanese/CMap/Add-RKSJ-V +share/xpdf/japanese/CMap/Add-V +share/xpdf/japanese/CMap/Adobe-Japan1-0 +share/xpdf/japanese/CMap/Adobe-Japan1-1 +share/xpdf/japanese/CMap/Adobe-Japan1-2 +share/xpdf/japanese/CMap/Adobe-Japan1-3 +share/xpdf/japanese/CMap/Adobe-Japan1-4 +share/xpdf/japanese/CMap/Adobe-Japan1-UCS2 +share/xpdf/japanese/CMap/EUC-H +share/xpdf/japanese/CMap/EUC-V +share/xpdf/japanese/CMap/Ext-H +share/xpdf/japanese/CMap/Ext-RKSJ-H +share/xpdf/japanese/CMap/Ext-RKSJ-V +share/xpdf/japanese/CMap/Ext-V +share/xpdf/japanese/CMap/H +share/xpdf/japanese/CMap/Hankaku +share/xpdf/japanese/CMap/Hiragana +share/xpdf/japanese/CMap/Katakana +share/xpdf/japanese/CMap/NWP-H +share/xpdf/japanese/CMap/NWP-V +share/xpdf/japanese/CMap/RKSJ-H +share/xpdf/japanese/CMap/RKSJ-V +share/xpdf/japanese/CMap/Roman +share/xpdf/japanese/CMap/UniJIS-UCS2-H +share/xpdf/japanese/CMap/UniJIS-UCS2-HW-H +share/xpdf/japanese/CMap/UniJIS-UCS2-HW-V +share/xpdf/japanese/CMap/UniJIS-UCS2-V +share/xpdf/japanese/CMap/UniJIS-UTF8-H +share/xpdf/japanese/CMap/UniJIS-UTF8-V +share/xpdf/japanese/CMap/UniJISPro-UCS2-HW-V +share/xpdf/japanese/CMap/UniJISPro-UCS2-V +share/xpdf/japanese/CMap/UniJISPro-UTF8-V +share/xpdf/japanese/CMap/V +share/xpdf/japanese/CMap/WP-Symbol +share/xpdf/japanese/EUC-JP.unicodeMap +share/xpdf/japanese/ISO-2022-JP.unicodeMap +share/xpdf/japanese/Shift-JIS.unicodeMap +@dirrm share/xpdf/japanese/CMap +@dirrm share/xpdf/japanese +@unexec ${RMDIR} %D/share/xpdf 2> /dev/null || true diff --git a/print/xpdf-japanese/distinfo b/print/xpdf-japanese/distinfo new file mode 100644 index 00000000000..d3e5f81a3b2 --- /dev/null +++ b/print/xpdf-japanese/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ + +SHA1 (xpdf-japanese-20020521/xpdf-japanese.tar.gz) = d01254ae8c1e14232e44edf89f84a0f05b479372 +Size (xpdf-japanese-20020521/xpdf-japanese.tar.gz) = 430478 bytes |