1998-05-26 04:04:19 +00:00
|
|
|
# New ports collection makefile for: rayshade
|
|
|
|
# Date created: 21 January 1998
|
|
|
|
# Whom: giffunip@asme.org
|
|
|
|
#
|
1999-08-25 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1998-05-26 04:04:19 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 10:48:02 +00:00
|
|
|
PORTNAME= rayshade
|
|
|
|
PORTVERSION= 4.0
|
1998-05-26 04:04:19 +00:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ftp://graphics.stanford.edu/pub/rayshade/ \
|
|
|
|
ftp://ftp.princeton.edu/pub/Graphics/rayshade.4.0/
|
2000-04-14 10:48:02 +00:00
|
|
|
DISTNAME= ${PORTNAME}.${PORTVERSION}
|
1998-05-26 04:04:19 +00:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
2001-01-16 17:33:20 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1998-05-26 04:04:19 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS= $(LOCALBASE)/lib/librle.a:${PORTSDIR}/graphics/urt
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2000-02-27 14:57:34 +00:00
|
|
|
.include <bsd.port.mk>
|