diff options
author | wiz <wiz@pkgsrc.org> | 2002-08-06 14:04:34 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2002-08-06 14:04:34 +0000 |
commit | b925816817e2541454f07b4d0aeb5b27e79dcae6 (patch) | |
tree | 504ac74e084d0125548ebb0a87a57e8c67594e6d /print/xpdf-latin2 | |
parent | d1c1903912cc457a221a6160703f4df45638a89a (diff) | |
download | pkgsrc-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-latin2')
-rw-r--r-- | print/xpdf-latin2/DEINSTALL | 24 | ||||
-rw-r--r-- | print/xpdf-latin2/DESCR | 10 | ||||
-rw-r--r-- | print/xpdf-latin2/Makefile | 34 | ||||
-rw-r--r-- | print/xpdf-latin2/PLIST | 4 | ||||
-rw-r--r-- | print/xpdf-latin2/distinfo | 4 |
5 files changed, 76 insertions, 0 deletions
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 |