diff options
author | jschauma <jschauma@pkgsrc.org> | 2005-02-16 22:17:33 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2005-02-16 22:17:33 +0000 |
commit | 821d6fb39ae600d91e97c995bbd58d31173c9a0a (patch) | |
tree | e0dc52499facb407265d5decfb86be43e2c85733 /graphics/radiance | |
parent | da5470e5d5eb143c8f0dff77afb67e9c6027f61d (diff) | |
download | pkgsrc-821d6fb39ae600d91e97c995bbd58d31173c9a0a.tar.gz |
Initial import of Radiance (aka ``ray'') into pkgsrc.
Radiance is a physically based rendering package written largely by Greg Ward,
initially at LBNL, EPFL, then SGI, now running Anyhere Software. It is a
physically-based, image-generating, backward raytracer with very a powerful
rendering engine. It is used worldwide for lighting analysis and can generate
accurate values for radiance/luminance (W/sr.m^2,cd/m^2) and
irradiance/illuminance (W/m,Lux).
http://www.radiance-online.org/
Diffstat (limited to 'graphics/radiance')
-rw-r--r-- | graphics/radiance/DESCR | 6 | ||||
-rw-r--r-- | graphics/radiance/Makefile | 74 | ||||
-rw-r--r-- | graphics/radiance/PLIST | 707 | ||||
-rw-r--r-- | graphics/radiance/distinfo | 24 | ||||
-rw-r--r-- | graphics/radiance/patches/patch-aa | 185 | ||||
-rw-r--r-- | graphics/radiance/patches/patch-ab | 13 | ||||
-rw-r--r-- | graphics/radiance/patches/patch-ac | 40 | ||||
-rw-r--r-- | graphics/radiance/patches/patch-ad | 24 | ||||
-rw-r--r-- | graphics/radiance/patches/patch-ae | 27 | ||||
-rw-r--r-- | graphics/radiance/patches/patch-af | 52 | ||||
-rw-r--r-- | graphics/radiance/patches/patch-ag | 21 | ||||
-rw-r--r-- | graphics/radiance/patches/patch-ah | 97 | ||||
-rw-r--r-- | graphics/radiance/patches/patch-ai | 31 | ||||
-rw-r--r-- | graphics/radiance/patches/patch-aj | 21 | ||||
-rw-r--r-- | graphics/radiance/patches/patch-ak | 39 | ||||
-rw-r--r-- | graphics/radiance/patches/patch-al | 50 | ||||
-rw-r--r-- | graphics/radiance/patches/patch-am | 32 | ||||
-rw-r--r-- | graphics/radiance/patches/patch-an | 14 | ||||
-rw-r--r-- | graphics/radiance/patches/patch-ao | 13 | ||||
-rw-r--r-- | graphics/radiance/patches/patch-ap | 114 | ||||
-rw-r--r-- | graphics/radiance/patches/patch-aq | 16 | ||||
-rw-r--r-- | graphics/radiance/patches/patch-ar | 10 |
22 files changed, 1610 insertions, 0 deletions
diff --git a/graphics/radiance/DESCR b/graphics/radiance/DESCR new file mode 100644 index 00000000000..f8b36a2c5eb --- /dev/null +++ b/graphics/radiance/DESCR @@ -0,0 +1,6 @@ +Radiance is a physically based rendering package written largely by Greg Ward, +initially at LBNL, EPFL, then SGI, now running Anyhere Software. It is a +physically-based, image-generating, backward raytracer with very a powerful +rendering engine. It is used worldwide for lighting analysis and can generate +accurate values for radiance/luminance (W/sr.m^2,cd/m^2) and +irradiance/illuminance (W/m,Lux). diff --git a/graphics/radiance/Makefile b/graphics/radiance/Makefile new file mode 100644 index 00000000000..bf55093a377 --- /dev/null +++ b/graphics/radiance/Makefile @@ -0,0 +1,74 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/02/16 22:17:33 jschauma Exp $ +# + +DISTNAME= rad3R6P1 +PKGNAME= radiance-3.6.1 +CATEGORIES= graphics +MASTER_SITES= http://www.radiance-online.org/software/non-cvs/ \ + http://www.radiance-online.org/software/ +DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}supp${EXTRACT_SUFX} + +MAINTAINER= jschauma@NetBSD.org +HOMEPAGE= http://www.radiance-online.org/ +COMMENT= Physically-based, image-generating, backward raytracer + +WRKSRC= ${WRKDIR}/ray +USE_BUILDLINK3= YES +USE_X11= YES + +LICENSE= radiance-license + +PATCHEES= makeall ./src/rt/Rmakefile ./src/util/Rmakefile \ + ./src/ot/Rmakefile ./src/meta/Rmakefile \ + ./src/hd/Rmakefile ./src/gen/Rmakefile \ + ./src/cv/Rmakefile ./src/common/Rmakefile \ + ./src/cal/Rmakefile installib \ + ./src/cv/mgflib/Makefile ./src/meta/lib4014/Makefile \ + ./src/px/Rmakefile \ + ./src/px/tiff/contrib/acorn/Makefile \ + ./src/px/tiff/contrib/addtiffo/Makefile \ + ./src/px/tiff/contrib/iptcutil/Makefile + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" +PKGSRC_ARCH= 9 +.elif ${OPSYS} == "FreeBSD" +PKGSRC_ARCH= 8 +.endif + +MAKE_ENV+= MV="${MV}" RM="${RM}" CP="${CP}" \ + INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ + INSTALL_PROGRAM="${INSTALL_PROGRAM}" + +do-configure: +.for patchee in ${PATCHEES} + ${SED} -e 's|@PREFIX@|${PREFIX}|g' \ + -e 's|@PKGSRC_ARCH@|${PKGSRC_ARCH}|g' \ + -e 's|@WRKSRC@|${WRKSRC}|g' \ + -e 's|@X11BASE@|${X11BASE}|g' \ + -e 's|@MAKE@|${MAKE}|g' \ + ${WRKSRC}/${patchee} > ${WRKSRC}/${patchee}.tmp && \ + ${MV} ${WRKSRC}/${patchee}.tmp ${WRKSRC}/${patchee} +.endfor + ${RM} ${WRKSRC}/lib/.gdb_history + +do-build: + cd ${WRKSRC} && ${MAKE_ENV} csh ./makeall install + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/radiance + cd ${WRKSRC}/radiance && ${PAX} -rw . ${PREFIX}/radiance/ + ${INSTALL_DATA_DIR} ${PREFIX}/radiance/obj + cd ${WRKSRC}/obj && ${PAX} -rw . ${PREFIX}/radiance/obj/ + ${INSTALL_DATA_DIR} ${PREFIX}/radiance/lib + cd ${WRKSRC}/lib && ${PAX} -rw . ${PREFIX}/radiance/lib/ + ${INSTALL_DATA_DIR} ${PREFIX}/radiance/man + cd ${WRKSRC}/doc/man && ${PAX} -rw . ${PREFIX}/radiance/man/ + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/radiance + ${INSTALL_DATA} ${WRKSRC}/doc/pdf/*.pdf ${PREFIX}/share/doc/radiance/ + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/radiance + ${INSTALL_DATA} ${WRKSRC}/doc/ray.html ${PREFIX}/share/doc/radiance/index.html + +.include "../../graphics/tiff/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/radiance/PLIST b/graphics/radiance/PLIST new file mode 100644 index 00000000000..bb9ffd00b9a --- /dev/null +++ b/graphics/radiance/PLIST @@ -0,0 +1,707 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/02/16 22:17:33 jschauma Exp $ +radiance/bin/arch2rad +radiance/bin/bgraph +radiance/bin/cnt +radiance/bin/compamb +radiance/bin/cv +radiance/bin/dayfact +radiance/bin/debugcal +radiance/bin/dgraph +radiance/bin/ev +radiance/bin/falsecolor +radiance/bin/findglare +radiance/bin/gcomp +radiance/bin/genambpos +radiance/bin/genblinds +radiance/bin/genbox +radiance/bin/genclock +radiance/bin/genprism +radiance/bin/genrev +radiance/bin/genrhgrid +radiance/bin/gensky +radiance/bin/gensurf +radiance/bin/genworm +radiance/bin/getbbox +radiance/bin/getinfo +radiance/bin/glare +radiance/bin/glarendx +radiance/bin/glaze +radiance/bin/histo +radiance/bin/icalc +radiance/bin/ies2rad +radiance/bin/igraph +radiance/bin/lampcolor +radiance/bin/lookamb +radiance/bin/macbethcal +radiance/bin/meta2tga +radiance/bin/mgf2inv +radiance/bin/mgf2meta +radiance/bin/mgf2rad +radiance/bin/mgfilt +radiance/bin/mkillum +radiance/bin/neaten +radiance/bin/nff2rad +radiance/bin/normpat +radiance/bin/normtiff +radiance/bin/obj2mesh +radiance/bin/obj2rad +radiance/bin/objline +radiance/bin/objpict +radiance/bin/objview +radiance/bin/oconv +radiance/bin/oki20 +radiance/bin/oki20c +radiance/bin/pcomb +radiance/bin/pcompos +radiance/bin/pcond +radiance/bin/pcwarp +radiance/bin/pdelta +radiance/bin/pdfblur +radiance/bin/pexpand +radiance/bin/pextrem +radiance/bin/pfilt +radiance/bin/pflip +radiance/bin/pgblur +radiance/bin/phisto +radiance/bin/pinterp +radiance/bin/plot4 +radiance/bin/plotin +radiance/bin/pmblur +radiance/bin/protate +radiance/bin/psign +radiance/bin/psmeta +radiance/bin/psort +radiance/bin/pvalue +radiance/bin/ra_avs +radiance/bin/ra_bmp +radiance/bin/ra_bn +radiance/bin/ra_gif +radiance/bin/ra_hexbit +radiance/bin/ra_pict +radiance/bin/ra_ppm +radiance/bin/ra_pr +radiance/bin/ra_pr24 +radiance/bin/ra_ps +radiance/bin/ra_rgbe +radiance/bin/ra_t16 +radiance/bin/ra_t8 +radiance/bin/ra_tiff +radiance/bin/ra_xyze +radiance/bin/rad +radiance/bin/rad2mgf +radiance/bin/raddepend +radiance/bin/ranimate +radiance/bin/ranimove +radiance/bin/rcalc +radiance/bin/replmarks +radiance/bin/rhcopy +radiance/bin/rhinfo +radiance/bin/rholo +radiance/bin/rhoptimize +radiance/bin/rhpict +radiance/bin/rlam +radiance/bin/rlux +radiance/bin/rmake +radiance/bin/rpict +radiance/bin/rpiece +radiance/bin/rtrace +radiance/bin/rview +radiance/bin/rvu +radiance/bin/tabfunc +radiance/bin/thf2rad +radiance/bin/tmesh2rad +radiance/bin/total +radiance/bin/trad +radiance/bin/ttyimage +radiance/bin/vinfo +radiance/bin/vwrays +radiance/bin/vwright +radiance/bin/x11meta +radiance/bin/xform +radiance/bin/xglaresrc +radiance/bin/ximage +radiance/bin/xshowtrace +radiance/bin/xyzimage +radiance/dev/x11.hdi +radiance/dev/x11h.hdi +radiance/lib/Earth.cal +radiance/lib/Earth.pic +radiance/lib/He.cal +radiance/lib/He3.cal +radiance/lib/Pix.fnt +radiance/lib/PixOblique.fnt +radiance/lib/README +radiance/lib/Verdana.fnt +radiance/lib/VerdanaBold.fnt +radiance/lib/VerdanaBoldItalic.fnt +radiance/lib/VerdanaItalic.fnt +radiance/lib/adobe.cal +radiance/lib/alberta.pic +radiance/lib/ball.cal +radiance/lib/brick.cal +radiance/lib/brick.pic +radiance/lib/brickweave.cal +radiance/lib/brickweave.pic +radiance/lib/cabin.pic +radiance/lib/carpet.cal +radiance/lib/cloudEarth.pic +radiance/lib/corrug.cal +radiance/lib/covelight.cal +radiance/lib/cyl.cal +radiance/lib/dirt.cal +radiance/lib/fisheye.cal +radiance/lib/forestfl.pic +radiance/lib/fprism.cal +radiance/lib/glazing.cal +radiance/lib/globe.cal +radiance/lib/gloss.cal +radiance/lib/grating.cal +radiance/lib/helvet.fnt +radiance/lib/hexbit4x1.fnt +radiance/lib/jigglepic.cal +radiance/lib/lcp0.cal +radiance/lib/lib/arch.map +radiance/lib/lib/arch.mat +radiance/lib/lib/coord +radiance/lib/lib/gamma.pic +radiance/lib/lib/macbeth_pub.pic +radiance/lib/lib/macbeth_spec.pic +radiance/lib/lib/material.rad +radiance/lib/lib/monmeas.gif +radiance/lib/lib/proj.cal +radiance/lib/lib/rgbw.pic +radiance/lib/lib/testimg.pic +radiance/lib/lib/testroom +radiance/lib/marble.cal +radiance/lib/meta/back.mta +radiance/lib/meta/boxw.plt +radiance/lib/meta/cartesian.plt +radiance/lib/meta/circle.mta +radiance/lib/meta/curve.plt +radiance/lib/meta/function.plt +radiance/lib/meta/line.plt +radiance/lib/meta/polar.plt +radiance/lib/meta/scatter.plt +radiance/lib/meta/stairs.mta +radiance/lib/meta/standard.plt +radiance/lib/meta/symbols.mta +radiance/lib/meta/vchars.mta +radiance/lib/n.150.oct +radiance/lib/oakfloor.pic +radiance/lib/orange.cal +radiance/lib/page1.txt +radiance/lib/page2.txt +radiance/lib/picture.cal +radiance/lib/pine.pic +radiance/lib/pinebark.pic +radiance/lib/plink.cal +radiance/lib/podlife.pic +radiance/lib/prism.cal +radiance/lib/retrorefl.cal +radiance/lib/richgrove.pic +radiance/lib/sapling.oct +radiance/lib/serraglaze.cal +radiance/lib/shingle.pic +radiance/lib/slate.cal +radiance/lib/source/abolite/HMFA.fixt +radiance/lib/source/abolite/HMFA1400 +radiance/lib/source/abolite/HMFA1400.dat +radiance/lib/source/headlamp/highbeam.dat +radiance/lib/source/headlamp/highbeam.rad +radiance/lib/source/headlamp/lowbeam.dat +radiance/lib/source/headlamp/lowbeam.rad +radiance/lib/source/headlamp/syl2a.dat +radiance/lib/source/headlamp/syl2a.rad +radiance/lib/source/hubbell/BO-100_none +radiance/lib/source/hubbell/BO-100_none.dat +radiance/lib/source/hubbell/BO-100_none.zlm +radiance/lib/source/hubbell/LBM-150Sx-D-P +radiance/lib/source/hubbell/LBM-150Sx-D-P.dat +radiance/lib/source/spi/raw.dat +radiance/lib/source/spi/std33 +radiance/lib/source/spi/std33.dat +radiance/lib/source/wellmade/325-AL97-248RS +radiance/lib/source/wellmade/325-AL97-248RS.dat +radiance/lib/source/wellmade/395-12A-248RS +radiance/lib/source/wellmade/395-12A-248RS.dat +radiance/lib/source/zumtobel/SID-C2.dat +radiance/lib/source/zumtobel/SID-C2.rad +radiance/lib/source/zumtobel/fixt.pts +radiance/lib/source/zumtobel/louvre +radiance/lib/summercab.pic +radiance/lib/tim1.cal +radiance/lib/tree.mat +radiance/lib/tree.oct +radiance/lib/tulips.pic +radiance/lib/weave.cal +radiance/lib/winxmit.cal +radiance/lib/woodpat.cal +radiance/lib/woodtex.cal +radiance/lib/wrinkle.cal +radiance/man/cat1/.DS_Store +radiance/man/cat1/arch2rad.1 +radiance/man/cat1/bgraph.1 +radiance/man/cat1/cnt.1 +radiance/man/cat1/compamb.1 +radiance/man/cat1/cv.1 +radiance/man/cat1/dayfact.1 +radiance/man/cat1/dgraph.1 +radiance/man/cat1/ev.1 +radiance/man/cat1/falsecolor.1 +radiance/man/cat1/findglare.1 +radiance/man/cat1/gcomp.1 +radiance/man/cat1/genblinds.1 +radiance/man/cat1/genbox.1 +radiance/man/cat1/genclock.1 +radiance/man/cat1/genprism.1 +radiance/man/cat1/genrev.1 +radiance/man/cat1/gensky.1 +radiance/man/cat1/gensurf.1 +radiance/man/cat1/genworm.1 +radiance/man/cat1/getbbox.1 +radiance/man/cat1/getinfo.1 +radiance/man/cat1/glare.1 +radiance/man/cat1/glarendx.1 +radiance/man/cat1/glrad.1 +radiance/man/cat1/histo.1 +radiance/man/cat1/icalc.1 +radiance/man/cat1/ies2rad.1 +radiance/man/cat1/igraph.1 +radiance/man/cat1/imagew.1 +radiance/man/cat1/impress.1 +radiance/man/cat1/lampcolor.1 +radiance/man/cat1/lookamb.1 +radiance/man/cat1/macbethcal.1 +radiance/man/cat1/meta2tga.1 +radiance/man/cat1/mgf2meta.1 +radiance/man/cat1/mgf2rad.1 +radiance/man/cat1/mkillum.1 +radiance/man/cat1/mx80.1 +radiance/man/cat1/neaten.1 +radiance/man/cat1/normpat.1 +radiance/man/cat1/normtiff.1 +radiance/man/cat1/obj2mesh.1 +radiance/man/cat1/obj2rad.1 +radiance/man/cat1/objline.1 +radiance/man/cat1/objview.1 +radiance/man/cat1/oconv.1 +radiance/man/cat1/pcomb.1 +radiance/man/cat1/pcompos.1 +radiance/man/cat1/pcond.1 +radiance/man/cat1/pdfblur.1 +radiance/man/cat1/pexpand.1 +radiance/man/cat1/pextrem.1 +radiance/man/cat1/pfilt.1 +radiance/man/cat1/pflip.1 +radiance/man/cat1/phisto.1 +radiance/man/cat1/pinterp.1 +radiance/man/cat1/plotin.1 +radiance/man/cat1/pmblur.1 +radiance/man/cat1/protate.1 +radiance/man/cat1/psign.1 +radiance/man/cat1/psmeta.1 +radiance/man/cat1/psort.1 +radiance/man/cat1/pvalue.1 +radiance/man/cat1/ra_bmp.1 +radiance/man/cat1/ra_bn.1 +radiance/man/cat1/ra_gif.1 +radiance/man/cat1/ra_pict.1 +radiance/man/cat1/ra_ppm.1 +radiance/man/cat1/ra_pr.1 +radiance/man/cat1/ra_pr24.1 +radiance/man/cat1/ra_ps.1 +radiance/man/cat1/ra_rgbe.1 +radiance/man/cat1/ra_t16.1 +radiance/man/cat1/ra_t8.1 +radiance/man/cat1/ra_tiff.1 +radiance/man/cat1/ra_xyze.1 +radiance/man/cat1/rad.1 +radiance/man/cat1/rad2mgf.1 +radiance/man/cat1/raddepend.1 +radiance/man/cat1/ranimate.1 +radiance/man/cat1/ranimove.1 +radiance/man/cat1/rcalc.1 +radiance/man/cat1/replmarks.1 +radiance/man/cat1/rhcopy.1 +radiance/man/cat1/rhinfo.1 +radiance/man/cat1/rholo.1 +radiance/man/cat1/rhoptimize.1 +radiance/man/cat1/rhpict.1 +radiance/man/cat1/rlam.1 +radiance/man/cat1/rpict.1 +radiance/man/cat1/rpiece.1 +radiance/man/cat1/rtrace.1 +radiance/man/cat1/rvu.1 +radiance/man/cat1/t4014.1 +radiance/man/cat1/tabfunc.1 +radiance/man/cat1/thf2rad.1 +radiance/man/cat1/tmesh2rad.1 +radiance/man/cat1/total.1 +radiance/man/cat1/trad.1 +radiance/man/cat1/ttyimage.1 +radiance/man/cat1/vgaimage.1 +radiance/man/cat1/vwrays.1 +radiance/man/cat1/vwright.1 +radiance/man/cat1/x11meta.1 +radiance/man/cat1/xform.1 +radiance/man/cat1/xglaresrc.1 +radiance/man/cat1/ximage.1 +radiance/man/cat1/xshowtrace.1 +radiance/man/cat3/.DS_Store +radiance/man/cat3/meta.3 +radiance/man/cat5/.DS_Store +radiance/man/cat5/metafile.5 +radiance/man/man1/arch2rad.1 +radiance/man/man1/bgraph.1 +radiance/man/man1/cnt.1 +radiance/man/man1/compamb.1 +radiance/man/man1/cv.1 +radiance/man/man1/dayfact.1 +radiance/man/man1/dgraph.1 +radiance/man/man1/ev.1 +radiance/man/man1/falsecolor.1 +radiance/man/man1/findglare.1 +radiance/man/man1/gcomp.1 +radiance/man/man1/genblinds.1 +radiance/man/man1/genbox.1 +radiance/man/man1/genclock.1 +radiance/man/man1/genprism.1 +radiance/man/man1/genrev.1 +radiance/man/man1/gensky.1 +radiance/man/man1/gensurf.1 +radiance/man/man1/genworm.1 +radiance/man/man1/getbbox.1 +radiance/man/man1/getinfo.1 +radiance/man/man1/glare.1 +radiance/man/man1/glarendx.1 +radiance/man/man1/glrad.1 +radiance/man/man1/histo.1 +radiance/man/man1/icalc.1 +radiance/man/man1/ies2rad.1 +radiance/man/man1/igraph.1 +radiance/man/man1/imagew.1 +radiance/man/man1/impress.1 +radiance/man/man1/lampcolor.1 +radiance/man/man1/lookamb.1 +radiance/man/man1/macbethcal.1 +radiance/man/man1/meta2tga.1 +radiance/man/man1/mgf2meta.1 +radiance/man/man1/mgf2rad.1 +radiance/man/man1/mkillum.1 +radiance/man/man1/mx80.1 +radiance/man/man1/neaten.1 +radiance/man/man1/normpat.1 +radiance/man/man1/normtiff.1 +radiance/man/man1/obj2mesh.1 +radiance/man/man1/obj2rad.1 +radiance/man/man1/objline.1 +radiance/man/man1/objview.1 +radiance/man/man1/oconv.1 +radiance/man/man1/pcomb.1 +radiance/man/man1/pcompos.1 +radiance/man/man1/pcond.1 +radiance/man/man1/pdfblur.1 +radiance/man/man1/pexpand.1 +radiance/man/man1/pextrem.1 +radiance/man/man1/pfilt.1 +radiance/man/man1/pflip.1 +radiance/man/man1/phisto.1 +radiance/man/man1/pinterp.1 +radiance/man/man1/plotin.1 +radiance/man/man1/pmblur.1 +radiance/man/man1/protate.1 +radiance/man/man1/psign.1 +radiance/man/man1/psmeta.1 +radiance/man/man1/psort.1 +radiance/man/man1/pvalue.1 +radiance/man/man1/ra_bmp.1 +radiance/man/man1/ra_bn.1 +radiance/man/man1/ra_gif.1 +radiance/man/man1/ra_pict.1 +radiance/man/man1/ra_ppm.1 +radiance/man/man1/ra_pr.1 +radiance/man/man1/ra_pr24.1 +radiance/man/man1/ra_ps.1 +radiance/man/man1/ra_rgbe.1 +radiance/man/man1/ra_t16.1 +radiance/man/man1/ra_t8.1 +radiance/man/man1/ra_tiff.1 +radiance/man/man1/ra_xyze.1 +radiance/man/man1/rad.1 +radiance/man/man1/rad2mgf.1 +radiance/man/man1/raddepend.1 +radiance/man/man1/ranimate.1 +radiance/man/man1/ranimove.1 +radiance/man/man1/rcalc.1 +radiance/man/man1/replmarks.1 +radiance/man/man1/rhcopy.1 +radiance/man/man1/rhinfo.1 +radiance/man/man1/rholo.1 +radiance/man/man1/rhoptimize.1 +radiance/man/man1/rhpict.1 +radiance/man/man1/rlam.1 +radiance/man/man1/rpict.1 +radiance/man/man1/rpiece.1 +radiance/man/man1/rtrace.1 +radiance/man/man1/rvu.1 +radiance/man/man1/t4014.1 +radiance/man/man1/tabfunc.1 +radiance/man/man1/thf2rad.1 +radiance/man/man1/tmesh2rad.1 +radiance/man/man1/total.1 +radiance/man/man1/trad.1 +radiance/man/man1/ttyimage.1 +radiance/man/man1/vgaimage.1 +radiance/man/man1/vwrays.1 +radiance/man/man1/vwright.1 +radiance/man/man1/x11meta.1 +radiance/man/man1/xform.1 +radiance/man/man1/xglaresrc.1 +radiance/man/man1/ximage.1 +radiance/man/man1/xshowtrace.1 +radiance/man/man3/meta.3 +radiance/man/man5/metafile.5 +radiance/man/whatis +radiance/obj/alpha/0.norm +radiance/obj/alpha/1.norm +radiance/obj/alpha/2.norm +radiance/obj/alpha/3.norm +radiance/obj/alpha/4.norm +radiance/obj/alpha/5.norm +radiance/obj/alpha/6.norm +radiance/obj/alpha/7.norm +radiance/obj/alpha/8.norm +radiance/obj/alpha/9.norm +radiance/obj/alpha/A.norm +radiance/obj/alpha/B.norm +radiance/obj/alpha/C.norm +radiance/obj/alpha/D.norm +radiance/obj/alpha/E.norm +radiance/obj/alpha/F.norm +radiance/obj/alpha/G.norm +radiance/obj/alpha/H.norm +radiance/obj/alpha/I.norm +radiance/obj/alpha/J.norm +radiance/obj/alpha/K.norm +radiance/obj/alpha/L.norm +radiance/obj/alpha/M.norm +radiance/obj/alpha/N.norm +radiance/obj/alpha/O.norm +radiance/obj/alpha/P.norm +radiance/obj/alpha/Q.norm +radiance/obj/alpha/R.norm +radiance/obj/alpha/S.norm +radiance/obj/alpha/T.norm +radiance/obj/alpha/U.norm +radiance/obj/alpha/V.norm +radiance/obj/alpha/W.norm +radiance/obj/alpha/X.norm +radiance/obj/alpha/Y.norm +radiance/obj/alpha/Z.norm +radiance/obj/alpha/alpha.pkg +radiance/obj/alpha/conv2.c +radiance/obj/alpha/convert.c +radiance/obj/cabin/.DS_Store +radiance/obj/cabin/Makefile +radiance/obj/cabin/anim1/anim2.vf +radiance/obj/cabin/anim1/errs +radiance/obj/cabin/anim1/fmt +radiance/obj/cabin/anim1/join.keys +radiance/obj/cabin/anim1/keys +radiance/obj/cabin/anim1/keys.cal +radiance/obj/cabin/anim1/keys2.cal +radiance/obj/cabin/anim1/script +radiance/obj/cabin/anim1/script2 +radiance/obj/cabin/anim1/spline.cal +radiance/obj/cabin/anim1/view.fmt +radiance/obj/cabin/anim1/view2.fmt +radiance/obj/cabin/animv1/.DS_Store +radiance/obj/cabin/animv1/anim2.vf +radiance/obj/cabin/animv1/ball1.xf +radiance/obj/cabin/ball1.rad +radiance/obj/cabin/bathroom +radiance/obj/cabin/bdfurn.rad +radiance/obj/cabin/cabin +radiance/obj/cabin/chair.norm +radiance/obj/cabin/coatrack.norm +radiance/obj/cabin/daywindows +radiance/obj/cabin/door.norm +radiance/obj/cabin/dresser.norm +radiance/obj/cabin/flood.dat +radiance/obj/cabin/flood.rad +radiance/obj/cabin/flood.shroud +radiance/obj/cabin/furniture +radiance/obj/cabin/innight.rif +radiance/obj/cabin/insummer.rif +radiance/obj/cabin/insummer_pan.rif +radiance/obj/cabin/landscape +radiance/obj/cabin/lights +radiance/obj/cabin/lights.off +radiance/obj/cabin/living.glr +radiance/obj/cabin/lvfurn.rad +radiance/obj/cabin/mirrors.rad +radiance/obj/cabin/mirrors.rad.orig +radiance/obj/cabin/night.hif +radiance/obj/cabin/noise2.cal +radiance/obj/cabin/paneltex.cal +radiance/obj/cabin/pattmats +radiance/obj/cabin/portals.rad +radiance/obj/cabin/pucker.cal +radiance/obj/cabin/runscript.csh +radiance/obj/cabin/shake.cal +radiance/obj/cabin/sofa.norm +radiance/obj/cabin/sumleep.err +radiance/obj/cabin/sumleep.rif +radiance/obj/cabin/summer.hif +radiance/obj/cabin/summer2.hif +radiance/obj/cabin/summerday +radiance/obj/cabin/summereve +radiance/obj/cabin/summermorn +radiance/obj/cabin/testmats +radiance/obj/cabin/vf/aerial +radiance/obj/cabin/vf/bath +radiance/obj/cabin/vf/bed +radiance/obj/cabin/vf/bed.leepl +radiance/obj/cabin/vf/bed.leepr +radiance/obj/cabin/vf/bedroom +radiance/obj/cabin/vf/coatrack +radiance/obj/cabin/vf/corner +radiance/obj/cabin/vf/dresser +radiance/obj/cabin/vf/ext.ne +radiance/obj/cabin/vf/ext.se +radiance/obj/cabin/vf/ext1 +radiance/obj/cabin/vf/fireplace +radiance/obj/cabin/vf/interior +radiance/obj/cabin/vf/liv3 +radiance/obj/cabin/vf/liv4 +radiance/obj/cabin/vf/liv5 +radiance/obj/cabin/vf/liv6 +radiance/obj/cabin/vf/liv7 +radiance/obj/cabin/vf/liv8 +radiance/obj/cabin/vf/living +radiance/obj/cabin/vf/living.fish +radiance/obj/cabin/vf/living2 +radiance/obj/cabin/vf/plan +radiance/obj/cabin/vf/top +radiance/obj/cabin/window.norm +radiance/obj/cabin/winframe.norm +radiance/obj/cabin/winpane.norm +radiance/obj/cabin/winpanes.rad +radiance/obj/cabin/winterday +radiance/obj/misc/Makefile +radiance/obj/misc/daf.rad +radiance/obj/misc/daf.rif +radiance/obj/misc/daffodil +radiance/obj/misc/daffodil.vp +radiance/obj/misc/examp +radiance/obj/misc/examp.vp +radiance/obj/misc/room +radiance/obj/office/Makefile +radiance/obj/office/anim.csh +radiance/obj/office/anim2.cal +radiance/obj/office/anim2.csh +radiance/obj/office/blinds +radiance/obj/office/book.norm +radiance/obj/office/book.vp +radiance/obj/office/bookbox.norm +radiance/obj/office/chair1.norm +radiance/obj/office/chair2.norm +radiance/obj/office/chair2.vp +radiance/obj/office/closeup.vp +radiance/obj/office/cornerdesk.norm +radiance/obj/office/desk +radiance/obj/office/lamp +radiance/obj/office/lamp.off +radiance/obj/office/lights +radiance/obj/office/lights.off +radiance/obj/office/misc +radiance/obj/office/misc.badchair +radiance/obj/office/model.b90 +radiance/obj/office/model.vp +radiance/obj/office/mug.norm +radiance/obj/office/office.rif +radiance/obj/office/openbook.norm +radiance/obj/office/pageverts +radiance/obj/office/picture +radiance/obj/office/skywindow +radiance/obj/office/window +radiance/obj/texture/flood +radiance/obj/texture/fuzztile.oct.Z +radiance/obj/texture/isground.cal +radiance/obj/texture/isorange.cal +radiance/obj/texture/orange +radiance/obj/texture/orange.cal +radiance/obj/texture/ornament +radiance/obj/texture/page1.txt +radiance/obj/texture/page2.txt +radiance/obj/texture/paper +radiance/obj/texture/room +radiance/obj/texture/room2 +radiance/obj/texture/scene +radiance/obj/texture/tennis +radiance/obj/texture/tennis.cal +radiance/obj/texture/tennis4.Z +radiance/obj/texture/tex.rif +radiance/obj/texture/tex1hi.rif +radiance/obj/texture/tex2hi.rif +radiance/obj/virtual/Makefile +radiance/obj/virtual/back.vp +radiance/obj/virtual/ceil.vp +radiance/obj/virtual/desk.rad +radiance/obj/virtual/draft_ang.rad +radiance/obj/virtual/draft_flat.rad +radiance/obj/virtual/environ.rad +radiance/obj/virtual/furniture.rad +radiance/obj/virtual/furnrev.rad +radiance/obj/virtual/grad.txt +radiance/obj/virtual/hatch.cal +radiance/obj/virtual/illum.err +radiance/obj/virtual/illum.rif +radiance/obj/virtual/illumoff.rad +radiance/obj/virtual/mug.rad +radiance/obj/virtual/optfile +radiance/obj/virtual/orange_chair.rad +radiance/obj/virtual/outside.rif +radiance/obj/virtual/outside.vp +radiance/obj/virtual/plain.rif +radiance/obj/virtual/plainoff.rad +radiance/obj/virtual/stool.rad +radiance/obj/virtual/wastebasket.rad +share/doc/radiance/index.html +share/doc/radiance/materials.pdf +share/doc/radiance/progdiagram.pdf +share/doc/radiance/ray.pdf +@dirrm share/doc/radiance +@exec ${MKDIR} %D/share/doc/html/radiance +@dirrm share/doc/html/radiance +@dirrm radiance/lib/source/abolite +@dirrm radiance/lib/source/headlamp +@dirrm radiance/lib/source/hubbell +@dirrm radiance/lib/source/spi +@dirrm radiance/lib/source/wellmade +@dirrm radiance/lib/source/zumtobel +@dirrm radiance/lib/source +@dirrm radiance/lib/meta +@dirrm radiance/lib/lib +@dirrm radiance/lib +@dirrm radiance/obj/alpha +@dirrm radiance/obj/cabin/anim1 +@dirrm radiance/obj/cabin/animv1 +@dirrm radiance/obj/cabin/vf +@dirrm radiance/obj/cabin +@dirrm radiance/obj/misc +@dirrm radiance/obj/office +@dirrm radiance/obj/texture +@dirrm radiance/obj/virtual/dist +@dirrm radiance/obj/virtual +@dirrm radiance/obj +@dirrm radiance/man/man1 +@dirrm radiance/man/man3 +@dirrm radiance/man/man5 +@dirrm radiance/man/cat1 +@dirrm radiance/man/cat3 +@dirrm radiance/man/cat5 +@dirrm radiance/man +@dirrm radiance/dev +@dirrm radiance/bin +@dirrm radiance diff --git a/graphics/radiance/distinfo b/graphics/radiance/distinfo new file mode 100644 index 00000000000..ca58f1b978d --- /dev/null +++ b/graphics/radiance/distinfo @@ -0,0 +1,24 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/02/16 22:17:33 jschauma Exp $ + +SHA1 (rad3R6P1.tar.gz) = 71f46abd1c30be282a93237fa0c162d3bf0b1f99 +Size (rad3R6P1.tar.gz) = 7115997 bytes +SHA1 (rad3R6P1supp.tar.gz) = 8a13227eae507a7a4947a49b6aa741c95198ed4e +Size (rad3R6P1supp.tar.gz) = 4632166 bytes +SHA1 (patch-aa) = ea43190811db3b3ae47c14c38bf3772be5dfc76a +SHA1 (patch-ab) = 5d06bcf2216ed084a757724045391bfbe05d56d2 +SHA1 (patch-ac) = 8336144bb4c768e50af4559606e895d4d1e30836 +SHA1 (patch-ad) = f3f7c68305964965851c9caeca53f0e534014085 +SHA1 (patch-ae) = 26d2f239e45b944bb77ce9ea4fa07c0b3cd3f2ff +SHA1 (patch-af) = 9a4c265a18a138166c8a041730cd5818430f9186 +SHA1 (patch-ag) = e7f8944d96aa51ce8dfdec5abb6d498c3ca193cc +SHA1 (patch-ah) = a33746e1daae8f7dc6efabb1d73f85eecafb5152 +SHA1 (patch-ai) = 3f385778f0d9279a6744c85c9946066a54dc4af4 +SHA1 (patch-aj) = 5242f18c523bbebcfdd886fa20501434f07b74c0 +SHA1 (patch-ak) = 438bd7e9ad397663ddac09543ac484610b13086b +SHA1 (patch-al) = 7133f2839a85d8f2db752813832a4af0223d4ecd +SHA1 (patch-am) = bf4a456d905fbd5c9a9cabd3c32b1bb1c6c26620 +SHA1 (patch-an) = 396abe507a4700919ea3fdd9fc2f56773704d6df +SHA1 (patch-ao) = 22e3e8f3b593bca0423390f696324f42e8b52098 +SHA1 (patch-ap) = 42bb1691b2c1d76bf5d19872d70ca50332d31987 +SHA1 (patch-aq) = 338ca0df287e797fbc784158e7d622f70ddcd35e +SHA1 (patch-ar) = e2afaad398d61f152ce9a7f3ddf451547c359e13 diff --git a/graphics/radiance/patches/patch-aa b/graphics/radiance/patches/patch-aa new file mode 100644 index 00000000000..41895875152 --- /dev/null +++ b/graphics/radiance/patches/patch-aa @@ -0,0 +1,185 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/02/16 22:17:33 jschauma Exp $ + +Make this script run non-interactively. + +--- makeall.orig 2003-12-14 12:24:09.000000000 -0500 ++++ makeall 2005-02-15 17:41:37.000000000 -0500 +@@ -36,17 +36,10 @@ + + _EOF_ + if ( ! $?EDITOR ) then +- echo -n "What is your preferred editor [vi]? " +- set ans="$<" +- if ( "$ans" != "" ) then +- setenv EDITOR "$ans" +- else + setenv EDITOR vi +- endif + endif + again1: +-echo -n "Where do you want the executables [/usr/local/bin]? " +-set idir=$< ++set idir=@WRKSRC@/radiance/bin + (echo $idir) >/dev/null + if ( $status ) then + goto again1 +@@ -54,19 +47,16 @@ + set idir=$idir + if ( "$idir" == "" ) then + set idir=/usr/local/bin +-else if ( "$idir" !~ /* ) then +- echo "Directory must be relative to root, please reenter" +- goto again1 + endif + if ( ! -d $idir ) then +- mkdir $idir ++ mkdir -p $idir + if ( $status ) then + echo "Cannot create directory, please reenter" + goto again1 + endif + endif +-if ( ! -d $idir/dev ) then +- mkdir $idir/dev ++if ( ! -d $idir/../dev ) then ++ mkdir -p $idir/../dev + if ( $status ) then + echo "Cannot create subdirectory, please reenter" + goto again1 +@@ -84,10 +74,6 @@ + goto gotrmake + endif + set newrmake +-more src/common/copyright.h +-echo -n "Do you understand and accept the terms of this agreement [n]? " +-set ans="$<" +-if ( "$ans" !~ [yY]* ) exit + set special= + set arch= + set opt= +@@ -95,24 +81,7 @@ + set compat= + set extras= + set esuffix= +-cat << _EOF_ +- +-Please select your system type from the following list: +- +- 1) Sun Solaris +- 2) HP workstation +- 3) Silicon Graphics +- 4) AIX (RS/6000) +- 5) BSDI BSD/386 +- 6) Linux +- 7) MacOS X +- 8) FreeBSD +- 9) Cygwin +- 10) Other +- +-_EOF_ +-echo -n "Choice? " +-set arch="$<" ++set arch=9 + switch ("$arch") + case 1: # SPARC Station + set arch=sun +@@ -163,7 +132,7 @@ + set compat="malloc.o erf.o strcmp.o" + breaksw + case 6: # Linux +- set mach="-Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO" ++ set mach="-Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/X11R6/include -DNOSTEREO" + set opt="-O2 -DSPEED=200" + set arch=IBMPC + set compat="bmalloc.o erf.o getpagesize.o" +@@ -181,11 +150,16 @@ + set mach="-DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib" + set opt="-O -DSPEED=200" + set compat="bmalloc.o erf.o" +- set extras="CC=cc" + set arch=IBMPC + breaksw +-case 9: # Cygwin +- set mach="-Dfreebsd -L/usr/lib -L/usr/X11R6/lib -I/usr/include/X11 -I/usr/X11R6/include -DNOSTEREO" ++case 9: # NetBSD ++ set mach="-DBSD -DNOSTEREO -Dnetbsd -I/usr/X11R6/include -L/usr/X11R6/lib" ++ set opt="-O -DSPEED=200" ++ set compat="bmalloc.o erf.o" ++ set arch=IBMPC ++ breaksw ++case 10: # Cygwin ++ set mach="-Dfreebsd -L/usr/lib -L/usr/X11R6 -I/usr/X11R6/include -DNOSTEREO" + set opt="-O2 -DSPEED=200" + set arch=IBMPC + set compat="bmalloc.o erf.o getpagesize.o" +@@ -193,7 +167,7 @@ + set special="ogl" + set esuffix=".exe" + breaksw +-case 10: # Other ++case 11: # Other + set opt="-O" + set compat="bmalloc.o erf.o strcmp.o" + echo -n "Are you using the GNU C compiler [n]? " +@@ -211,7 +185,7 @@ + source installib + sed 's/[ ]*$//' > $rmake << _EOF_ + #!/bin/sh +-exec make "SPECIAL=$special" \ ++exec @MAKE@ "SPECIAL=$special" \ + "OPT=$opt" \ + "MACH=$mach" \ + ARCH=$arch "COMPAT=$compat" \ +@@ -225,28 +199,16 @@ + gotrmake: + echo "Current rmake command is:" + cat $rmake +-echo -n "Do you want to change it? " +-set ans="$<" +-if ( "$ans" =~ [yY]* ) then +- cp $rmake /tmp/rmake$$ +- $EDITOR $rmake +- if ( `cat $rmake /tmp/rmake$$ | grep OPT= | uniq | wc -l` == 2 ) set newrmake +- rm -f /tmp/rmake$$ +-endif + if ( ! -d src/lib ) then + mkdir src/lib + endif +-if ( $?newrmake ) then +- echo 'New rmake command -- running "makeall clean"...' +- csh -f $0 clean +-endif + cd src + echo "Making programs..." + set errs=0 + foreach i ( $srcdirs ) + pushd $i + echo "In directory $i..." +- $rmake -k $* ++ $rmake $* + @ errs += $status + popd + end +@@ -256,22 +218,6 @@ + echo "Done." + endif + cd .. +-if (! $inpath ) then +- echo "" +- echo "Add $idir to the beginning of your execution path:" +- echo 'For C-shell users, put the following into ~/.cshrc' +- echo " set path=( $idir "'$path )' +- echo 'For Bourne shell users, put the following into $HOME/profile' +- echo " PATH=$idir"':$PATH' +- echo " export PATH" +-endif +-if (! -d /usr/tmp) then +- ln -s /tmp /usr/tmp +- if ($status) then +- echo "" +- echo "IMPORTANT: Execute 'sudo ln -s /tmp /usr/tmp'" +- endif +-endif + else + cd src + foreach i ( $srcdirs ) diff --git a/graphics/radiance/patches/patch-ab b/graphics/radiance/patches/patch-ab new file mode 100644 index 00000000000..9b2649c2f80 --- /dev/null +++ b/graphics/radiance/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/02/16 22:17:33 jschauma Exp $ + +--- src/hd/rhdisp.c.orig 2005-02-15 10:05:02.000000000 -0500 ++++ src/hd/rhdisp.c 2005-02-15 10:05:15.000000000 -0500 +@@ -22,7 +22,7 @@ + #define FSIZDEF 0.125 /* default focus frame size */ + #endif + +-#if defined(freebsd) ++#if defined(freebsd) || defined(netbsd) + #define fbufcnt(f) ((f)->_r) + #elif defined(__GNUC__) + #define fbufcnt(f) ((f)->_IO_read_end - (f)->_IO_read_ptr) diff --git a/graphics/radiance/patches/patch-ac b/graphics/radiance/patches/patch-ac new file mode 100644 index 00000000000..84eccf491f1 --- /dev/null +++ b/graphics/radiance/patches/patch-ac @@ -0,0 +1,40 @@ +$NetBSD: patch-ac,v 1.1.1.1 2005/02/16 22:17:33 jschauma Exp $ + +Make this script run non-interactively. + +--- installib.orig 2003-10-31 12:11:57.000000000 -0500 ++++ installib 2005-02-15 11:25:48.000000000 -0500 +@@ -4,19 +4,15 @@ + # Install library files + # + again2: +-echo -n "Where do you want the library files [/usr/local/lib/ray]? " +-set ldir=$< ++set ldir=@WRKSRC@/builddir/lib + (echo $ldir) >/dev/null + if ( $status ) goto again2 + set ldir=$ldir + if ( "$ldir" == "" ) then + set ldir=/usr/local/lib/ray +-else if ( "$ldir" !~ /* ) then +- echo "Directory must be relative to root, please reenter" +- goto again2 + endif + if ( ! -d $ldir ) then +- mkdir $ldir ++ mkdir -p $ldir + if ( $status ) then + echo "Cannot create directory, please reenter" + goto again2 +@@ -33,11 +29,7 @@ + set d1=(`ls -Lid lib`) + set d2=(`ls -Lid $ldir`) + if ($d1[1] != $d2[1]) then +- echo -n "Install library files now [n]? " +- if ( "$<" =~ [yY]* ) then + echo -n "Copying library files to $ldir... " + (cd lib ; tar -cf - *) | (cd $ldir ; tar -xf -) +- echo "Done." +- endif + endif + unset d1 d2 diff --git a/graphics/radiance/patches/patch-ad b/graphics/radiance/patches/patch-ad new file mode 100644 index 00000000000..d8d62b3e040 --- /dev/null +++ b/graphics/radiance/patches/patch-ad @@ -0,0 +1,24 @@ +$NetBSD: patch-ad,v 1.1.1.1 2005/02/16 22:17:33 jschauma Exp $ + +--- ./src/cal/Rmakefile.orig 2005-02-15 14:27:20.000000000 -0500 ++++ ./src/cal/Rmakefile 2005-02-15 14:28:10.000000000 -0500 +@@ -5,17 +5,15 @@ + + OPT = -O + +-CC = cc +- + MACH = -DIEEE + + DEFS = -DBIGGERLIB + +-CFLAGS = $(OPT) $(MACH) $(DEFS) -I../common -L../lib ++CFLAGS += $(OPT) $(MACH) $(DEFS) -I../common -L../lib ${LDFLAGS} + + MLIB = -lm + +-INSTDIR = /usr/local/bin ++INSTDIR = @WRKSRC@/radiance/bin + + PROGS = icalc ev rcalc total cnt neaten rlam tabfunc histo + diff --git a/graphics/radiance/patches/patch-ae b/graphics/radiance/patches/patch-ae new file mode 100644 index 00000000000..9d4c21c9c16 --- /dev/null +++ b/graphics/radiance/patches/patch-ae @@ -0,0 +1,27 @@ +$NetBSD: patch-ae,v 1.1.1.1 2005/02/16 22:17:33 jschauma Exp $ + +--- ./src/common/Rmakefile.orig 2005-02-15 14:28:10.000000000 -0500 ++++ ./src/common/Rmakefile 2005-02-15 14:29:16.000000000 -0500 +@@ -6,12 +6,11 @@ + OPT = -O + MACH = -DBSD + CFLAGS = $(MACH) $(OPT) +-CC = cc + SPECIAL = + + COMPAT = bmalloc.o erf.o strcmp.o # frexp.o fwrite.o random.o + +-LIBDIR = /usr/local/lib/ray ++LIBDIR = @WRKSRC@/radiance/lib + + RTOBJ = cone.o face.o free_os.o instance.o readobj.o readoct.o otypes.o \ + objset.o octree.o readfargs.o modobject.o getlibpath.o \ +@@ -62,7 +61,7 @@ + sun: + + getlibpath.o: getlibpath.c +- $(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c getlibpath.c ++ $(CC) $(CFLAGS) -DDEFPATH=\":@PREFIX@/radiance/lib\" -c getlibpath.c + + tmapcolrs.o: tmapcolrs.c + $(CC) $(CFLAGS) -DPCOND=\"pcond\" -c tmapcolrs.c diff --git a/graphics/radiance/patches/patch-af b/graphics/radiance/patches/patch-af new file mode 100644 index 00000000000..54d8490ef88 --- /dev/null +++ b/graphics/radiance/patches/patch-af @@ -0,0 +1,52 @@ +$NetBSD: patch-af,v 1.1.1.1 2005/02/16 22:17:33 jschauma Exp $ + +--- src/cv/Rmakefile.orig 2004-10-27 19:36:09.000000000 -0400 ++++ src/cv/Rmakefile 2005-02-15 15:31:38.000000000 -0500 +@@ -7,16 +7,14 @@ + + MACH = -DBSD + +-CFLAGS = -I../common -L../lib $(OPT) $(MACH) ++CFLAGS += -I../common -L../lib $(OPT) $(MACH) ${LDFLAGS} + METACFLAGS = -I../meta + +-CC = cc +- + MLIB = -lm + +-INSTDIR = /usr/local/bin ++INSTDIR = @WRKSRC@/radiance/bin + +-LIBDIR = /usr/local/lib/ray ++LIBDIR = @WRKSRC@/radiance/lib + + MGF_LIB = ../lib/libmgf.a + +@@ -68,21 +66,18 @@ + + mgfilt: + cd mgflib ; rm -f mgfilt ; \ +- make mgfilt CC=$(CC) \ +- CFLAGS="$(OPT) $(MACH)" ; \ +- mv mgfilt .. ++ @MAKE@ mgfilt ++ mv mgflib/mgfilt . + + mgf2inv: + cd mgflib ; rm -f mgf2inv ; \ +- make mgf2inv CC=$(CC) \ +- CFLAGS="$(OPT) $(MACH)" ; \ +- mv mgf2inv .. ++ @MAKE@ mgf2inv ++ mv mgflib/mgf2inv . + + $(MGF_LIB): + cd mgflib ; rm -f libmgf.a ; \ +- make libmgf.a CC=$(CC) \ +- CFLAGS="$(OPT) $(MACH)" ; \ +- mv libmgf.a ../../lib ++ @MAKE@ libmgf.a ++ mv mgflib/libmgf.a ../lib + + mgf2rad.o: mgf2rad.c mgflib/parser.h ../common/tmesh.h ../common/color.h + $(CC) $(CFLAGS) -c mgf2rad.c diff --git a/graphics/radiance/patches/patch-ag b/graphics/radiance/patches/patch-ag new file mode 100644 index 00000000000..25a62967415 --- /dev/null +++ b/graphics/radiance/patches/patch-ag @@ -0,0 +1,21 @@ +$NetBSD: patch-ag,v 1.1.1.1 2005/02/16 22:17:33 jschauma Exp $ + +--- ./src/gen/Rmakefile.orig 2005-02-15 14:30:45.000000000 -0500 ++++ ./src/gen/Rmakefile 2005-02-15 14:31:25.000000000 -0500 +@@ -5,13 +5,13 @@ + + OPT = -O + MACH = -DBSD +-CFLAGS = -I../common -L../lib $(OPT) $(MACH) ++CFLAGS += -I../common -L../lib $(OPT) $(MACH) ${LDFLAGS} + CC = cc + MLIB = -lm + +-INSTDIR = /usr/local/bin ++INSTDIR = @WRKSRC@/radiance/bin + +-LIBDIR = /usr/local/lib/ray ++LIBDIR = @WRKSRC@/raidance/lib + + PROGS = genbox gensky xform genblinds genrev genworm \ + gensurf genprism replmarks mkillum genclock diff --git a/graphics/radiance/patches/patch-ah b/graphics/radiance/patches/patch-ah new file mode 100644 index 00000000000..f65a040f291 --- /dev/null +++ b/graphics/radiance/patches/patch-ah @@ -0,0 +1,97 @@ +$NetBSD: patch-ah,v 1.1.1.1 2005/02/16 22:17:34 jschauma Exp $ + +--- src/hd/Rmakefile.orig 2004-10-27 19:23:47.000000000 -0400 ++++ src/hd/Rmakefile 2005-02-15 17:24:20.000000000 -0500 +@@ -7,16 +7,14 @@ + + OPT = -O + +-CFLAGS = -I../common -L../lib $(OPT) $(MACH) +- +-CC = cc ++CFLAGS += -I../common -L../lib $(OPT) $(MACH) ${LDFLAGS} + + SPECIAL = + +-INSTDIR = /usr/local/bin +-DEVDIR = $(INSTDIR)/dev ++INSTDIR = @WRKSRC@/radiance/bin ++DEVDIR = @WRKSRC@/radiance/dev + +-LIBDIR = /usr/local/lib/ray ++LIBDIR = @WRKSRC@/radiance/lib + + PROGS = rholo rhpict rhcopy genrhgrid rhoptimize rhinfo + +@@ -119,7 +117,7 @@ + rhd_qtree.o rhd_qtree2c.o holo.o + rm -f $(DEVDIR)/glx1.hdi + $(CC) $(CFLAGS) -o $(DEVDIR)/glx1.hdi rhd_glx1.o rhdisp.o rhdisp2.o \ +-viewbeams.o holo.o rhd_qtree.o rhd_qtree2c.o -lrt -lGLU -lGL -lX11 -lm ++viewbeams.o holo.o rhd_qtree.o rhd_qtree2c.o -lrt -lX11 -lm + + $(DEVDIR)/glx.hdi: rhd_glx0.o rhdisp.o rhdisp2.o viewbeams.o \ + sm_samp.o sm_qtree.o sm_stree.o sm_geom.o sm_list.o sm_del.o \ +@@ -127,7 +125,7 @@ + rm -f $(DEVDIR)/glx.hdi + $(CC) $(CFLAGS) -o $(DEVDIR)/glx.hdi rhd_glx0.o rhdisp.o rhdisp2.o \ + viewbeams.o holo.o sm_samp.o sm_qtree.o sm_stree.o sm_geom.o sm_list.o sm_del.o \ +-sm_ogl.o sm.o sm_usets.o -lrt -lGLU -lGL -lX11 -lm ++sm_ogl.o sm.o sm_usets.o -lrt -lX11 -lm + + $(DEVDIR)/glxo.hdi: rhd_glxo.o rhdisp.o rhdisp2.o viewbeams.o \ + sm_samp.o sm_qtree.o sm_stree.o sm_geom.o sm_list.o sm_del.o \ +@@ -135,7 +133,7 @@ + rm -f $(DEVDIR)/glxo.hdi + $(CC) $(CFLAGS) -o $(DEVDIR)/glxo.hdi rhd_glxo.o rhdisp.o rhdisp2.o \ + viewbeams.o holo.o sm_samp.o sm_qtree.o sm_stree.o sm_geom.o sm_list.o sm_del.o \ +-sm_ogl.o sm_usets.o sm.o rhdobj.o -lrgl -lrt -lGLU -lGL -lX11 -lm ++sm_ogl.o sm_usets.o sm.o rhdobj.o -lrgl -lrt -lX11 -lm + + $(DEVDIR)/glxs.hdi: rhd_glxs.o rhdisp.o rhdisp2.o viewbeams.o \ + sm_samp.o sm_qtree.o sm_stree.o sm_geom.o sm_list.o sm_del.o \ +@@ -143,7 +141,7 @@ + rm -f $(DEVDIR)/glxs.hdi + $(CC) $(CFLAGS) -o $(DEVDIR)/glxs.hdi rhd_glxs.o rhdisp.o rhdisp2.o \ + viewbeams.o holo.o sm_samp.o sm_qtree.o sm_stree.o sm_geom.o sm_list.o sm_del.o \ +-sm_ogl.o sm_usets.o sm.o -lrt -lGLU -lGL -lX11 -lXext -lm ++sm_ogl.o sm_usets.o sm.o -lrt -lX11 -lXext -lm + + $(DEVDIR)/glxso.hdi: rhd_glxso.o rhdisp.o rhdisp2.o viewbeams.o \ + sm_samp.o sm_qtree.o sm_stree.o sm_geom.o sm_list.o sm_del.o \ +@@ -152,30 +150,30 @@ + $(CC) $(CFLAGS) -o $(DEVDIR)/glxso.hdi rhd_glxso.o rhdisp.o rhdisp2.o \ + viewbeams.o holo.o sm_samp.o sm_qtree.o sm_stree.o sm_geom.o sm_list.o sm_del.o \ + sm_ogl.o sm_usets.o sm.o rhdobj.o \ +--lrgl -lrt -lGLU -lGL -lX11 -lXext -lm ++-lrgl -lrt -lX11 -lXext -lm + + $(DEVDIR)/ogl.hdi: rhd_ogl0.o rhdisp.o rhdisp2.o viewbeams.o \ + rhd_odraw.o rhd_geom.o holo.o + $(CC) $(CFLAGS) -o $(DEVDIR)/ogl.hdi rhd_ogl0.o rhdisp.o rhdisp2.o \ +-viewbeams.o holo.o rhd_odraw.o rhd_geom.o -lrgl -lrt -lGLU -lGL -lX11 -lm ++viewbeams.o holo.o rhd_odraw.o rhd_geom.o -lrgl -lrt -lX11 -lm + + $(DEVDIR)/oglo.hdi: rhd_oglo.o rhdisp.o rhdisp2.o viewbeams.o \ + rhd_odraw.o rhd_geom.o holo.o rhdobj.o + $(CC) $(CFLAGS) -o $(DEVDIR)/oglo.hdi rhd_oglo.o rhdisp.o \ + rhdisp2.o viewbeams.o holo.o rhd_odraw.o rhd_geom.o rhdobj.o \ +--lrgl -lrt -lGLU -lGL -lX11 -lm ++-lrgl -lrt -lX11 -lm + + $(DEVDIR)/ogls.hdi: rhd_ogls.o rhdisp.o rhdisp2.o viewbeams.o \ + rhd_odraw.o rhd_geom.o holo.o + $(CC) $(CFLAGS) -o $(DEVDIR)/ogls.hdi rhd_ogls.o rhdisp.o rhdisp2.o \ + viewbeams.o holo.o rhd_odraw.o rhd_geom.o \ +--lrgl -lrt -lGLU -lGL -lX11 -lXext -lm ++-lrgl -lrt -lX11 -lXext -lm + + $(DEVDIR)/oglso.hdi: rhd_oglso.o rhdisp.o rhdisp2.o viewbeams.o \ + rhd_odraw.o rhd_geom.o holo.o rhdobj.o + $(CC) $(CFLAGS) -o $(DEVDIR)/oglso.hdi rhd_oglso.o rhdisp.o rhdisp2.o \ + viewbeams.o holo.o rhd_odraw.o rhd_geom.o rhdobj.o \ +--lrgl -lrt -lGLU -lGL -lX11 -lXext -lm ++-lrgl -lrt -lX11 -lXext -lm + + rhd_glx0.o: rhd_glx.c + $(CC) $(CFLAGS) -c rhd_glx.c diff --git a/graphics/radiance/patches/patch-ai b/graphics/radiance/patches/patch-ai new file mode 100644 index 00000000000..7cd4525d9c9 --- /dev/null +++ b/graphics/radiance/patches/patch-ai @@ -0,0 +1,31 @@ +$NetBSD: patch-ai,v 1.1.1.1 2005/02/16 22:17:34 jschauma Exp $ + +--- src/meta/Rmakefile.orig 2003-10-21 22:15:07.000000000 -0400 ++++ src/meta/Rmakefile 2005-02-15 15:05:50.000000000 -0500 +@@ -5,14 +5,13 @@ + + OPT = -O + MACH = +-CC = cc + MLIB = -lm +-CFLAGS = -DMDIR=\"$(MLIBDIR)/\" $(OPT) $(MACH) -I../common -L../lib ++CFLAGS += -DMDIR=\"@PREFIX@/radiance/lib/meta/\" $(OPT) $(MACH) -I../common -L../lib ${LDFLAGS} + +-LIBDIR = /usr/local/lib ++LIBDIR = @WRKSRC@/radience/work.i386/ray/radiance/lib + MLIBDIR = $(LIBDIR)/meta + DESTDIR = . +-INSTDIR = /usr/local/bin ++INSTDIR = @WRKSRC@/radience/work.i386/ray/radiance/bin + + # target lists + common = mfio.o syscalls.o misc.o +@@ -130,7 +129,7 @@ + -ranlib ../lib/libmeta.a + + ../lib/lib4014.a: +- cd lib4014; make INSTDIR=../../lib "CFLAGS=$(OPT)" install clean ++ cd lib4014; /usr/bin/make INSTDIR=../../lib install clean + + $(DESTDIR)/bgraph: bgraph.o mgvars.o mgraph.o ../lib/libmeta.a + $(CC) $(CFLAGS) -o bgraph bgraph.o mgvars.o mgraph.o \ diff --git a/graphics/radiance/patches/patch-aj b/graphics/radiance/patches/patch-aj new file mode 100644 index 00000000000..b20f43afdd6 --- /dev/null +++ b/graphics/radiance/patches/patch-aj @@ -0,0 +1,21 @@ +$NetBSD: patch-aj,v 1.1.1.1 2005/02/16 22:17:34 jschauma Exp $ + +--- ./src/ot/Rmakefile.orig 2005-02-15 14:41:44.000000000 -0500 ++++ ./src/ot/Rmakefile 2005-02-15 14:42:54.000000000 -0500 +@@ -9,13 +9,12 @@ + + OPT = -O + MACH = -DBSD +-CFLAGS = -DSTRICT -I../common -L../lib $(OPT) $(MACH) +-CC = cc ++CFLAGS += -DSTRICT -I../common -L../lib $(OPT) $(MACH) ${LDFLAGS} + MLIB = -lm + +-LIBDIR = /usr/local/lib/ray ++LIBDIR = @WRKSRC@/radiance/lib + +-INSTDIR = /usr/local/bin ++INSTDIR = @WRKSRC@/radiance/bin + + PROGS = oconv getbbox obj2mesh + diff --git a/graphics/radiance/patches/patch-ak b/graphics/radiance/patches/patch-ak new file mode 100644 index 00000000000..e5bdee7b598 --- /dev/null +++ b/graphics/radiance/patches/patch-ak @@ -0,0 +1,39 @@ +$NetBSD: patch-ak,v 1.1.1.1 2005/02/16 22:17:34 jschauma Exp $ + +--- ./src/px/Rmakefile.orig 2005-02-15 14:42:54.000000000 -0500 ++++ ./src/px/Rmakefile 2005-02-15 14:43:53.000000000 -0500 +@@ -7,13 +7,12 @@ + OPT = -O + MACH = -DBSD + SPECIAL = aed +-CFLAGS = -I../common -L../lib $(OPT) $(MACH) +-CC = cc ++CFLAGS += -I../common -L../lib $(OPT) $(MACH) ${LDFLAGS} + MLIB = -lm + +-INSTDIR = /usr/local/bin ++INSTDIR = @WRKSRC@/radiance/bin + +-LIBDIR = /usr/local/lib/ray ++LIBDIR = @WRKSRC@/radiance/lib + + PIXAR_INCLUDE= -I/usr/pixar/include + PIXAR_LIB= -L/usr/pixar/host/lib -lpirl -lpicio -lchad -lpixar $(MLIB) +@@ -55,7 +54,7 @@ + clean: + set nonomatch; rm -f x10image aedimage glimage \ + $(PROGS) $(SPECIAL) *.o core +- -cd tiff; make distclean ++ -cd tiff; @MAKE@ distclean + + pfilt: pfilt.o pf2.o pf3.o + $(CC) $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o -lrt $(MLIB) +@@ -199,7 +198,7 @@ + ../lib/libtiff.a: tiff/config.local + cd tiff ; sh configure -quiet -noninteractive -with-CC=$(CC) \ + "-with-ENVOPTS=$(OPT)" ; \ +- cd libtiff ; make install ++ cd libtiff ; @MAKE@ install + + ra_pixar: ra_pixar.o ra_pixar.c + $(CC) $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o -lrt \ diff --git a/graphics/radiance/patches/patch-al b/graphics/radiance/patches/patch-al new file mode 100644 index 00000000000..64d77ca0b14 --- /dev/null +++ b/graphics/radiance/patches/patch-al @@ -0,0 +1,50 @@ +$NetBSD: patch-al,v 1.1.1.1 2005/02/16 22:17:34 jschauma Exp $ + +--- ./src/rt/Rmakefile.orig 2005-02-15 14:43:54.000000000 -0500 ++++ ./src/rt/Rmakefile 2005-02-15 14:52:48.000000000 -0500 +@@ -5,9 +5,8 @@ + + OPT = -O + MACH = -DBSD +-CFLAGS = -I../common -L../lib $(OPT) $(MACH) ++CFLAGS += -I../common -L../lib $(OPT) $(MACH) ${LDFLAGS} + SPECIAL = aed +-CC = cc + MLIB = -lm + LINT = lint + LINTFLAGS = -DBSD +@@ -16,21 +15,21 @@ + # The following are user-definable: + # + DESTDIR = . +-INSTDIR = /usr/local/bin ++INSTDIR = @WRKSRC@/radiance/bin + INSTALL = cp + + # + # The following paths must exist and be relative to root: + # +-DEVDIR = $(INSTDIR)/dev +-LIBDIR = /usr/local/lib/ray ++DEVDIR = @WRKSRC@/radiance/dev ++LIBDIR = @WRKSRC@/radiance/lib + + # + # Library routines: + # + RLIB = ../lib/libradiance.a + RCLIB = ../lib/libraycalls.a +-LIBS = -lrt $(MLIB) ++LIBS = -lrt $(MLIB) ${LDFLAGS} + + # + # Device drivers for rvu (see also devtable.c): +@@ -159,7 +158,7 @@ + # end of dispersion compiles. + + devcomm.o: devcomm.c +- $(CC) $(CFLAGS) -DDEVPATH=\"$(DEVDIR)\" -c devcomm.c ++ $(CC) $(CFLAGS) -DDEVPATH=\"@PREFIX@/radiance/dev\" -c devcomm.c + + aed.o: aed.c + $(CC) $(CFLAGS) -Daed_init=dinit -c aed.c diff --git a/graphics/radiance/patches/patch-am b/graphics/radiance/patches/patch-am new file mode 100644 index 00000000000..a01ad6f5879 --- /dev/null +++ b/graphics/radiance/patches/patch-am @@ -0,0 +1,32 @@ +$NetBSD: patch-am,v 1.1.1.1 2005/02/16 22:17:34 jschauma Exp $ + +--- src/util/Rmakefile.orig 2004-10-27 19:23:48.000000000 -0400 ++++ src/util/Rmakefile 2005-02-15 17:23:01.000000000 -0500 +@@ -7,15 +7,13 @@ + + OPT = -O + +-CFLAGS = -I../common -I../rt -L../lib $(OPT) $(MACH) +- +-CC = cc ++CFLAGS += -I../common -I../rt -L../lib $(OPT) $(MACH) ${LDFLAGS} + + SPECIAL = + +-INSTDIR = /usr/local/bin ++INSTDIR = @WRKSRC@/radiance/bin + +-LIBDIR = /usr/local/lib/ray ++LIBDIR = @WRKSRC@/radiance/lib + + PROGS = findglare glarendx rpiece rad ranimate ranimove vwright getinfo \ + vwrays xglaresrc +@@ -96,7 +94,7 @@ + $(CC) $(CFLAGS) -o getinfo getinfo.o -lrt + + glrad: glrad.o +- $(CC) $(CFLAGS) -o glrad glrad.o -lrgl -lrt -lGLU -lGL \ ++ $(CC) $(CFLAGS) -o glrad glrad.o -lrgl -lrt \ + -lX11 -lXext -lm + + contour: contour.o diff --git a/graphics/radiance/patches/patch-an b/graphics/radiance/patches/patch-an new file mode 100644 index 00000000000..1e07e64ef4a --- /dev/null +++ b/graphics/radiance/patches/patch-an @@ -0,0 +1,14 @@ +$NetBSD: patch-an,v 1.1.1.1 2005/02/16 22:17:34 jschauma Exp $ + +--- src/cv/mgflib/Makefile.orig 2005-02-15 15:16:48.000000000 -0500 ++++ src/cv/mgflib/Makefile 2005-02-15 15:17:06.000000000 -0500 +@@ -6,8 +6,7 @@ + # Use '-DMEM_PTR=char *' if your malloc return type is not 'void *'. + MACH = + OPT = -O +-CFLAGS = $(MACH) $(OPT) +-CC = cc ++CFLAGS += $(MACH) $(OPT) ${LDFLAGS} + + OBJS = parser.o context.o xf.o object.o lookup.o badarg.o \ + words.o fvect.o diff --git a/graphics/radiance/patches/patch-ao b/graphics/radiance/patches/patch-ao new file mode 100644 index 00000000000..8b05a740e3e --- /dev/null +++ b/graphics/radiance/patches/patch-ao @@ -0,0 +1,13 @@ +$NetBSD: patch-ao,v 1.1.1.1 2005/02/16 22:17:34 jschauma Exp $ + +--- ./src/meta/lib4014/Makefile.orig 2005-02-15 15:19:23.000000000 -0500 ++++ ./src/meta/lib4014/Makefile 2005-02-15 15:19:39.000000000 -0500 +@@ -1,6 +1,6 @@ + # +-CFLAGS= -O +-INSTDIR=/usr/local/lib ++CFLAGS+= -O ++INSTDIR=@WRKSRC/radiance/lib + + OBJS= arc.o box.o circle.o close.o dot.o erase.o label.o \ + line.o linemod.o move.o open.o point.o space.o subr.o diff --git a/graphics/radiance/patches/patch-ap b/graphics/radiance/patches/patch-ap new file mode 100644 index 00000000000..fa4d7627ffe --- /dev/null +++ b/graphics/radiance/patches/patch-ap @@ -0,0 +1,114 @@ +$NetBSD: patch-ap,v 1.1.1.1 2005/02/16 22:17:34 jschauma Exp $ + +--- ./src/px/tiff/contrib/acorn/Makefile.orig 2005-02-15 15:19:56.000000000 -0500 ++++ ./src/px/tiff/contrib/acorn/Makefile 2005-02-15 15:20:54.000000000 -0500 +@@ -92,74 +92,74 @@ + + # Static dependencies: + @.o.tif_acorn: @.c.tif_acorn +- cc $(ccflags) -o @.o.tif_acorn @.c.tif_acorn ++ ${CC} $(ccflags) -o @.o.tif_acorn @.c.tif_acorn + @.o.tif_aux: @.c.tif_aux +- cc $(ccflags) -o @.o.tif_aux @.c.tif_aux ++ ${CC} $(ccflags) -o @.o.tif_aux @.c.tif_aux + @.o.tif_close: @.c.tif_close +- cc $(ccflags) -o @.o.tif_close @.c.tif_close ++ ${CC} $(ccflags) -o @.o.tif_close @.c.tif_close + @.o.tif_codec: @.c.tif_codec +- cc $(ccflags) -o @.o.tif_codec @.c.tif_codec ++ ${CC} $(ccflags) -o @.o.tif_codec @.c.tif_codec + @.o.tif_compress: @.c.tif_compress +- cc $(ccflags) -o @.o.tif_compress @.c.tif_compress ++ ${CC} $(ccflags) -o @.o.tif_compress @.c.tif_compress + @.o.tif_dir: @.c.tif_dir +- cc $(ccflags) -o @.o.tif_dir @.c.tif_dir ++ ${CC} $(ccflags) -o @.o.tif_dir @.c.tif_dir + @.o.tif_dirinfo: @.c.tif_dirinfo +- cc $(ccflags) -o @.o.tif_dirinfo @.c.tif_dirinfo ++ ${CC} $(ccflags) -o @.o.tif_dirinfo @.c.tif_dirinfo + @.o.tif_dirread: @.c.tif_dirread +- cc $(ccflags) -o @.o.tif_dirread @.c.tif_dirread ++ ${CC} $(ccflags) -o @.o.tif_dirread @.c.tif_dirread + @.o.tif_dirwrite: @.c.tif_dirwrite +- cc $(ccflags) -o @.o.tif_dirwrite @.c.tif_dirwrite ++ ${CC} $(ccflags) -o @.o.tif_dirwrite @.c.tif_dirwrite + @.o.tif_dumpmode: @.c.tif_dumpmode +- cc $(ccflags) -o @.o.tif_dumpmode @.c.tif_dumpmode ++ ${CC} $(ccflags) -o @.o.tif_dumpmode @.c.tif_dumpmode + @.o.tif_error: @.c.tif_error +- cc $(ccflags) -o @.o.tif_error @.c.tif_error ++ ${CC} $(ccflags) -o @.o.tif_error @.c.tif_error + @.o.tif_fax3: @.c.tif_fax3 +- cc $(ccflags) -o @.o.tif_fax3 @.c.tif_fax3 ++ ${CC} $(ccflags) -o @.o.tif_fax3 @.c.tif_fax3 + @.o.tif_flush: @.c.tif_flush +- cc $(ccflags) -o @.o.tif_flush @.c.tif_flush ++ ${CC} $(ccflags) -o @.o.tif_flush @.c.tif_flush + @.o.tif_getimage: @.c.tif_getimage +- cc $(ccflags) -o @.o.tif_getimage @.c.tif_getimage ++ ${CC} $(ccflags) -o @.o.tif_getimage @.c.tif_getimage + @.o.tif_jpeg: @.c.tif_jpeg +- cc $(ccflags) -o @.o.tif_jpeg @.c.tif_jpeg ++ ${CC} $(ccflags) -o @.o.tif_jpeg @.c.tif_jpeg + @.o.tif_lzw: @.c.tif_lzw +- cc $(ccflags) -o @.o.tif_lzw @.c.tif_lzw ++ ${CC} $(ccflags) -o @.o.tif_lzw @.c.tif_lzw + @.o.tif_next: @.c.tif_next +- cc $(ccflags) -o @.o.tif_next @.c.tif_next ++ ${CC} $(ccflags) -o @.o.tif_next @.c.tif_next + @.o.tif_open: @.c.tif_open +- cc $(ccflags) -o @.o.tif_open @.c.tif_open ++ ${CC} $(ccflags) -o @.o.tif_open @.c.tif_open + @.o.tif_packbits: @.c.tif_packbits +- cc $(ccflags) -o @.o.tif_packbits @.c.tif_packbits ++ ${CC} $(ccflags) -o @.o.tif_packbits @.c.tif_packbits + @.o.tif_predict: @.c.tif_predict +- cc $(ccflags) -o @.o.tif_predict @.c.tif_predict ++ ${CC} $(ccflags) -o @.o.tif_predict @.c.tif_predict + @.o.tif_print: @.c.tif_print +- cc $(ccflags) -o @.o.tif_print @.c.tif_print ++ ${CC} $(ccflags) -o @.o.tif_print @.c.tif_print + @.o.tif_read: @.c.tif_read +- cc $(ccflags) -o @.o.tif_read @.c.tif_read ++ ${CC} $(ccflags) -o @.o.tif_read @.c.tif_read + @.o.tif_strip: @.c.tif_strip +- cc $(ccflags) -o @.o.tif_strip @.c.tif_strip ++ ${CC} $(ccflags) -o @.o.tif_strip @.c.tif_strip + @.o.tif_swab: @.c.tif_swab +- cc $(ccflags) -o @.o.tif_swab @.c.tif_swab ++ ${CC} $(ccflags) -o @.o.tif_swab @.c.tif_swab + @.o.tif_thunder: @.c.tif_thunder +- cc $(ccflags) -o @.o.tif_thunder @.c.tif_thunder ++ ${CC} $(ccflags) -o @.o.tif_thunder @.c.tif_thunder + @.o.tif_tile: @.c.tif_tile +- cc $(ccflags) -o @.o.tif_tile @.c.tif_tile ++ ${CC} $(ccflags) -o @.o.tif_tile @.c.tif_tile + @.o.tif_version: @.c.tif_version +- cc $(ccflags) -o @.o.tif_version @.c.tif_version ++ ${CC} $(ccflags) -o @.o.tif_version @.c.tif_version + @.o.tif_warning: @.c.tif_warning +- cc $(ccflags) -o @.o.tif_warning @.c.tif_warning ++ ${CC} $(ccflags) -o @.o.tif_warning @.c.tif_warning + @.o.tif_write: @.c.tif_write +- cc $(ccflags) -o @.o.tif_write @.c.tif_write ++ ${CC} $(ccflags) -o @.o.tif_write @.c.tif_write + @.o.tif_zip: @.c.tif_zip +- cc $(ccflags) -o @.o.tif_zip @.c.tif_zip ++ ${CC} $(ccflags) -o @.o.tif_zip @.c.tif_zip + @.o.mkg3states: @.c.mkg3states +- cc $(ccflags) -o @.o.mkg3states @.c.mkg3states ++ ${CC} $(ccflags) -o @.o.mkg3states @.c.mkg3states + @.o.getopt: @.c.getopt +- cc $(ccflags) -o @.o.getopt @.c.getopt ++ ${CC} $(ccflags) -o @.o.getopt @.c.getopt + @.o.mkspans: @.c.mkspans +- cc $(ccflags) -o @.o.mkspans @.c.mkspans ++ ${CC} $(ccflags) -o @.o.mkspans @.c.mkspans + @.o.tif_fax3sm: @.c.tif_fax3sm +- cc $(ccflags) -o @.o.tif_fax3sm @.c.tif_fax3sm ++ ${CC} $(ccflags) -o @.o.tif_fax3sm @.c.tif_fax3sm + @.o.mkversion: @.c.mkversion +- cc $(ccflags) -o @.o.mkversion @.c.mkversion ++ ${CC} $(ccflags) -o @.o.mkversion @.c.mkversion + + # Dynamic dependencies: diff --git a/graphics/radiance/patches/patch-aq b/graphics/radiance/patches/patch-aq new file mode 100644 index 00000000000..479377dfbf7 --- /dev/null +++ b/graphics/radiance/patches/patch-aq @@ -0,0 +1,16 @@ +$NetBSD: patch-aq,v 1.1.1.1 2005/02/16 22:17:34 jschauma Exp $ + +--- ./src/px/tiff/contrib/addtiffo/Makefile.orig 2005-02-15 15:19:59.000000000 -0500 ++++ ./src/px/tiff/contrib/addtiffo/Makefile 2005-02-15 15:22:05.000000000 -0500 +@@ -4,9 +4,8 @@ + # + LIBTIFF_DIR = ../../libtiff + # +-CC = gcc +-CFLAGS = -O -I$(LIBTIFF_DIR) +-LIBS = $(LIBTIFF_DIR)/libtiff.a -lm ++CFLAGS += -O -I$(LIBTIFF_DIR) ++LIBS = $(LIBTIFF_DIR)/libtiff.a -lm ${LDFLAGS} + + addtiffo: addtiffo.o tif_overview.o tif_ovrcache.o + $(CXX) $(CFLAGS) addtiffo.o tif_overview.o tif_ovrcache.o \ diff --git a/graphics/radiance/patches/patch-ar b/graphics/radiance/patches/patch-ar new file mode 100644 index 00000000000..a871cd5e149 --- /dev/null +++ b/graphics/radiance/patches/patch-ar @@ -0,0 +1,10 @@ +$NetBSD: patch-ar,v 1.1.1.1 2005/02/16 22:17:34 jschauma Exp $ + +--- ./src/px/tiff/contrib/iptcutil/Makefile.orig 2005-02-15 15:20:03.000000000 -0500 ++++ ./src/px/tiff/contrib/iptcutil/Makefile 2005-02-15 15:22:28.000000000 -0500 +@@ -1,5 +1,3 @@ +-CC=gcc +-CFLAGS= + iptcutil: iptcutil.c + $(CC) $(CFLAGS) -o iptcutil iptcutil.c + |