Subject: t1lib and "remove any rendered docs as well"
To: None <wiz@netbsd.org, tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 08/30/2005 16:15:13
wiz: I see you imported the initial pkgsrc/fonts/t1lib/PLIST.

It has:

@comment remove any rendered docs as well
@unexec ${RM} -rf %D/share/doc/${PKGBASE} || ${TRUE}

kristerw's bulk builds using CHECK_FILES showed that this package 
installed several files without registering.

Is it okay to remove this? Please see my patch below:

Index: fonts/t1lib/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/fonts/t1lib/Makefile,v
retrieving revision 1.24
diff -b -u -r1.24 Makefile
--- fonts/t1lib/Makefile	19 Aug 2005 15:51:48 -0000	1.24
+++ fonts/t1lib/Makefile	30 Aug 2005 23:13:57 -0000
@@ -1,7 +1,7 @@
  # $NetBSD: Makefile,v 1.24 2005/08/19 15:51:48 drochner Exp $

  DISTNAME=	t1lib-5.1.0
-PKGREVISION=	1
+PKGREVISION=	2
  CATEGORIES=	fonts devel graphics
  MASTER_SITES=	${MASTER_SITE_SUNSITE:=libs/graphics/}

Index: fonts/t1lib/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/fonts/t1lib/PLIST,v
retrieving revision 1.9
diff -b -u -r1.9 PLIST
--- fonts/t1lib/PLIST	4 Aug 2005 09:57:17 -0000	1.9
+++ fonts/t1lib/PLIST	30 Aug 2005 23:13:58 -0000
@@ -56,6 +56,20 @@
  share/doc/${PKGBASE}/ut1lib.tex
  share/doc/${PKGBASE}/xglyph.tex
  share/doc/${PKGBASE}/xinterface.tex
+share/doc/${PKGBASE}/t1dump/t1dump_o.eps
+share/doc/${PKGBASE}/t1dump/t1dump_B.pdf
+share/doc/${PKGBASE}/t1dump/t1dump_eight.eps
+share/doc/${PKGBASE}/t1dump/parallelpath_sk.pdf
+share/doc/${PKGBASE}/t1dump/t1dump_eight.pdf
+share/doc/${PKGBASE}/t1dump/t1dump_o.pdf
+share/doc/${PKGBASE}/t1dump/t1dump_t_1.pdf
+share/doc/${PKGBASE}/t1dump/t1dump_t_2.pdf
+share/doc/${PKGBASE}/t1dump/parallelpath.eps
+share/doc/${PKGBASE}/t1dump/t1dump_t_1.eps
+share/doc/${PKGBASE}/t1dump/t1dump_t_2.eps
+share/doc/${PKGBASE}/t1dump/parallelpath_sk.eps
+share/doc/${PKGBASE}/t1dump/t1dump_B.eps
+share/doc/${PKGBASE}/t1dump/parallelpath_sk.sk
  share/examples/${PKGBASE}/FontDataBase
  share/examples/${PKGBASE}/t1example1.c
  share/examples/${PKGBASE}/t1lib.config
@@ -86,11 +100,11 @@
  share/${PKGBASE}/Fonts/type1/dcr10.pfb
  share/${PKGBASE}/Fonts/type1/dcti10.pfb
  share/${PKGBASE}/Fonts/type1/eufm10.pfb
+@dirrm share/doc/${PKGBASE}/t1dump
+@dirrm share/doc/${PKGBASE
  @dirrm share/${PKGBASE}/Fonts/type1
  @dirrm share/${PKGBASE}/Fonts/enc
  @dirrm share/${PKGBASE}/Fonts/afm
  @dirrm share/${PKGBASE}/Fonts
  @dirrm share/${PKGBASE}
  @dirrm share/examples/${PKGBASE}
-@comment remove any rendered docs as well
-@unexec ${RM} -rf %D/share/doc/${PKGBASE} || ${TRUE}


  Jeremy C. Reed

  	  	 	 open source, Unix, *BSD, Linux training
 	  	 	 http://www.pugetsoundtechnology.com/