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-greek | |
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-greek')
-rw-r--r-- | print/xpdf-greek/DEINSTALL | 8 | ||||
-rw-r--r-- | print/xpdf-greek/DESCR | 5 | ||||
-rw-r--r-- | print/xpdf-greek/Makefile | 17 | ||||
-rw-r--r-- | print/xpdf-greek/PLIST | 3 | ||||
-rw-r--r-- | print/xpdf-greek/distinfo | 6 |
5 files changed, 17 insertions, 22 deletions
diff --git a/print/xpdf-greek/DEINSTALL b/print/xpdf-greek/DEINSTALL index b608a939e09..eb30b87a931 100644 --- a/print/xpdf-greek/DEINSTALL +++ b/print/xpdf-greek/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:06:53 salo Exp $ PKGNAME=$1 STAGE=$2 -XPDFRC=${PKG_PREFIX}/etc/xpdfrc +XPDFRC=@PKG_SYSCONFDIR@/xpdfrc case ${STAGE} in DEINSTALL) ;; POST-DEINSTALL) - sed -e "/reek/d" ${XPDFRC} > ${XPDFRC}.tmp - mv -f ${XPDFRC}.tmp ${XPDFRC} + @SED@ -e "/reek/d" ${XPDFRC} > ${XPDFRC}.tmp + @MV@ -f ${XPDFRC}.tmp ${XPDFRC} ;; *) diff --git a/print/xpdf-greek/DESCR b/print/xpdf-greek/DESCR index 0b0f760ae3e..744c2a76b60 100644 --- a/print/xpdf-greek/DESCR +++ b/print/xpdf-greek/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 Greek PDF files. diff --git a/print/xpdf-greek/Makefile b/print/xpdf-greek/Makefile index bc82da2390e..cadef4ca513 100644 --- a/print/xpdf-greek/Makefile +++ b/print/xpdf-greek/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:54 salo Exp $ # DISTNAME= xpdf-greek -PKGNAME= ${DISTNAME}-20020521 +PKGNAME= ${DISTNAME}-20020213 CATEGORIES= print MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ @@ -10,23 +10,24 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.foolabs.com/xpdf/ COMMENT= xpdf support files for Greek -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/greek + ${INSTALL_DATA_DIR} ${PREFIX}/share/xpdf/greek ${INSTALL_DATA} ${WRKSRC}/ISO-8859-7.unicodeMap \ - ${X11PREFIX}/share/xpdf/greek + ${PREFIX}/share/xpdf/greek post-install: ${CAT} ${WRKSRC}/add-to-xpdfrc >> ${PKG_SYSCONFDIR}/xpdfrc diff --git a/print/xpdf-greek/PLIST b/print/xpdf-greek/PLIST index 3b6b46b0257..1feb9f3d91b 100644 --- a/print/xpdf-greek/PLIST +++ b/print/xpdf-greek/PLIST @@ -1,4 +1,3 @@ -@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:54 salo 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 index f841b150d28..1f247e25f86 100644 --- a/print/xpdf-greek/distinfo +++ b/print/xpdf-greek/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:54 salo Exp $ -SHA1 (xpdf-greek-20020521/xpdf-greek.tar.gz) = ff185ea7bedb1b912f1f56bad9bff3b36f75b785 -Size (xpdf-greek-20020521/xpdf-greek.tar.gz) = 1124 bytes +SHA1 (xpdf-greek-20020213/xpdf-greek.tar.gz) = 42eef2df56674b636fadd6f6660b598f9b016758 +Size (xpdf-greek-20020213/xpdf-greek.tar.gz) = 1125 bytes |