summaryrefslogtreecommitdiff
path: root/print/xpdf-greek
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-greek
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-greek')
-rw-r--r--print/xpdf-greek/DEINSTALL24
-rw-r--r--print/xpdf-greek/DESCR10
-rw-r--r--print/xpdf-greek/Makefile34
-rw-r--r--print/xpdf-greek/PLIST4
-rw-r--r--print/xpdf-greek/distinfo4
5 files changed, 76 insertions, 0 deletions
diff --git a/print/xpdf-greek/DEINSTALL b/print/xpdf-greek/DEINSTALL
new file mode 100644
index 00000000000..b608a939e09
--- /dev/null
+++ b/print/xpdf-greek/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 "/reek/d" ${XPDFRC} > ${XPDFRC}.tmp
+ mv -f ${XPDFRC}.tmp ${XPDFRC}
+ ;;
+
+*)
+ echo "Unexpected argument: ${STAGE}"
+ exit 1
+ ;;
+esac
+exit 0
diff --git a/print/xpdf-greek/DESCR b/print/xpdf-greek/DESCR
new file mode 100644
index 00000000000..0b0f760ae3e
--- /dev/null
+++ b/print/xpdf-greek/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
+Greek PDF files.
+
+Contents:
+- ISO-8859-7 encoding
diff --git a/print/xpdf-greek/Makefile b/print/xpdf-greek/Makefile
new file mode 100644
index 00000000000..42b5a288a9c
--- /dev/null
+++ b/print/xpdf-greek/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $
+#
+
+DISTNAME= xpdf-greek
+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 Greek
+
+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/greek
+ ${INSTALL_DATA} ${WRKSRC}/ISO-8859-7.unicodeMap \
+ ${X11PREFIX}/share/xpdf/greek
+
+post-install:
+ ${CAT} ${WRKSRC}/add-to-xpdfrc >> ${X11PREFIX}/etc/xpdfrc
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/xpdf-greek/PLIST b/print/xpdf-greek/PLIST
new file mode 100644
index 00000000000..2fa03278a99
--- /dev/null
+++ b/print/xpdf-greek/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $
+share/xpdf/greek/ISO-8859-7.unicodeMap
+@dirrm share/xpdf/greek
+@unexec ${RMDIR} %D/share/xpdf 2> /dev/null || true
diff --git a/print/xpdf-greek/distinfo b/print/xpdf-greek/distinfo
new file mode 100644
index 00000000000..f841b150d28
--- /dev/null
+++ b/print/xpdf-greek/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $
+
+SHA1 (xpdf-greek-20020521/xpdf-greek.tar.gz) = ff185ea7bedb1b912f1f56bad9bff3b36f75b785
+Size (xpdf-greek-20020521/xpdf-greek.tar.gz) = 1124 bytes