From 1d8a9ad05a7db072a18186d07425791a9afcbccf Mon Sep 17 00:00:00 2001 From: salo Date: Tue, 25 Mar 2003 14:06:48 +0000 Subject: 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 --- print/xpdf-latin2/DEINSTALL | 8 ++++---- print/xpdf-latin2/DESCR | 5 ----- print/xpdf-latin2/Makefile | 21 ++++++++++++--------- print/xpdf-latin2/PLIST | 3 +-- print/xpdf-latin2/distinfo | 6 +++--- 5 files changed, 20 insertions(+), 23 deletions(-) (limited to 'print/xpdf-latin2') diff --git a/print/xpdf-latin2/DEINSTALL b/print/xpdf-latin2/DEINSTALL index c7005a86a97..79a06675366 100644 --- a/print/xpdf-latin2/DEINSTALL +++ b/print/xpdf-latin2/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:00 salo Exp $ PKGNAME=$1 STAGE=$2 -XPDFRC=${PKG_PREFIX}/etc/xpdfrc +XPDFRC=@PKG_SYSCONFDIR@/xpdfrc case ${STAGE} in DEINSTALL) ;; POST-DEINSTALL) - sed -e "/atin2/d" ${XPDFRC} > ${XPDFRC}.tmp - mv -f ${XPDFRC}.tmp ${XPDFRC} + @SED@ -e "/atin2/d" ${XPDFRC} > ${XPDFRC}.tmp + @MV@ -f ${XPDFRC}.tmp ${XPDFRC} ;; *) diff --git a/print/xpdf-latin2/DESCR b/print/xpdf-latin2/DESCR index 90503d219ae..d5f87b5c3a0 100644 --- a/print/xpdf-latin2/DESCR +++ b/print/xpdf-latin2/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 Latin2 PDF files. diff --git a/print/xpdf-latin2/Makefile b/print/xpdf-latin2/Makefile index d499f552135..c3cbd6b68f2 100644 --- a/print/xpdf-latin2/Makefile +++ b/print/xpdf-latin2/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.4 2002/11/08 10:15:27 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2003/03/25 14:07:00 salo Exp $ # -DISTNAME= xpdf-latin2-2002-oct-22 -PKGNAME= xpdf-latin2-20021022 +DISTNAME= xpdf-latin2 +PKGNAME= ${DISTNAME}-20021022 +PKGREVISION= 1 CATEGORIES= print MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ @@ -10,22 +11,24 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.foolabs.com/xpdf/ COMMENT= xpdf support files for Latin-2 -DEPENDS+= xpdf>=1.00:../../print/xpdf +DEPENDS+= xpdf>=2.02:../../print/xpdf -USE_X11BASE= yes +USE_X11= yes +USE_PKGINSTALL= yes -WRKSRC= ${WRKDIR}/xpdf-latin2 +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/latin2 + ${INSTALL_DATA_DIR} ${PREFIX}/share/xpdf/latin2 ${INSTALL_DATA} ${WRKSRC}/Latin2.unicodeMap \ - ${X11PREFIX}/share/xpdf/latin2 + ${PREFIX}/share/xpdf/latin2 post-install: ${CAT} ${WRKSRC}/add-to-xpdfrc >> ${PKG_SYSCONFDIR}/xpdfrc diff --git a/print/xpdf-latin2/PLIST b/print/xpdf-latin2/PLIST index 113d9b525f0..db759806dcb 100644 --- a/print/xpdf-latin2/PLIST +++ b/print/xpdf-latin2/PLIST @@ -1,4 +1,3 @@ -@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:01 salo Exp $ share/xpdf/latin2/Latin2.unicodeMap @dirrm share/xpdf/latin2 -@unexec ${RMDIR} %D/share/xpdf 2> /dev/null || ${TRUE} diff --git a/print/xpdf-latin2/distinfo b/print/xpdf-latin2/distinfo index b1263abd187..caeb50d0235 100644 --- a/print/xpdf-latin2/distinfo +++ b/print/xpdf-latin2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2002/11/08 10:15:28 wiz Exp $ +$NetBSD: distinfo,v 1.3 2003/03/25 14:07:01 salo Exp $ -SHA1 (xpdf-latin2-2002-oct-22.tar.gz) = e5fbf01c758c670973a34e67d56790c0b9e9eda4 -Size (xpdf-latin2-2002-oct-22.tar.gz) = 1435 bytes +SHA1 (xpdf-latin2-20021022/xpdf-latin2.tar.gz) = e5fbf01c758c670973a34e67d56790c0b9e9eda4 +Size (xpdf-latin2-20021022/xpdf-latin2.tar.gz) = 1435 bytes -- cgit v1.2.3