summaryrefslogtreecommitdiff
path: root/print/xpdf-chinese-traditional
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2003-03-25 14:06:48 +0000
committersalo <salo@pkgsrc.org>2003-03-25 14:06:48 +0000
commitcfe246f9772d254ebaf1fb6c8b173e83dfee6c52 (patch)
tree3125084151c8c91095d4c3c396280430091bc1af /print/xpdf-chinese-traditional
parente804ebe5e6a7693c9e232e9a9f88480c2c15d532 (diff)
downloadpkgsrc-cfe246f9772d254ebaf1fb6c8b173e83dfee6c52.tar.gz
Sync with updated xpdf-2.02 package.
- install into PREFIX, not X11PREFIX - DEPENDS on xpdf>=2.02 due to USE_X11BASE->USE_X11 change - fix DEINSTALL files to really remove chunks added to xpdfrc, correctly define PKG_SYSCONFDIR, don't use direct commands (sed->@SED@, mv->@MV@, rm->@RM@) - define USE_PKGINSTALL to correctly replace variables in DEINSTALL files - consistently use DIST_SUBDIR - don't define completely bogus version numbers, use dates from the MASTER_SITE and xpdfrc chunks - remove PREFIX/share/xpdf from PLISTs, this directory is now part of the xpdf package - remove superfluous license/copyright note from DESCR files - bump PKGREVISION where necessary
Diffstat (limited to 'print/xpdf-chinese-traditional')
-rw-r--r--print/xpdf-chinese-traditional/DEINSTALL10
-rw-r--r--print/xpdf-chinese-traditional/DESCR5
-rw-r--r--print/xpdf-chinese-traditional/Makefile23
-rw-r--r--print/xpdf-chinese-traditional/PLIST3
-rw-r--r--print/xpdf-chinese-traditional/distinfo6
5 files changed, 21 insertions, 26 deletions
diff --git a/print/xpdf-chinese-traditional/DEINSTALL b/print/xpdf-chinese-traditional/DEINSTALL
index bcdb41d0cfb..a8d5f19c518 100644
--- a/print/xpdf-chinese-traditional/DEINSTALL
+++ b/print/xpdf-chinese-traditional/DEINSTALL
@@ -1,20 +1,20 @@
#!/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:06:50 salo Exp $
PKGNAME=$1
STAGE=$2
-XPDFRC=${PKG_PREFIX}/etc/xpdfrc
+XPDFRC=@PKG_SYSCONFDIR@/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
+ @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
;;
*)
diff --git a/print/xpdf-chinese-traditional/DESCR b/print/xpdf-chinese-traditional/DESCR
index ec03cfcfa10..40f1737467f 100644
--- a/print/xpdf-chinese-traditional/DESCR
+++ b/print/xpdf-chinese-traditional/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
Chinese (Traditional) PDF files.
diff --git a/print/xpdf-chinese-traditional/Makefile b/print/xpdf-chinese-traditional/Makefile
index 651a83d8390..ee1ba1e9768 100644
--- a/print/xpdf-chinese-traditional/Makefile
+++ b/print/xpdf-chinese-traditional/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2002/09/19 19:21:39 kei Exp $
+# $NetBSD: Makefile,v 1.4 2003/03/25 14:06:50 salo Exp $
#
DISTNAME= xpdf-chinese-traditional
-PKGNAME= ${DISTNAME}-20020521
+PKGNAME= ${DISTNAME}-20020414
CATEGORIES= print
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/
@@ -10,27 +10,28 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.foolabs.com/xpdf/
COMMENT= xpdf support files for Chinese (Traditional)
-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' -e 's/Arhpic/Arphic/g' < ${WRKSRC}/add-to-xpdfrc.orig > ${WRKSRC}/add-to-xpdfrc
+ ${SED} -e 's:/usr/local:'${PREFIX}':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_DIR} ${PREFIX}/share/xpdf/chinese-traditional
${INSTALL_DATA} ${WRKSRC}/Adobe-CNS1.cidToUnicode \
- ${X11PREFIX}/share/xpdf/chinese-traditional
+ ${PREFIX}/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
+ ${PREFIX}/share/xpdf/chinese-traditional
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/xpdf/chinese-traditional/CMap
+ ${INSTALL_DATA} ${WRKSRC}/CMap/* ${PREFIX}/share/xpdf/chinese-traditional/CMap
post-install:
${CAT} ${WRKSRC}/add-to-xpdfrc >> ${PKG_SYSCONFDIR}/xpdfrc
diff --git a/print/xpdf-chinese-traditional/PLIST b/print/xpdf-chinese-traditional/PLIST
index d79eacd4f5a..9c90c43a5af 100644
--- a/print/xpdf-chinese-traditional/PLIST
+++ b/print/xpdf-chinese-traditional/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2002/12/09 16:01:39 tron Exp $
+@comment $NetBSD: PLIST,v 1.3 2003/03/25 14:06:51 salo Exp $
share/xpdf/chinese-traditional/Adobe-CNS1.cidToUnicode
share/xpdf/chinese-traditional/Big5.unicodeMap
share/xpdf/chinese-traditional/CMap/Adobe-CNS1-0
@@ -43,4 +43,3 @@ 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
index e90b2202377..350c84599e9 100644
--- a/print/xpdf-chinese-traditional/distinfo
+++ b/print/xpdf-chinese-traditional/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:06:51 salo Exp $
-SHA1 (xpdf-chinese-traditional-20020521/xpdf-chinese-traditional.tar.gz) = 95e9c5d471aa670f63cb3c340363a48b396e4f44
-Size (xpdf-chinese-traditional-20020521/xpdf-chinese-traditional.tar.gz) = 698902 bytes
+SHA1 (xpdf-chinese-traditional-20020414/xpdf-chinese-traditional.tar.gz) = a8de3e7184f445b01f4394f212d1e8f3c39acda0
+Size (xpdf-chinese-traditional-20020414/xpdf-chinese-traditional.tar.gz) = 698901 bytes