Subject: pkg/11217: POVRay does not install documentation.
To: None <gnats-bugs@gnats.netbsd.org>
From: Richard Rauch <rkr@rkr.kcnet.com>
List: netbsd-bugs
Date: 10/13/2000 18:07:21
>Number:         11217
>Category:       pkg
>Synopsis:       POVRay does not install documentation.
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 13 18:07:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Richard Rauch
>Release:        1.5_ALPHA, pkgsrc from early October
>Organization:
  "I probably don't know what I'm talking about."  --rkr@rkr.kcnet.com
>Environment:
System: NetBSD rkr.kcnet.com 1.5_ALPHA NetBSD 1.5_ALPHA (rkrGENERIC) #0: Sun Aug 6 17:44:22 PDT 2000 root@:/usr/src/sys/arch/i386/compile/rkrGENERIC i386


>Description:
	POVRay builds and installs, but fails to copy over some files.

		povuser.txt   (The main user documentation)
		povwhere.get  (Less valuable)
		rerunpov.sh   (Minor script)

	There may be others in subdirectories, but those should all be
	copied from work/povray31/ to <pkg>/lib/povray31/, I think.

	This is a long-standing minor problem, but I've seldom had the
	presense of mind to check it when my pkgsrc was moderately fresh.
>How-To-Repeat:
	Delete all traces of POVRay from your system (or start with a fresh
	system).

	cd <pkgsrc>/graphics/povray && make update

	Try to find the missing files indicated above.
>Fix:
	Modify patch-ac (a from-scratch Makefile to do the installing) and
	then modify the PLIST to reflect the new files.


	The modified lines in patch-ac are:

+       ${INSTALL} -c -m 0644 *.txt *.get *.doc ${POVLIB}/
+       ${INSTALL} -c -m 0644 *.gif *.xpm ${POVLIB}/
+       ${INSTALL} -c -m 0644 *.sh ${POVLIB}/


	(Only the first and third of those 3 lines are modified.)



	The PLIST diff -u is then:

# diff -u PLIST.old PLIST
--- PLIST.old   Fri Oct 13 19:16:09 2000
+++ PLIST       Fri Oct 13 19:19:51 2000
@@ -20,9 +20,15 @@
 lib/povray31/compile.doc
 lib/povray31/povlegal.doc
 lib/povray31/revision.doc
+lib/povray31/povwhere.get
+lib/povray31/betanews.txt
+lib/povray31/gamma.gif.txt
+lib/povray31/povuser.txt
 lib/povray31/gamma.gif
 lib/povray31/xpovicon.xpm
 lib/povray31/allscene.sh
+lib/povray31/rerunpov.sh
+lib/povray31/runpov.sh
 lib/povray31/include/bubinga.map
 lib/povray31/include/cedar.map
 lib/povray31/include/colors.inc
>Release-Note:
>Audit-Trail:
>Unformatted: