summaryrefslogtreecommitdiff
path: root/print/xpdf-cyrillic
diff options
context:
space:
mode:
authorwiz <wiz>2002-08-06 14:04:34 +0000
committerwiz <wiz>2002-08-06 14:04:34 +0000
commit3a1b215e7d71667f721cdf42b772a747894affc3 (patch)
tree504ac74e084d0125548ebb0a87a57e8c67594e6d /print/xpdf-cyrillic
parent48a9410d3ff85733767c0324aac772fd283d0264 (diff)
downloadpkgsrc-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-cyrillic')
-rw-r--r--print/xpdf-cyrillic/DEINSTALL24
-rw-r--r--print/xpdf-cyrillic/DESCR10
-rw-r--r--print/xpdf-cyrillic/Makefile34
-rw-r--r--print/xpdf-cyrillic/PLIST4
-rw-r--r--print/xpdf-cyrillic/distinfo4
5 files changed, 76 insertions, 0 deletions
diff --git a/print/xpdf-cyrillic/DEINSTALL b/print/xpdf-cyrillic/DEINSTALL
new file mode 100644
index 00000000000..8fec0622e43
--- /dev/null
+++ b/print/xpdf-cyrillic/DEINSTALL
@@ -0,0 +1,24 @@
+#!/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 "/yrillic/d" ${XPDFRC} > ${XPDFRC}.tmp
+ mv -f ${XPDFRC}.tmp ${XPDFRC}
+ ;;
+
+*)
+ echo "Unexpected argument: ${STAGE}"
+ exit 1
+ ;;
+esac
+exit 0
diff --git a/print/xpdf-cyrillic/DESCR b/print/xpdf-cyrillic/DESCR
new file mode 100644
index 00000000000..cbafcf3aa5d
--- /dev/null
+++ b/print/xpdf-cyrillic/DESCR
@@ -0,0 +1,10 @@
+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
+Cyrillic PDF files.
+
+Contents:
+- KOI8-R encoding
diff --git a/print/xpdf-cyrillic/Makefile b/print/xpdf-cyrillic/Makefile
new file mode 100644
index 00000000000..2395b3fd8d6
--- /dev/null
+++ b/print/xpdf-cyrillic/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $
+#
+
+DISTNAME= xpdf-cyrillic
+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 Cyrillic
+
+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/cyrillic
+ ${INSTALL_DATA} ${WRKSRC}/KOI8-R.unicodeMap \
+ ${X11PREFIX}/share/xpdf/cyrillic
+
+post-install:
+ ${CAT} ${WRKSRC}/add-to-xpdfrc >> ${X11PREFIX}/etc/xpdfrc
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/xpdf-cyrillic/PLIST b/print/xpdf-cyrillic/PLIST
new file mode 100644
index 00000000000..b76a27e533e
--- /dev/null
+++ b/print/xpdf-cyrillic/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $
+share/xpdf/cyrillic/KOI8-R.unicodeMap
+@dirrm share/xpdf/cyrillic
+@unexec ${RMDIR} %D/share/xpdf 2> /dev/null || true
diff --git a/print/xpdf-cyrillic/distinfo b/print/xpdf-cyrillic/distinfo
new file mode 100644
index 00000000000..f4dd55389f4
--- /dev/null
+++ b/print/xpdf-cyrillic/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $
+
+SHA1 (xpdf-cyrillic-20020521/xpdf-cyrillic.tar.gz) = e876bda9cd0daa09757511a346aa4bd7884f5570
+Size (xpdf-cyrillic-20020521/xpdf-cyrillic.tar.gz) = 1286 bytes