summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorwiz <wiz>2002-11-08 10:08:59 +0000
committerwiz <wiz>2002-11-08 10:08:59 +0000
commitb0e8d6c5f5f398b52a431e413fbde2b6c9dd8c3c (patch)
tree884b24883db6fb3bce65a869931e8bbc6e5e0087 /print
parent7cd4130520b35e16371ffd98ab08e68f237f08d6 (diff)
downloadpkgsrc-b0e8d6c5f5f398b52a431e413fbde2b6c9dd8c3c.tar.gz
Initial import of xpdf-hebrew -- Hebrew language support files for xpdf.
Diffstat (limited to 'print')
-rw-r--r--print/xpdf-hebrew/DEINSTALL25
-rw-r--r--print/xpdf-hebrew/DESCR10
-rw-r--r--print/xpdf-hebrew/Makefile33
-rw-r--r--print/xpdf-hebrew/PLIST4
-rw-r--r--print/xpdf-hebrew/distinfo4
5 files changed, 76 insertions, 0 deletions
diff --git a/print/xpdf-hebrew/DEINSTALL b/print/xpdf-hebrew/DEINSTALL
new file mode 100644
index 00000000000..af3790fcb60
--- /dev/null
+++ b/print/xpdf-hebrew/DEINSTALL
@@ -0,0 +1,25 @@
+#!/bin/sh
+#
+# $NetBSD: DEINSTALL,v 1.1.1.1 2002/11/08 10:08:59 wiz Exp $
+
+PKGNAME=$1
+STAGE=$2
+
+XPDFRC=${PKG_PREFIX}/etc/xpdfrc
+
+case ${STAGE} in
+DEINSTALL)
+ ;;
+
+POST-DEINSTALL)
+ sed -e "/implified/d" ${XPDFRC} > ${XPDFRC}.tmp
+ sed -e "/gb2312/d" ${XPDFRC}.tmp > ${XPDFRC}
+ rm -f ${XPDFRC}.tmp
+ ;;
+
+*)
+ echo "Unexpected argument: ${STAGE}"
+ exit 1
+ ;;
+esac
+exit 0
diff --git a/print/xpdf-hebrew/DESCR b/print/xpdf-hebrew/DESCR
new file mode 100644
index 00000000000..4c49727e92c
--- /dev/null
+++ b/print/xpdf-hebrew/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 Glyph & Cog, LLC, and are licensed under the GNU
+General Public License (GPL), version 2.
+
+This package provides support files needed to use the Xpdf tools with
+Hebrew PDF files.
+
+Contents:
+- ISO-8859-8 encoding
diff --git a/print/xpdf-hebrew/Makefile b/print/xpdf-hebrew/Makefile
new file mode 100644
index 00000000000..8c701400980
--- /dev/null
+++ b/print/xpdf-hebrew/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/11/08 10:08:59 wiz Exp $
+#
+
+DISTNAME= xpdf-hebrew-2002-oct-22
+PKGNAME= xpdf-hebrew-20021022
+CATEGORIES= print
+MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.foolabs.com/xpdf/
+COMMENT= xpdf support files for Hebrew
+
+DEPENDS+= xpdf>=1.00:../../print/xpdf
+
+USE_X11BASE= yes
+
+WRKSRC= ${WRKDIR}/xpdf-hebrew
+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/hebrew
+ ${INSTALL_DATA} ${WRKSRC}/ISO-8859-8.unicodeMap \
+ ${X11PREFIX}/share/xpdf/hebrew
+
+post-install:
+ ${CAT} ${WRKSRC}/add-to-xpdfrc >> ${PKG_SYSCONFDIR}/xpdfrc
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/xpdf-hebrew/PLIST b/print/xpdf-hebrew/PLIST
new file mode 100644
index 00000000000..ae835d434b5
--- /dev/null
+++ b/print/xpdf-hebrew/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/11/08 10:08:59 wiz Exp $
+share/xpdf/hebrew/ISO-8859-8.unicodeMap
+@dirrm share/xpdf/hebrew
+@unexec ${RMDIR} %D/share/xpdf 2> /dev/null || true
diff --git a/print/xpdf-hebrew/distinfo b/print/xpdf-hebrew/distinfo
new file mode 100644
index 00000000000..ea584dbef5e
--- /dev/null
+++ b/print/xpdf-hebrew/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/11/08 10:08:59 wiz Exp $
+
+SHA1 (xpdf-hebrew-2002-oct-22.tar.gz) = 99699a6a772f9c37c06f00018068f1b33566d1bd
+Size (xpdf-hebrew-2002-oct-22.tar.gz) = 1127 bytes