Bug 52821 - Rayshade homesite and postscript documentation
Summary: Rayshade homesite and postscript documentation
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-31 18:50 UTC by Pedro F. Giffuni
Modified: 2003-07-29 06:26 UTC (History)
0 users

See Also:


Attachments
patch-rayshade (4.76 KB, text/plain)
2003-07-01 22:28 UTC, Pedro F. Giffuni
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro F. Giffuni 2003-05-31 18:50:11 UTC
This patch is untested, but perhaps having the website and
documentation for Rayshade might motivate someone to fix the
brokeness in -current.

Fix: __________________________________________________
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html
--0-1240425297-1054403298=:1577
Content-Type: text/plain; name=patch-rayshade
Content-Description: patch-rayshade
Content-Disposition: inline; filename=patch-rayshade



--0-1240425297-1054403298=:1577----NhL6KuLLCsI0D7k7fverUCDUW7aTK0hyDb23v1f69LtWbwf8
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

diff -ruN rayshade.orig/Makefile rayshade/Makefile
--- rayshade.orig/Makefile	Wed May 28 23:41:57 2003
+++ rayshade/Makefile	Sat May 31 12:31:10 2003
@@ -12,12 +12,18 @@
 		ftp://ftp.princeton.edu/pub/Graphics/rayshade.4.0/
 DISTNAME=	${PORTNAME}.${PORTVERSION}
 EXTRACT_SUFX=	.tar.Z
+.ifndef NOPORTDOCS
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX} guide.ps.Z
+.endif
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	An extensible system for creating ray-traced images
 
 BUILD_DEPENDS=	$(LOCALBASE)/lib/librle.a:${PORTSDIR}/graphics/urt
 
+DIST_SUBDIR=	rayshade
+EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
+
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} >= 500113
@@ -35,12 +41,8 @@
 
 do-install:
 	$(INSTALL_PROGRAM) $(WRKSRC)/rayshade/rayshade $(PREFIX)/bin
-# THIS ARE NOT USED BY ANY PORT
-#	$(INSTALL_DATA) $(WRKSRC)/libray/libray.a $(PREFIX)/lib
-#	$(INSTALL_DATA) $(WRKSRC)/libshade/libshade.a $(PREFIX)/lib
-	$(MKDIR) $(PREFIX)/share/doc/rayshade
-	$(INSTALL_DATA) $(WRKSRC)/Doc/Guide/* $(PREFIX)/share/doc/rayshade
-	$(INSTALL_DATA) $(WRKSRC)/Doc/quickref.txt $(PREFIX)/share/doc/rayshade
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/guide.ps.Z ${DOCSDIR}
 	$(MKDIR) $(PREFIX)/share/examples/rayshade
 	$(INSTALL_DATA) $(WRKSRC)/Examples/* $(PREFIX)/share/examples/rayshade
 
diff -ruN rayshade.orig/distinfo rayshade/distinfo
--- rayshade.orig/distinfo	Wed May 28 23:41:57 2003
+++ rayshade/distinfo	Thu May 29 11:00:30 2003
@@ -1 +1,2 @@
-MD5 (rayshade.4.0.tar.Z) = c81f9507c20cd6060a8bdc611a6771ff
+MD5 (rayshade/rayshade.4.0.tar.Z) = c81f9507c20cd6060a8bdc611a6771ff
+MD5 (rayshade/guide.ps.Z) = 59429e2018ef21bb1e31ca8e0ae26c56
diff -ruN rayshade.orig/pkg-descr rayshade/pkg-descr
--- rayshade.orig/pkg-descr	Wed May 28 23:41:57 2003
+++ rayshade/pkg-descr	Wed May 28 23:44:34 2003
@@ -1,3 +1,5 @@
 Rayshade is a system for generating ray-traced images. Rayshade's main
 function is to read a multi-line ASCII file describing a scene to be
 rendered and produce a file containing the ray traced image.
+
+WWW:	http://www-graphics.stanford.edu/~cek/rayshade/
diff -ruN rayshade.orig/pkg-plist rayshade/pkg-plist
--- rayshade.orig/pkg-plist	Wed May 28 23:41:57 2003
+++ rayshade/pkg-plist	Sat May 31 12:30:47 2003
@@ -1,19 +1,5 @@
 bin/rayshade
-share/doc/rayshade/README
-share/doc/rayshade/animate.tex
-share/doc/rayshade/camera.tex
-share/doc/rayshade/guide.tex
-share/doc/rayshade/height.tex
-share/doc/rayshade/intro.tex
-share/doc/rayshade/lights.tex
-share/doc/rayshade/objects.tex
-share/doc/rayshade/options.tex
-share/doc/rayshade/preface.tex
-share/doc/rayshade/running.tex
-share/doc/rayshade/surfaces.tex
-share/doc/rayshade/texture.tex
-share/doc/rayshade/transform.tex
-share/doc/rayshade/quickref.txt
+%%DOCSDIR%%/guide.ps.Z
 share/examples/rayshade/ashtray.def.ray
 share/examples/rayshade/ashtray.ray
 share/examples/rayshade/balls.ray
Comment 1 Pedro F. Giffuni 2003-07-01 22:28:32 UTC
The attached cleanup patch solved the building problems for me.
Since I don't have current I cannot be sure it will work
everywhere, but at least this cleans the port enough to find out
what is happening.

enjoy


______________________________________________________________________
Yahoo! Mail: 6MB di spazio gratuito, 30MB per i tuoi allegati, l'antivirus, il filtro Anti-spam
http://it.yahoo.com/mail_it/foot/?http://it.mail.yahoo.com/
Comment 2 Maho Nakata freebsd_committer freebsd_triage 2003-07-29 06:25:57 UTC
State Changed
From-To: open->closed

Committed, thanks!