diff options
author | salo <salo@pkgsrc.org> | 2003-03-25 14:06:48 +0000 |
---|---|---|
committer | salo <salo@pkgsrc.org> | 2003-03-25 14:06:48 +0000 |
commit | cfe246f9772d254ebaf1fb6c8b173e83dfee6c52 (patch) | |
tree | 3125084151c8c91095d4c3c396280430091bc1af /print/xpdf-korean | |
parent | e804ebe5e6a7693c9e232e9a9f88480c2c15d532 (diff) | |
download | pkgsrc-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-korean')
-rw-r--r-- | print/xpdf-korean/DEINSTALL | 10 | ||||
-rw-r--r-- | print/xpdf-korean/DESCR | 5 | ||||
-rw-r--r-- | print/xpdf-korean/Makefile | 23 | ||||
-rw-r--r-- | print/xpdf-korean/PLIST | 3 | ||||
-rw-r--r-- | print/xpdf-korean/distinfo | 6 |
5 files changed, 21 insertions, 26 deletions
diff --git a/print/xpdf-korean/DEINSTALL b/print/xpdf-korean/DEINSTALL index e6cc8a97e59..130b9fdfa0a 100644 --- a/print/xpdf-korean/DEINSTALL +++ b/print/xpdf-korean/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:58 salo Exp $ PKGNAME=$1 STAGE=$2 -XPDFRC=${PKG_PREFIX}/etc/xpdfrc +XPDFRC=@PKG_SYSCONFDIR@/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 + @SED@ -e "/orean/d" ${XPDFRC} > ${XPDFRC}.tmp + @SED@ -e "/ksc5601/d" ${XPDFRC}.tmp > ${XPDFRC} + @RM@ -f ${XPDFRC}.tmp ;; *) diff --git a/print/xpdf-korean/DESCR b/print/xpdf-korean/DESCR index a7c0ddff8bf..5dfbe7b3adc 100644 --- a/print/xpdf-korean/DESCR +++ b/print/xpdf-korean/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 Korean PDF files. diff --git a/print/xpdf-korean/Makefile b/print/xpdf-korean/Makefile index 71814db0daf..89af684208a 100644 --- a/print/xpdf-korean/Makefile +++ b/print/xpdf-korean/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:58 salo Exp $ # DISTNAME= xpdf-korean -PKGNAME= ${DISTNAME}-20020521 +PKGNAME= ${DISTNAME}-20020401 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 Korean -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/korean + ${INSTALL_DATA_DIR} ${PREFIX}/share/xpdf/korean ${INSTALL_DATA} ${WRKSRC}/Adobe-Korea1.cidToUnicode \ - ${X11PREFIX}/share/xpdf/korean + ${PREFIX}/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 + ${PREFIX}/share/xpdf/korean + ${INSTALL_DATA_DIR} ${PREFIX}/share/xpdf/korean/CMap + ${INSTALL_DATA} ${WRKSRC}/CMap/* ${PREFIX}/share/xpdf/korean/CMap post-install: ${CAT} ${WRKSRC}/add-to-xpdfrc >> ${PKG_SYSCONFDIR}/xpdfrc diff --git a/print/xpdf-korean/PLIST b/print/xpdf-korean/PLIST index 087cccbc125..53ce96a3794 100644 --- a/print/xpdf-korean/PLIST +++ b/print/xpdf-korean/PLIST @@ -1,4 +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:06:59 salo Exp $ share/xpdf/korean/Adobe-Korea1.cidToUnicode share/xpdf/korean/CMap/Adobe-Korea1-0 share/xpdf/korean/CMap/Adobe-Korea1-1 @@ -26,4 +26,3 @@ 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 index 266bd369d9b..7c6babd5bf7 100644 --- a/print/xpdf-korean/distinfo +++ b/print/xpdf-korean/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:59 salo Exp $ -SHA1 (xpdf-korean-20020521/xpdf-korean.tar.gz) = f71ba8810bff346136f8e76892b6c60209f934f7 -Size (xpdf-korean-20020521/xpdf-korean.tar.gz) = 419081 bytes +SHA1 (xpdf-korean-20020401/xpdf-korean.tar.gz) = 4af45a03d42a753b0b6c2754bc95023dc53e6776 +Size (xpdf-korean-20020401/xpdf-korean.tar.gz) = 419056 bytes |