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 | |
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).
45 files changed, 880 insertions, 0 deletions
diff --git a/print/xpdf-chinese-simplified/DEINSTALL b/print/xpdf-chinese-simplified/DEINSTALL new file mode 100644 index 00000000000..fdc8132b009 --- /dev/null +++ b/print/xpdf-chinese-simplified/DEINSTALL @@ -0,0 +1,25 @@ +#!/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 "/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-chinese-simplified/DESCR b/print/xpdf-chinese-simplified/DESCR new file mode 100644 index 00000000000..ab50785e044 --- /dev/null +++ b/print/xpdf-chinese-simplified/DESCR @@ -0,0 +1,12 @@ +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 +Chinese (Simplified) PDF files. + +Contents: +- Adobe-GB1 character collection support +- ISO-2022-CN encoding +- EUC-CN encoding diff --git a/print/xpdf-chinese-simplified/Makefile b/print/xpdf-chinese-simplified/Makefile new file mode 100644 index 00000000000..392b86c01d0 --- /dev/null +++ b/print/xpdf-chinese-simplified/Makefile @@ -0,0 +1,40 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ +# + +DISTNAME= xpdf-chinese-simplified +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 Chinese (Simplified) + +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/chinese-simplified + ${INSTALL_DATA} ${WRKSRC}/Adobe-GB1.cidToUnicode \ + ${X11PREFIX}/share/xpdf/chinese-simplified + ${INSTALL_DATA} ${WRKSRC}/EUC-CN.unicodeMap \ + ${X11PREFIX}/share/xpdf/chinese-simplified + ${INSTALL_DATA} ${WRKSRC}/ISO-2022-CN.unicodeMap \ + ${X11PREFIX}/share/xpdf/chinese-simplified + ${INSTALL_DATA_DIR} ${X11PREFIX}/share/xpdf/chinese-simplified/CMap + ${INSTALL_DATA} ${WRKSRC}/CMap/* ${X11PREFIX}/share/xpdf/chinese-simplified/CMap + +post-install: + ${CAT} ${WRKSRC}/add-to-xpdfrc >> ${X11PREFIX}/etc/xpdfrc + +.include "../../mk/bsd.pkg.mk" diff --git a/print/xpdf-chinese-simplified/PLIST b/print/xpdf-chinese-simplified/PLIST new file mode 100644 index 00000000000..5c14895df6b --- /dev/null +++ b/print/xpdf-chinese-simplified/PLIST @@ -0,0 +1,38 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ +share/xpdf/chinese-simplified/Adobe-GB1.cidToUnicode +share/xpdf/chinese-simplified/CMap/Adobe-GB1-0 +share/xpdf/chinese-simplified/CMap/Adobe-GB1-1 +share/xpdf/chinese-simplified/CMap/Adobe-GB1-2 +share/xpdf/chinese-simplified/CMap/Adobe-GB1-3 +share/xpdf/chinese-simplified/CMap/Adobe-GB1-4 +share/xpdf/chinese-simplified/CMap/Adobe-GB1-UCS2 +share/xpdf/chinese-simplified/CMap/GB-EUC-H +share/xpdf/chinese-simplified/CMap/GB-EUC-V +share/xpdf/chinese-simplified/CMap/GB-H +share/xpdf/chinese-simplified/CMap/GB-V +share/xpdf/chinese-simplified/CMap/GBK-EUC-H +share/xpdf/chinese-simplified/CMap/GBK-EUC-UCS2 +share/xpdf/chinese-simplified/CMap/GBK-EUC-V +share/xpdf/chinese-simplified/CMap/GBK2K-H +share/xpdf/chinese-simplified/CMap/GBK2K-V +share/xpdf/chinese-simplified/CMap/GBKp-EUC-H +share/xpdf/chinese-simplified/CMap/GBKp-EUC-V +share/xpdf/chinese-simplified/CMap/GBT-EUC-H +share/xpdf/chinese-simplified/CMap/GBT-EUC-V +share/xpdf/chinese-simplified/CMap/GBT-H +share/xpdf/chinese-simplified/CMap/GBT-V +share/xpdf/chinese-simplified/CMap/GBTpc-EUC-H +share/xpdf/chinese-simplified/CMap/GBTpc-EUC-V +share/xpdf/chinese-simplified/CMap/GBpc-EUC-H +share/xpdf/chinese-simplified/CMap/GBpc-EUC-UCS2 +share/xpdf/chinese-simplified/CMap/GBpc-EUC-UCS2C +share/xpdf/chinese-simplified/CMap/GBpc-EUC-V +share/xpdf/chinese-simplified/CMap/UniGB-UCS2-H +share/xpdf/chinese-simplified/CMap/UniGB-UCS2-V +share/xpdf/chinese-simplified/CMap/UniGB-UTF8-H +share/xpdf/chinese-simplified/CMap/UniGB-UTF8-V +share/xpdf/chinese-simplified/EUC-CN.unicodeMap +share/xpdf/chinese-simplified/ISO-2022-CN.unicodeMap +@dirrm share/xpdf/chinese-simplified/CMap +@dirrm share/xpdf/chinese-simplified +@unexec ${RMDIR} %D/share/xpdf 2> /dev/null || true diff --git a/print/xpdf-chinese-simplified/distinfo b/print/xpdf-chinese-simplified/distinfo new file mode 100644 index 00000000000..2db9415a2ab --- /dev/null +++ b/print/xpdf-chinese-simplified/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ + +SHA1 (xpdf-chinese-simplified-20020521/xpdf-chinese-simplified.tar.gz) = bc0b28010ba539b00a0cce724f827cea25d28971 +Size (xpdf-chinese-simplified-20020521/xpdf-chinese-simplified.tar.gz) = 756127 bytes diff --git a/print/xpdf-chinese-traditional/DEINSTALL b/print/xpdf-chinese-traditional/DEINSTALL new file mode 100644 index 00000000000..bcdb41d0cfb --- /dev/null +++ b/print/xpdf-chinese-traditional/DEINSTALL @@ -0,0 +1,25 @@ +#!/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 "/raditional/d" ${XPDFRC} > ${XPDFRC}.tmp + sed -e "/big5/d" -e "/Ar[ph][ph]ic fonts, you may/d" ${XPDFRC}.tmp > ${XPDFRC} + rm -f ${XPDFRC}.tmp + ;; + +*) + echo "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/print/xpdf-chinese-traditional/DESCR b/print/xpdf-chinese-traditional/DESCR new file mode 100644 index 00000000000..ec03cfcfa10 --- /dev/null +++ b/print/xpdf-chinese-traditional/DESCR @@ -0,0 +1,11 @@ +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 +Chinese (Traditional) PDF files. + +Contents: +- Adobe-CNS1 character collection support +- Big5 encoding diff --git a/print/xpdf-chinese-traditional/Makefile b/print/xpdf-chinese-traditional/Makefile new file mode 100644 index 00000000000..c47b0809bdd --- /dev/null +++ b/print/xpdf-chinese-traditional/Makefile @@ -0,0 +1,38 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ +# + +DISTNAME= xpdf-chinese-traditional +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 Chinese (Traditional) + +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' -e 's/Arhpic/Arphic/g' < ${WRKSRC}/add-to-xpdfrc.orig > ${WRKSRC}/add-to-xpdfrc + +do-install: + ${INSTALL_DATA_DIR} ${X11PREFIX}/share/xpdf/chinese-traditional + ${INSTALL_DATA} ${WRKSRC}/Adobe-CNS1.cidToUnicode \ + ${X11PREFIX}/share/xpdf/chinese-traditional + ${INSTALL_DATA} ${WRKSRC}/Big5.unicodeMap \ + ${X11PREFIX}/share/xpdf/chinese-traditional + ${INSTALL_DATA_DIR} ${X11PREFIX}/share/xpdf/chinese-traditional/CMap + ${INSTALL_DATA} ${WRKSRC}/CMap/* ${X11PREFIX}/share/xpdf/chinese-traditional/CMap + +post-install: + ${CAT} ${WRKSRC}/add-to-xpdfrc >> ${X11PREFIX}/etc/xpdfrc + +.include "../../mk/bsd.pkg.mk" diff --git a/print/xpdf-chinese-traditional/PLIST b/print/xpdf-chinese-traditional/PLIST new file mode 100644 index 00000000000..c3ff1470155 --- /dev/null +++ b/print/xpdf-chinese-traditional/PLIST @@ -0,0 +1,46 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ +share/xpdf/chinese-traditional/Adobe-CNS1.cidToUnicode +share/xpdf/chinese-traditional/Big5.unicodeMap +share/xpdf/chinese-traditional/CMap/Adobe-CNS1-0 +share/xpdf/chinese-traditional/CMap/Adobe-CNS1-1 +share/xpdf/chinese-traditional/CMap/Adobe-CNS1-2 +share/xpdf/chinese-traditional/CMap/Adobe-CNS1-3 +share/xpdf/chinese-traditional/CMap/Adobe-CNS1-UCS2 +share/xpdf/chinese-traditional/CMap/B5-H +share/xpdf/chinese-traditional/CMap/B5-V +share/xpdf/chinese-traditional/CMap/B5pc-H +share/xpdf/chinese-traditional/CMap/B5pc-UCS2 +share/xpdf/chinese-traditional/CMap/B5pc-UCS2C +share/xpdf/chinese-traditional/CMap/B5pc-V +share/xpdf/chinese-traditional/CMap/CNS-EUC-H +share/xpdf/chinese-traditional/CMap/CNS-EUC-V +share/xpdf/chinese-traditional/CMap/CNS1-H +share/xpdf/chinese-traditional/CMap/CNS1-V +share/xpdf/chinese-traditional/CMap/CNS2-H +share/xpdf/chinese-traditional/CMap/CNS2-V +share/xpdf/chinese-traditional/CMap/ETHK-B5-H +share/xpdf/chinese-traditional/CMap/ETHK-B5-V +share/xpdf/chinese-traditional/CMap/ETen-B5-H +share/xpdf/chinese-traditional/CMap/ETen-B5-UCS2 +share/xpdf/chinese-traditional/CMap/ETen-B5-V +share/xpdf/chinese-traditional/CMap/ETenms-B5-H +share/xpdf/chinese-traditional/CMap/ETenms-B5-V +share/xpdf/chinese-traditional/CMap/HKdla-B5-H +share/xpdf/chinese-traditional/CMap/HKdla-B5-V +share/xpdf/chinese-traditional/CMap/HKdlb-B5-H +share/xpdf/chinese-traditional/CMap/HKdlb-B5-V +share/xpdf/chinese-traditional/CMap/HKgccs-B5-H +share/xpdf/chinese-traditional/CMap/HKgccs-B5-V +share/xpdf/chinese-traditional/CMap/HKm314-B5-H +share/xpdf/chinese-traditional/CMap/HKm314-B5-V +share/xpdf/chinese-traditional/CMap/HKm471-B5-H +share/xpdf/chinese-traditional/CMap/HKm471-B5-V +share/xpdf/chinese-traditional/CMap/HKscs-B5-H +share/xpdf/chinese-traditional/CMap/HKscs-B5-V +share/xpdf/chinese-traditional/CMap/UniCNS-UCS2-H +share/xpdf/chinese-traditional/CMap/UniCNS-UCS2-V +share/xpdf/chinese-traditional/CMap/UniCNS-UTF8-H +share/xpdf/chinese-traditional/CMap/UniCNS-UTF8-V +@dirrm share/xpdf/chinese-traditional/CMap +@dirrm share/xpdf/chinese-traditional +@unexec ${RMDIR} %D/share/xpdf 2> /dev/null || true diff --git a/print/xpdf-chinese-traditional/distinfo b/print/xpdf-chinese-traditional/distinfo new file mode 100644 index 00000000000..e90b2202377 --- /dev/null +++ b/print/xpdf-chinese-traditional/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ + +SHA1 (xpdf-chinese-traditional-20020521/xpdf-chinese-traditional.tar.gz) = 95e9c5d471aa670f63cb3c340363a48b396e4f44 +Size (xpdf-chinese-traditional-20020521/xpdf-chinese-traditional.tar.gz) = 698902 bytes 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 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 diff --git a/print/xpdf-japanese/DEINSTALL b/print/xpdf-japanese/DEINSTALL new file mode 100644 index 00000000000..c9cac1ac59a --- /dev/null +++ b/print/xpdf-japanese/DEINSTALL @@ -0,0 +1,25 @@ +#!/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 "/apanese/d" ${XPDFRC} > ${XPDFRC}.tmp + sed -e "/jisx0208/d" ${XPDFRC}.tmp > ${XPDFRC} + rm -f ${XPDFRC}.tmp + ;; + +*) + echo "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/print/xpdf-japanese/DESCR b/print/xpdf-japanese/DESCR new file mode 100644 index 00000000000..65fb58c9ef8 --- /dev/null +++ b/print/xpdf-japanese/DESCR @@ -0,0 +1,13 @@ +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 +Japanese PDF files. + +Contents: +- Adobe-Japan1 character collection support +- ISO-2022-JP encoding +- EUC-JP encoding +- Shift-JIS encoding diff --git a/print/xpdf-japanese/Makefile b/print/xpdf-japanese/Makefile new file mode 100644 index 00000000000..b7563f66228 --- /dev/null +++ b/print/xpdf-japanese/Makefile @@ -0,0 +1,42 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ +# + +DISTNAME= xpdf-japanese +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 Japanese + +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/japanese + ${INSTALL_DATA} ${WRKSRC}/Adobe-Japan1.cidToUnicode \ + ${X11PREFIX}/share/xpdf/japanese + ${INSTALL_DATA} ${WRKSRC}/EUC-JP.unicodeMap \ + ${X11PREFIX}/share/xpdf/japanese + ${INSTALL_DATA} ${WRKSRC}/ISO-2022-JP.unicodeMap \ + ${X11PREFIX}/share/xpdf/japanese + ${INSTALL_DATA} ${WRKSRC}/Shift-JIS.unicodeMap \ + ${X11PREFIX}/share/xpdf/japanese + ${INSTALL_DATA_DIR} ${X11PREFIX}/share/xpdf/japanese/CMap + ${INSTALL_DATA} ${WRKSRC}/CMap/* ${X11PREFIX}/share/xpdf/japanese/CMap + +post-install: + ${CAT} ${WRKSRC}/add-to-xpdfrc >> ${X11PREFIX}/etc/xpdfrc + +.include "../../mk/bsd.pkg.mk" diff --git a/print/xpdf-japanese/PLIST b/print/xpdf-japanese/PLIST new file mode 100644 index 00000000000..8714bb0b6da --- /dev/null +++ b/print/xpdf-japanese/PLIST @@ -0,0 +1,62 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ +share/xpdf/japanese/Adobe-Japan1.cidToUnicode +share/xpdf/japanese/CMap/78-EUC-H +share/xpdf/japanese/CMap/78-EUC-V +share/xpdf/japanese/CMap/78-H +share/xpdf/japanese/CMap/78-RKSJ-H +share/xpdf/japanese/CMap/78-RKSJ-V +share/xpdf/japanese/CMap/78-V +share/xpdf/japanese/CMap/78ms-RKSJ-H +share/xpdf/japanese/CMap/78ms-RKSJ-V +share/xpdf/japanese/CMap/83pv-RKSJ-H +share/xpdf/japanese/CMap/90ms-RKSJ-H +share/xpdf/japanese/CMap/90ms-RKSJ-UCS2 +share/xpdf/japanese/CMap/90ms-RKSJ-V +share/xpdf/japanese/CMap/90msp-RKSJ-H +share/xpdf/japanese/CMap/90msp-RKSJ-V +share/xpdf/japanese/CMap/90pv-RKSJ-H +share/xpdf/japanese/CMap/90pv-RKSJ-UCS2 +share/xpdf/japanese/CMap/90pv-RKSJ-UCS2C +share/xpdf/japanese/CMap/90pv-RKSJ-V +share/xpdf/japanese/CMap/Add-H +share/xpdf/japanese/CMap/Add-RKSJ-H +share/xpdf/japanese/CMap/Add-RKSJ-V +share/xpdf/japanese/CMap/Add-V +share/xpdf/japanese/CMap/Adobe-Japan1-0 +share/xpdf/japanese/CMap/Adobe-Japan1-1 +share/xpdf/japanese/CMap/Adobe-Japan1-2 +share/xpdf/japanese/CMap/Adobe-Japan1-3 +share/xpdf/japanese/CMap/Adobe-Japan1-4 +share/xpdf/japanese/CMap/Adobe-Japan1-UCS2 +share/xpdf/japanese/CMap/EUC-H +share/xpdf/japanese/CMap/EUC-V +share/xpdf/japanese/CMap/Ext-H +share/xpdf/japanese/CMap/Ext-RKSJ-H +share/xpdf/japanese/CMap/Ext-RKSJ-V +share/xpdf/japanese/CMap/Ext-V +share/xpdf/japanese/CMap/H +share/xpdf/japanese/CMap/Hankaku +share/xpdf/japanese/CMap/Hiragana +share/xpdf/japanese/CMap/Katakana +share/xpdf/japanese/CMap/NWP-H +share/xpdf/japanese/CMap/NWP-V +share/xpdf/japanese/CMap/RKSJ-H +share/xpdf/japanese/CMap/RKSJ-V +share/xpdf/japanese/CMap/Roman +share/xpdf/japanese/CMap/UniJIS-UCS2-H +share/xpdf/japanese/CMap/UniJIS-UCS2-HW-H +share/xpdf/japanese/CMap/UniJIS-UCS2-HW-V +share/xpdf/japanese/CMap/UniJIS-UCS2-V +share/xpdf/japanese/CMap/UniJIS-UTF8-H +share/xpdf/japanese/CMap/UniJIS-UTF8-V +share/xpdf/japanese/CMap/UniJISPro-UCS2-HW-V +share/xpdf/japanese/CMap/UniJISPro-UCS2-V +share/xpdf/japanese/CMap/UniJISPro-UTF8-V +share/xpdf/japanese/CMap/V +share/xpdf/japanese/CMap/WP-Symbol +share/xpdf/japanese/EUC-JP.unicodeMap +share/xpdf/japanese/ISO-2022-JP.unicodeMap +share/xpdf/japanese/Shift-JIS.unicodeMap +@dirrm share/xpdf/japanese/CMap +@dirrm share/xpdf/japanese +@unexec ${RMDIR} %D/share/xpdf 2> /dev/null || true diff --git a/print/xpdf-japanese/distinfo b/print/xpdf-japanese/distinfo new file mode 100644 index 00000000000..d3e5f81a3b2 --- /dev/null +++ b/print/xpdf-japanese/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ + +SHA1 (xpdf-japanese-20020521/xpdf-japanese.tar.gz) = d01254ae8c1e14232e44edf89f84a0f05b479372 +Size (xpdf-japanese-20020521/xpdf-japanese.tar.gz) = 430478 bytes diff --git a/print/xpdf-korean/DEINSTALL b/print/xpdf-korean/DEINSTALL new file mode 100644 index 00000000000..e6cc8a97e59 --- /dev/null +++ b/print/xpdf-korean/DEINSTALL @@ -0,0 +1,25 @@ +#!/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 "/orean/d" ${XPDFRC} > ${XPDFRC}.tmp + sed -e "/ksc5601/d" ${XPDFRC}.tmp > ${XPDFRC} + rm -f ${XPDFRC}.tmp + ;; + +*) + echo "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/print/xpdf-korean/DESCR b/print/xpdf-korean/DESCR new file mode 100644 index 00000000000..a7c0ddff8bf --- /dev/null +++ b/print/xpdf-korean/DESCR @@ -0,0 +1,11 @@ +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 +Korean PDF files. + +Contents: +- Adobe-Korea1 character collection support +- KSX1001 encoding diff --git a/print/xpdf-korean/Makefile b/print/xpdf-korean/Makefile new file mode 100644 index 00000000000..a58a784e07d --- /dev/null +++ b/print/xpdf-korean/Makefile @@ -0,0 +1,38 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ +# + +DISTNAME= xpdf-korean +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 Korean + +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/korean + ${INSTALL_DATA} ${WRKSRC}/Adobe-Korea1.cidToUnicode \ + ${X11PREFIX}/share/xpdf/korean + ${INSTALL_DATA} ${WRKSRC}/ISO-2022-KR.unicodeMap \ + ${X11PREFIX}/share/xpdf/korean + ${INSTALL_DATA_DIR} ${X11PREFIX}/share/xpdf/korean/CMap + ${INSTALL_DATA} ${WRKSRC}/CMap/* ${X11PREFIX}/share/xpdf/korean/CMap + +post-install: + ${CAT} ${WRKSRC}/add-to-xpdfrc >> ${X11PREFIX}/etc/xpdfrc + +.include "../../mk/bsd.pkg.mk" diff --git a/print/xpdf-korean/PLIST b/print/xpdf-korean/PLIST new file mode 100644 index 00000000000..f18f4e547e5 --- /dev/null +++ b/print/xpdf-korean/PLIST @@ -0,0 +1,29 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ +share/xpdf/korean/Adobe-Korea1.cidToUnicode +share/xpdf/korean/CMap/Adobe-Korea1-0 +share/xpdf/korean/CMap/Adobe-Korea1-1 +share/xpdf/korean/CMap/Adobe-Korea1-2 +share/xpdf/korean/CMap/Adobe-Korea1-UCS2 +share/xpdf/korean/CMap/KSC-EUC-H +share/xpdf/korean/CMap/KSC-EUC-V +share/xpdf/korean/CMap/KSC-H +share/xpdf/korean/CMap/KSC-Johab-H +share/xpdf/korean/CMap/KSC-Johab-V +share/xpdf/korean/CMap/KSC-V +share/xpdf/korean/CMap/KSCms-UHC-H +share/xpdf/korean/CMap/KSCms-UHC-HW-H +share/xpdf/korean/CMap/KSCms-UHC-HW-V +share/xpdf/korean/CMap/KSCms-UHC-UCS2 +share/xpdf/korean/CMap/KSCms-UHC-V +share/xpdf/korean/CMap/KSCpc-EUC-H +share/xpdf/korean/CMap/KSCpc-EUC-UCS2 +share/xpdf/korean/CMap/KSCpc-EUC-UCS2C +share/xpdf/korean/CMap/KSCpc-EUC-V +share/xpdf/korean/CMap/UniKS-UCS2-H +share/xpdf/korean/CMap/UniKS-UCS2-V +share/xpdf/korean/CMap/UniKS-UTF8-H +share/xpdf/korean/CMap/UniKS-UTF8-V +share/xpdf/korean/ISO-2022-KR.unicodeMap +@dirrm share/xpdf/korean/CMap +@dirrm share/xpdf/korean +@unexec ${RMDIR} %D/share/xpdf 2> /dev/null || true diff --git a/print/xpdf-korean/distinfo b/print/xpdf-korean/distinfo new file mode 100644 index 00000000000..266bd369d9b --- /dev/null +++ b/print/xpdf-korean/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ + +SHA1 (xpdf-korean-20020521/xpdf-korean.tar.gz) = f71ba8810bff346136f8e76892b6c60209f934f7 +Size (xpdf-korean-20020521/xpdf-korean.tar.gz) = 419081 bytes 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 diff --git a/print/xpdf-thai/DEINSTALL b/print/xpdf-thai/DEINSTALL new file mode 100644 index 00000000000..749990135db --- /dev/null +++ b/print/xpdf-thai/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 "/hai/d" ${XPDFRC} > ${XPDFRC}.tmp + mv -f ${XPDFRC}.tmp ${XPDFRC} + ;; + +*) + echo "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/print/xpdf-thai/DESCR b/print/xpdf-thai/DESCR new file mode 100644 index 00000000000..6ecc19ea89d --- /dev/null +++ b/print/xpdf-thai/DESCR @@ -0,0 +1,11 @@ +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 +Thai PDF files. + +Contents: +- Thai character names +- TIS-620 encoding diff --git a/print/xpdf-thai/Makefile b/print/xpdf-thai/Makefile new file mode 100644 index 00000000000..372163d09db --- /dev/null +++ b/print/xpdf-thai/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ +# + +DISTNAME= xpdf-thai +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 Thai + +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/thai + ${INSTALL_DATA} ${WRKSRC}/TIS-620.unicodeMap \ + ${X11PREFIX}/share/xpdf/thai + ${INSTALL_DATA} ${WRKSRC}/Thai.nameToUnicode \ + ${X11PREFIX}/share/xpdf/thai + +post-install: + ${CAT} ${WRKSRC}/add-to-xpdfrc >> ${X11PREFIX}/etc/xpdfrc + +.include "../../mk/bsd.pkg.mk" diff --git a/print/xpdf-thai/PLIST b/print/xpdf-thai/PLIST new file mode 100644 index 00000000000..59849a53616 --- /dev/null +++ b/print/xpdf-thai/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ +share/xpdf/thai/TIS-620.unicodeMap +share/xpdf/thai/Thai.nameToUnicode +@dirrm share/xpdf/thai +@unexec ${RMDIR} %D/share/xpdf 2> /dev/null || true diff --git a/print/xpdf-thai/distinfo b/print/xpdf-thai/distinfo new file mode 100644 index 00000000000..58fc6399385 --- /dev/null +++ b/print/xpdf-thai/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ + +SHA1 (xpdf-thai-20020521/xpdf-thai.tar.gz) = a69389f3530ee5bb0acd0cda404e1d3374011b5d +Size (xpdf-thai-20020521/xpdf-thai.tar.gz) = 1876 bytes diff --git a/print/xpdf-turkish/DEINSTALL b/print/xpdf-turkish/DEINSTALL new file mode 100644 index 00000000000..2b0942870ad --- /dev/null +++ b/print/xpdf-turkish/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 "/urkish/d" ${XPDFRC} > ${XPDFRC}.tmp + mv -f ${XPDFRC}.tmp ${XPDFRC} + ;; + +*) + echo "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/print/xpdf-turkish/DESCR b/print/xpdf-turkish/DESCR new file mode 100644 index 00000000000..b53073b4520 --- /dev/null +++ b/print/xpdf-turkish/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 +Turkish PDF files. + +Contents: +- ISO-8859-9 encoding diff --git a/print/xpdf-turkish/Makefile b/print/xpdf-turkish/Makefile new file mode 100644 index 00000000000..2141655fd3e --- /dev/null +++ b/print/xpdf-turkish/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ +# + +DISTNAME= xpdf-turkish +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 Turkish + +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/turkish + ${INSTALL_DATA} ${WRKSRC}/ISO-8859-9.unicodeMap \ + ${X11PREFIX}/share/xpdf/turkish + +post-install: + ${CAT} ${WRKSRC}/add-to-xpdfrc >> ${X11PREFIX}/etc/xpdfrc + +.include "../../mk/bsd.pkg.mk" diff --git a/print/xpdf-turkish/PLIST b/print/xpdf-turkish/PLIST new file mode 100644 index 00000000000..9b215cd70a4 --- /dev/null +++ b/print/xpdf-turkish/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ +share/xpdf/turkish/ISO-8859-9.unicodeMap +@dirrm share/xpdf/turkish +@unexec ${RMDIR} %D/share/xpdf 2> /dev/null || true diff --git a/print/xpdf-turkish/distinfo b/print/xpdf-turkish/distinfo new file mode 100644 index 00000000000..72422b6a12c --- /dev/null +++ b/print/xpdf-turkish/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $ + +SHA1 (xpdf-turkish-20020521/xpdf-turkish.tar.gz) = 32de29eff7cd0bbc08f4cccdeadb459c428e3f51 +Size (xpdf-turkish-20020521/xpdf-turkish.tar.gz) = 1140 bytes |