summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2011-07-21 05:53:23 +0000
committerdholland <dholland@pkgsrc.org>2011-07-21 05:53:23 +0000
commit50e573cb33a0f4a233e51d2317066dc8fcf984a2 (patch)
tree0266c18bbab4d656a19f525f6d76b8bb6ebbd870 /graphics
parentf5097cd7bde9e235360c8d1e5f54ad78502fed7c (diff)
downloadpkgsrc-50e573cb33a0f4a233e51d2317066dc8fcf984a2.tar.gz
Handle installed csh scripts properly. PR 37581; also mentioned in PR
37949 and PR 37952. Someone should try building and running this on a machine with no native csh.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/radiance/Makefile30
1 files changed, 27 insertions, 3 deletions
diff --git a/graphics/radiance/Makefile b/graphics/radiance/Makefile
index 0772d47a99a..39e1ac2f936 100644
--- a/graphics/radiance/Makefile
+++ b/graphics/radiance/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.26 2010/01/18 09:59:07 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2011/07/21 05:53:23 dholland Exp $
#
DISTNAME= rad3R6P1
PKGNAME= radiance-3.6.1
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= graphics
MASTER_SITES= http://www.radiance-online.org/software/non-cvs/ \
http://www.radiance-online.org/software/
@@ -17,7 +17,7 @@ LICENSE= radiance-license
PKG_DESTDIR_SUPPORT= user-destdir
NOT_FOR_BULK_PLATFORM= HPUX-*-*
-USE_TOOLS+= pax
+USE_TOOLS+= pax csh:run
WRKSRC= ${WRKDIR}/ray
@@ -32,6 +32,30 @@ PATCHEES= makeall ./src/rt/Rmakefile ./src/util/Rmakefile \
./src/px/tiff/contrib/addtiffo/Makefile \
./src/px/tiff/contrib/iptcutil/Makefile
+REPLACE_INTERPRETER+= csh
+REPLACE.csh.old= /bin/csh
+REPLACE.csh.new= ${CSH}
+REPLACE_FILES.csh= src/cal/cal/colorcal.csh src/cal/cal/illumcal.csh
+REPLACE_FILES.csh+= src/cal/cal/reinhard.csh src/gen/genwindow.csh
+REPLACE_FILES.csh+= src/gen/genbackg.csh src/gen/genpine.csh
+REPLACE_FILES.csh+= src/gen/glaze.csh src/gen/markpath.csh
+REPLACE_FILES.csh+= src/px/falsecolor.csh src/px/normpat.csh
+REPLACE_FILES.csh+= src/px/pacuity.csh src/px/pbilat.csh src/px/pdelta.csh
+REPLACE_FILES.csh+= src/px/pdfblur.csh src/px/pgblur.csh src/px/phisteq.csh
+REPLACE_FILES.csh+= src/px/phisto.csh src/px/pmblur.csh src/px/psquish.csh
+REPLACE_FILES.csh+= src/px/pveil.csh src/px/vlpic.csh src/px/xyzimage.csh
+REPLACE_FILES.csh+= src/util/compamb.csh src/util/dayfact.csh
+REPLACE_FILES.csh+= src/util/debugcal.csh src/util/genambpos.csh
+REPLACE_FILES.csh+= src/util/help2roff.csh src/util/glare.csh
+REPLACE_FILES.csh+= src/util/ivpict.csh src/util/ivprep.csh
+REPLACE_FILES.csh+= src/util/objline.csh src/util/objpict.csh
+REPLACE_FILES.csh+= src/util/objview.csh src/util/raddepend.csh
+REPLACE_FILES.csh+= src/util/rlux.csh src/util/tradinstall.csh
+REPLACE_FILES.csh+= src/util/vinfo.csh
+REPLACE_FILES.csh+= obj/cabin/anim1/script obj/cabin/anim1/script2
+REPLACE_FILES.csh+= obj/cabin/runscript.csh
+REPLACE_FILES.csh+= obj/office/anim.csh obj/office/anim2.csh
+
.include "../../mk/bsd.prefs.mk"
PLIST_VARS+= gl