1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/graphics/rayshade/Makefile
Justin M. Seger 23752ca3ed Mark BROKEN for ELF:
bray/libray.a /usr/local/lib/librle.a -lm
../libshade/libshade.a(setup.o): In function `RSSetup':
setup.o(.text+0x2bf): undefined reference to `SurfPush'
../libshade/libshade.a(shade.o): In function `ShadeRay':
shade.o(.text+0xb7): undefined reference to `ComputeSurfProps'
shade.o(.text+0x115): undefined reference to `Atmospherics'
../libshade/libshade.a(shade.o): In function `TransmitRay':
shade.o(.text+0x714): undefined reference to `MediumPush'
../libshade/libshade.a(yacc.o): In function `yyparse':
yacc.o(.text+0x1942): undefined reference to `SurfaceCopy'
yacc.o(.text+0x196a): undefined reference to `SurfaceCopy'
yacc.o(.text+0x199c): undefined reference to `SurfaceCopy'
and about 20 more lines of similar errors
1998-10-12 04:05:33 +00:00

43 lines
1.2 KiB
Makefile

# New ports collection makefile for: rayshade
# Version required: 4.0
# Date created: 21 January 1998
# Whom: giffunip@asme.org
#
# $Id: Makefile,v 1.1.1.1 1998/05/26 04:04:11 mph Exp $
#
DISTNAME= rayshade.4.0
PKGNAME= rayshade-4.0
CATEGORIES= graphics
MASTER_SITES= ftp://graphics.stanford.edu/pub/rayshade/ \
ftp://ftp.princeton.edu/pub/Graphics/rayshade.4.0/
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.ORG
BUILD_DEPENDS= $(LOCALBASE)/lib/librle.a:${PORTSDIR}/graphics/urt
BROKEN_ELF= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
CONFIGURE_ARGS+= < ${WRKDIR}/config.ans
ALL_TARGET=
pre-configure:
$(SED) -e "s,@CFLAGS@,${CFLAGS}," < ${FILESDIR}/config.ans > \
${WRKDIR}/config.ans
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) $(PREFIX)/share/examples/rayshade
$(INSTALL_DATA) $(WRKSRC)/Examples/* $(PREFIX)/share/examples/rayshade
.include <bsd.port.mk>