summaryrefslogtreecommitdiff
path: root/print/xpdf-thai
diff options
context:
space:
mode:
Diffstat (limited to 'print/xpdf-thai')
-rw-r--r--print/xpdf-thai/DEINSTALL8
-rw-r--r--print/xpdf-thai/DESCR5
-rw-r--r--print/xpdf-thai/Makefile19
-rw-r--r--print/xpdf-thai/PLIST3
-rw-r--r--print/xpdf-thai/distinfo6
5 files changed, 18 insertions, 23 deletions
diff --git a/print/xpdf-thai/DEINSTALL b/print/xpdf-thai/DEINSTALL
index 749990135db..bb27ad9d7b1 100644
--- a/print/xpdf-thai/DEINSTALL
+++ b/print/xpdf-thai/DEINSTALL
@@ -1,19 +1,19 @@
#!/bin/sh
#
-# $NetBSD: DEINSTALL,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $
+# $NetBSD: DEINSTALL,v 1.2 2003/03/25 14:07:01 salo Exp $
PKGNAME=$1
STAGE=$2
-XPDFRC=${PKG_PREFIX}/etc/xpdfrc
+XPDFRC=@PKG_SYSCONFDIR@/xpdfrc
case ${STAGE} in
DEINSTALL)
;;
POST-DEINSTALL)
- sed -e "/hai/d" ${XPDFRC} > ${XPDFRC}.tmp
- mv -f ${XPDFRC}.tmp ${XPDFRC}
+ @SED@ -e "/hai/d" ${XPDFRC} > ${XPDFRC}.tmp
+ @MV@ -f ${XPDFRC}.tmp ${XPDFRC}
;;
*)
diff --git a/print/xpdf-thai/DESCR b/print/xpdf-thai/DESCR
index 6ecc19ea89d..e0efb5fd8cd 100644
--- a/print/xpdf-thai/DESCR
+++ b/print/xpdf-thai/DESCR
@@ -1,8 +1,3 @@
-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.
diff --git a/print/xpdf-thai/Makefile b/print/xpdf-thai/Makefile
index ebd668a9c2f..c319ed3d173 100644
--- a/print/xpdf-thai/Makefile
+++ b/print/xpdf-thai/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2002/09/19 19:21:40 kei Exp $
+# $NetBSD: Makefile,v 1.4 2003/03/25 14:07:01 salo Exp $
#
DISTNAME= xpdf-thai
-PKGNAME= ${DISTNAME}-20020521
+PKGNAME= ${DISTNAME}-20020116
CATEGORIES= print
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/
@@ -10,25 +10,26 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.foolabs.com/xpdf/
COMMENT= xpdf support files for Thai
-DEPENDS+= xpdf>=1.00:../../print/xpdf
+DEPENDS+= xpdf>=2.02:../../print/xpdf
-USE_X11BASE= yes
+USE_X11= yes
+USE_PKGINSTALL= yes
-DIST_SUBDIR= ${PKGNAME}
+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:'${X11PREFIX}':g' < ${WRKSRC}/add-to-xpdfrc.orig > ${WRKSRC}/add-to-xpdfrc
+ ${SED} -e 's:/usr/local:'${PREFIX}':g' < ${WRKSRC}/add-to-xpdfrc.orig > ${WRKSRC}/add-to-xpdfrc
do-install:
- ${INSTALL_DATA_DIR} ${X11PREFIX}/share/xpdf/thai
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/xpdf/thai
${INSTALL_DATA} ${WRKSRC}/TIS-620.unicodeMap \
- ${X11PREFIX}/share/xpdf/thai
+ ${PREFIX}/share/xpdf/thai
${INSTALL_DATA} ${WRKSRC}/Thai.nameToUnicode \
- ${X11PREFIX}/share/xpdf/thai
+ ${PREFIX}/share/xpdf/thai
post-install:
${CAT} ${WRKSRC}/add-to-xpdfrc >> ${PKG_SYSCONFDIR}/xpdfrc
diff --git a/print/xpdf-thai/PLIST b/print/xpdf-thai/PLIST
index 5563f3cf981..ddc6ac82647 100644
--- a/print/xpdf-thai/PLIST
+++ b/print/xpdf-thai/PLIST
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2002/12/09 16:01:41 tron Exp $
+@comment $NetBSD: PLIST,v 1.3 2003/03/25 14:07:02 salo 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
index 58fc6399385..2b30ccc1d02 100644
--- a/print/xpdf-thai/distinfo
+++ b/print/xpdf-thai/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/08/06 14:04:34 wiz Exp $
+$NetBSD: distinfo,v 1.2 2003/03/25 14:07:02 salo Exp $
-SHA1 (xpdf-thai-20020521/xpdf-thai.tar.gz) = a69389f3530ee5bb0acd0cda404e1d3374011b5d
-Size (xpdf-thai-20020521/xpdf-thai.tar.gz) = 1876 bytes
+SHA1 (xpdf-thai-20020116/xpdf-thai.tar.gz) = 93de04cb2211a7451d6e8f62ddef1748d2fa37f4
+Size (xpdf-thai-20020116/xpdf-thai.tar.gz) = 1873 bytes