summaryrefslogtreecommitdiff
path: root/graphics/radiance/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/radiance/Makefile')
-rw-r--r--graphics/radiance/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/graphics/radiance/Makefile b/graphics/radiance/Makefile
index 995abbfd85b..ec2e72922d5 100644
--- a/graphics/radiance/Makefile
+++ b/graphics/radiance/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2005/02/16 23:20:24 jschauma Exp $
+# $NetBSD: Makefile,v 1.3 2005/02/17 00:38:37 jschauma Exp $
#
DISTNAME= rad3R6P1
@@ -33,8 +33,13 @@ PATCHEES= makeall ./src/rt/Rmakefile ./src/util/Rmakefile \
.if ${OPSYS} == "NetBSD"
PKGSRC_ARCH= 9
+PLIST_SUBST+= USE_GL="@comment "
.elif ${OPSYS} == "FreeBSD"
PKGSRC_ARCH= 8
+PLIST_SUBST+= USE_GL="@comment "
+.elif ${OPSYS} == "IRIX"
+PKGSRC_ARCH= 3
+PLIST_SUBST+= USE_GL=""
.endif
MAKE_ENV+= MV="${MV}" RM="${RM}" CP="${CP}" \
@@ -52,15 +57,19 @@ do-configure:
${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
+ @${RM} -f ${WRKSRC}/radiance/bin/wish*
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