From b925816817e2541454f07b4d0aeb5b27e79dcae6 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 6 Aug 2002 14:04:34 +0000 Subject: 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). --- print/xpdf-latin2/DEINSTALL | 24 ++++++++++++++++++++++++ print/xpdf-latin2/DESCR | 10 ++++++++++ print/xpdf-latin2/Makefile | 34 ++++++++++++++++++++++++++++++++++ print/xpdf-latin2/PLIST | 4 ++++ print/xpdf-latin2/distinfo | 4 ++++ 5 files changed, 76 insertions(+) create mode 100644 print/xpdf-latin2/DEINSTALL create mode 100644 print/xpdf-latin2/DESCR create mode 100644 print/xpdf-latin2/Makefile create mode 100644 print/xpdf-latin2/PLIST create mode 100644 print/xpdf-latin2/distinfo (limited to 'print/xpdf-latin2') diff --git a/print/xpdf-latin2/DEINSTALL b/print/xpdf-latin2/DEINSTALL new file mode 100644 index 00000000000..c7005a86a97 --- /dev/null +++ b/print/xpdf-latin2/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 "/atin2/d" ${XPDFRC} > ${XPDFRC}.tmp + mv -f ${XPDFRC}.tmp ${XPDFRC} + ;; + +*) + echo "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/print/xpdf-latin2/DESCR b/print/xpdf-latin2/DESCR new file mode 100644 index 00000000000..90503d219ae --- /dev/null +++ b/print/xpdf-latin2/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 +Latin2 PDF files. + +Contents: +- Latin2 encoding diff --git a/print/xpdf-latin2/Makefile b/print/xpdf-latin2/Makefile new file mode 100644 index 00000000000..ac49268f48a --- /dev/null +++ b/print/xpdf-latin2/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ +# + +DISTNAME= xpdf-latin2 +PKGNAME= ${DISTNAME}-20020604 +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 Latin-2 + +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/latin2 + ${INSTALL_DATA} ${WRKSRC}/Latin2.unicodeMap \ + ${X11PREFIX}/share/xpdf/latin2 + +post-install: + ${CAT} ${WRKSRC}/add-to-xpdfrc >> ${X11PREFIX}/etc/xpdfrc + +.include "../../mk/bsd.pkg.mk" diff --git a/print/xpdf-latin2/PLIST b/print/xpdf-latin2/PLIST new file mode 100644 index 00000000000..491451bf664 --- /dev/null +++ b/print/xpdf-latin2/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ +share/xpdf/latin2/Latin2.unicodeMap +@dirrm share/xpdf/latin2 +@unexec ${RMDIR} %D/share/xpdf 2> /dev/null || true diff --git a/print/xpdf-latin2/distinfo b/print/xpdf-latin2/distinfo new file mode 100644 index 00000000000..22ae04a9961 --- /dev/null +++ b/print/xpdf-latin2/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ + +SHA1 (xpdf-latin2-20020604/xpdf-latin2.tar.gz) = ff2a720e464d2de89f87aa17dba9752631f7d2e9 +Size (xpdf-latin2-20020604/xpdf-latin2.tar.gz) = 1440 bytes -- cgit v1.2.3