diff options
author | salo <salo@pkgsrc.org> | 2003-03-25 14:04:00 +0000 |
---|---|---|
committer | salo <salo@pkgsrc.org> | 2003-03-25 14:04:00 +0000 |
commit | 918bc51d26a3f4318f0e960ca00be7057a93415a (patch) | |
tree | e8e4d5348703e5811cc2eb9d7a74c64efd776354 /print | |
parent | efc036a5dfb5cdc6b712ec38da5871d3974b4b80 (diff) | |
download | pkgsrc-918bc51d26a3f4318f0e960ca00be7057a93415a.tar.gz |
Import of xpdf-arabic-20030216: xpdf support files for Arabic.
This package provides support files needed to use the Xpdf tools with
Arabic PDF files.
Contents:
- ISO-8859-6 encoding
Diffstat (limited to 'print')
-rw-r--r-- | print/xpdf-arabic/DEINSTALL | 24 | ||||
-rw-r--r-- | print/xpdf-arabic/DESCR | 5 | ||||
-rw-r--r-- | print/xpdf-arabic/Makefile | 35 | ||||
-rw-r--r-- | print/xpdf-arabic/PLIST | 3 | ||||
-rw-r--r-- | print/xpdf-arabic/distinfo | 4 |
5 files changed, 71 insertions, 0 deletions
diff --git a/print/xpdf-arabic/DEINSTALL b/print/xpdf-arabic/DEINSTALL new file mode 100644 index 00000000000..f9fa5fb37c4 --- /dev/null +++ b/print/xpdf-arabic/DEINSTALL @@ -0,0 +1,24 @@ +#!/bin/sh +# +# $NetBSD: DEINSTALL,v 1.1.1.1 2003/03/25 14:04:00 salo Exp $ + +PKGNAME=$1 +STAGE=$2 + +XPDFRC=@PKG_SYSCONFDIR@/xpdfrc + +case ${STAGE} in +DEINSTALL) + ;; + +POST-DEINSTALL) + @SED@ -e "/rabic/d" ${XPDFRC} > ${XPDFRC}.tmp + @MV@ -f ${XPDFRC}.tmp ${XPDFRC} + ;; + +*) + echo "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/print/xpdf-arabic/DESCR b/print/xpdf-arabic/DESCR new file mode 100644 index 00000000000..bdee0a1a2cb --- /dev/null +++ b/print/xpdf-arabic/DESCR @@ -0,0 +1,5 @@ +This package provides support files needed to use the Xpdf tools with +Arabic PDF files. + +Contents: +- ISO-8859-6 encoding diff --git a/print/xpdf-arabic/Makefile b/print/xpdf-arabic/Makefile new file mode 100644 index 00000000000..bfc034635ce --- /dev/null +++ b/print/xpdf-arabic/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/03/25 14:04:00 salo Exp $ +# + +DISTNAME= xpdf-arabic +PKGNAME= ${DISTNAME}-20030216 +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 Arabic + +DEPENDS+= xpdf>=2.02:../../print/xpdf + +USE_X11= yes +USE_PKGINSTALL= yes + +DIST_SUBDIR= ${PKGNAME_NOREV} +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:'${PREFIX}':g' < ${WRKSRC}/add-to-xpdfrc.orig > ${WRKSRC}/add-to-xpdfrc + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/xpdf/arabic + ${INSTALL_DATA} ${WRKSRC}/ISO-8859-6.unicodeMap \ + ${PREFIX}/share/xpdf/arabic + +post-install: + ${CAT} ${WRKSRC}/add-to-xpdfrc >> ${PKG_SYSCONFDIR}/xpdfrc + +.include "../../mk/bsd.pkg.mk" diff --git a/print/xpdf-arabic/PLIST b/print/xpdf-arabic/PLIST new file mode 100644 index 00000000000..b93659f33a7 --- /dev/null +++ b/print/xpdf-arabic/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/03/25 14:04:00 salo Exp $ +share/xpdf/arabic/ISO-8859-6.unicodeMap +@dirrm share/xpdf/arabic diff --git a/print/xpdf-arabic/distinfo b/print/xpdf-arabic/distinfo new file mode 100644 index 00000000000..e11b05cc011 --- /dev/null +++ b/print/xpdf-arabic/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/03/25 14:04:00 salo Exp $ + +SHA1 (xpdf-arabic-20030216/xpdf-arabic.tar.gz) = abcd48c6f4226320a76c6bb8ae1550a410cab573 +Size (xpdf-arabic-20030216/xpdf-arabic.tar.gz) = 1058 bytes |