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-turkish | |
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-turkish')
-rw-r--r-- | print/xpdf-turkish/DEINSTALL | 8 | ||||
-rw-r--r-- | print/xpdf-turkish/DESCR | 5 | ||||
-rw-r--r-- | print/xpdf-turkish/Makefile | 17 | ||||
-rw-r--r-- | print/xpdf-turkish/PLIST | 3 | ||||
-rw-r--r-- | print/xpdf-turkish/distinfo | 6 |
5 files changed, 17 insertions, 22 deletions
diff --git a/print/xpdf-turkish/DEINSTALL b/print/xpdf-turkish/DEINSTALL index 2b0942870ad..82590027115 100644 --- a/print/xpdf-turkish/DEINSTALL +++ b/print/xpdf-turkish/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:03 salo Exp $ PKGNAME=$1 STAGE=$2 -XPDFRC=${PKG_PREFIX}/etc/xpdfrc +XPDFRC=@PKG_SYSCONFDIR@/xpdfrc case ${STAGE} in DEINSTALL) ;; POST-DEINSTALL) - sed -e "/urkish/d" ${XPDFRC} > ${XPDFRC}.tmp - mv -f ${XPDFRC}.tmp ${XPDFRC} + @SED@ -e "/urkish/d" ${XPDFRC} > ${XPDFRC}.tmp + @MV@ -f ${XPDFRC}.tmp ${XPDFRC} ;; *) diff --git a/print/xpdf-turkish/DESCR b/print/xpdf-turkish/DESCR index b53073b4520..33c4e5f2fab 100644 --- a/print/xpdf-turkish/DESCR +++ b/print/xpdf-turkish/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 Turkish PDF files. diff --git a/print/xpdf-turkish/Makefile b/print/xpdf-turkish/Makefile index b37a88b0e3d..d1fe1054756 100644 --- a/print/xpdf-turkish/Makefile +++ b/print/xpdf-turkish/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:04 salo Exp $ # DISTNAME= xpdf-turkish -PKGNAME= ${DISTNAME}-20020521 +PKGNAME= ${DISTNAME}-20020410 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 Turkish -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/turkish + ${INSTALL_DATA_DIR} ${PREFIX}/share/xpdf/turkish ${INSTALL_DATA} ${WRKSRC}/ISO-8859-9.unicodeMap \ - ${X11PREFIX}/share/xpdf/turkish + ${PREFIX}/share/xpdf/turkish post-install: ${CAT} ${WRKSRC}/add-to-xpdfrc >> ${PKG_SYSCONFDIR}/xpdfrc diff --git a/print/xpdf-turkish/PLIST b/print/xpdf-turkish/PLIST index 2047e629218..17afe6b9c29 100644 --- a/print/xpdf-turkish/PLIST +++ b/print/xpdf-turkish/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:04 salo Exp $ share/xpdf/turkish/ISO-8859-9.unicodeMap @dirrm share/xpdf/turkish -@unexec ${RMDIR} %D/share/xpdf 2> /dev/null || ${TRUE} diff --git a/print/xpdf-turkish/distinfo b/print/xpdf-turkish/distinfo index 72422b6a12c..32c615b51b4 100644 --- a/print/xpdf-turkish/distinfo +++ b/print/xpdf-turkish/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:04 salo Exp $ -SHA1 (xpdf-turkish-20020521/xpdf-turkish.tar.gz) = 32de29eff7cd0bbc08f4cccdeadb459c428e3f51 -Size (xpdf-turkish-20020521/xpdf-turkish.tar.gz) = 1140 bytes +SHA1 (xpdf-turkish-20020410/xpdf-turkish.tar.gz) = 2a225c726ebef40f63902081604064bd8b4ae117 +Size (xpdf-turkish-20020410/xpdf-turkish.tar.gz) = 1140 bytes |