summaryrefslogtreecommitdiff
path: root/print/xpdf-korean
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-08-06 14:04:34 +0000
committerwiz <wiz@pkgsrc.org>2002-08-06 14:04:34 +0000
commitb925816817e2541454f07b4d0aeb5b27e79dcae6 (patch)
tree504ac74e084d0125548ebb0a87a57e8c67594e6d /print/xpdf-korean
parentd1c1903912cc457a221a6160703f4df45638a89a (diff)
downloadpkgsrc-b925816817e2541454f07b4d0aeb5b27e79dcae6.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-korean')
-rw-r--r--print/xpdf-korean/DEINSTALL25
-rw-r--r--print/xpdf-korean/DESCR11
-rw-r--r--print/xpdf-korean/Makefile38
-rw-r--r--print/xpdf-korean/PLIST29
-rw-r--r--print/xpdf-korean/distinfo4
5 files changed, 107 insertions, 0 deletions
diff --git a/print/xpdf-korean/DEINSTALL b/print/xpdf-korean/DEINSTALL
new file mode 100644
index 00000000000..e6cc8a97e59
--- /dev/null
+++ b/print/xpdf-korean/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 "/orean/d" ${XPDFRC} > ${XPDFRC}.tmp
+ sed -e "/ksc5601/d" ${XPDFRC}.tmp > ${XPDFRC}
+ rm -f ${XPDFRC}.tmp
+ ;;
+
+*)
+ echo "Unexpected argument: ${STAGE}"
+ exit 1
+ ;;
+esac
+exit 0
diff --git a/print/xpdf-korean/DESCR b/print/xpdf-korean/DESCR
new file mode 100644
index 00000000000..a7c0ddff8bf
--- /dev/null
+++ b/print/xpdf-korean/DESCR
@@ -0,0 +1,11 @@
+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
+Korean PDF files.
+
+Contents:
+- Adobe-Korea1 character collection support
+- KSX1001 encoding
diff --git a/print/xpdf-korean/Makefile b/print/xpdf-korean/Makefile
new file mode 100644
index 00000000000..a58a784e07d
--- /dev/null
+++ b/print/xpdf-korean/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $
+#
+
+DISTNAME= xpdf-korean
+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 Korean
+
+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/korean
+ ${INSTALL_DATA} ${WRKSRC}/Adobe-Korea1.cidToUnicode \
+ ${X11PREFIX}/share/xpdf/korean
+ ${INSTALL_DATA} ${WRKSRC}/ISO-2022-KR.unicodeMap \
+ ${X11PREFIX}/share/xpdf/korean
+ ${INSTALL_DATA_DIR} ${X11PREFIX}/share/xpdf/korean/CMap
+ ${INSTALL_DATA} ${WRKSRC}/CMap/* ${X11PREFIX}/share/xpdf/korean/CMap
+
+post-install:
+ ${CAT} ${WRKSRC}/add-to-xpdfrc >> ${X11PREFIX}/etc/xpdfrc
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/xpdf-korean/PLIST b/print/xpdf-korean/PLIST
new file mode 100644
index 00000000000..f18f4e547e5
--- /dev/null
+++ b/print/xpdf-korean/PLIST
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $
+share/xpdf/korean/Adobe-Korea1.cidToUnicode
+share/xpdf/korean/CMap/Adobe-Korea1-0
+share/xpdf/korean/CMap/Adobe-Korea1-1
+share/xpdf/korean/CMap/Adobe-Korea1-2
+share/xpdf/korean/CMap/Adobe-Korea1-UCS2
+share/xpdf/korean/CMap/KSC-EUC-H
+share/xpdf/korean/CMap/KSC-EUC-V
+share/xpdf/korean/CMap/KSC-H
+share/xpdf/korean/CMap/KSC-Johab-H
+share/xpdf/korean/CMap/KSC-Johab-V
+share/xpdf/korean/CMap/KSC-V
+share/xpdf/korean/CMap/KSCms-UHC-H
+share/xpdf/korean/CMap/KSCms-UHC-HW-H
+share/xpdf/korean/CMap/KSCms-UHC-HW-V
+share/xpdf/korean/CMap/KSCms-UHC-UCS2
+share/xpdf/korean/CMap/KSCms-UHC-V
+share/xpdf/korean/CMap/KSCpc-EUC-H
+share/xpdf/korean/CMap/KSCpc-EUC-UCS2
+share/xpdf/korean/CMap/KSCpc-EUC-UCS2C
+share/xpdf/korean/CMap/KSCpc-EUC-V
+share/xpdf/korean/CMap/UniKS-UCS2-H
+share/xpdf/korean/CMap/UniKS-UCS2-V
+share/xpdf/korean/CMap/UniKS-UTF8-H
+share/xpdf/korean/CMap/UniKS-UTF8-V
+share/xpdf/korean/ISO-2022-KR.unicodeMap
+@dirrm share/xpdf/korean/CMap
+@dirrm share/xpdf/korean
+@unexec ${RMDIR} %D/share/xpdf 2> /dev/null || true
diff --git a/print/xpdf-korean/distinfo b/print/xpdf-korean/distinfo
new file mode 100644
index 00000000000..266bd369d9b
--- /dev/null
+++ b/print/xpdf-korean/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $
+
+SHA1 (xpdf-korean-20020521/xpdf-korean.tar.gz) = f71ba8810bff346136f8e76892b6c60209f934f7
+Size (xpdf-korean-20020521/xpdf-korean.tar.gz) = 419081 bytes