aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/rayshade/Makefile
blob: 0c04cac46ce8c655b1175f7484cf500c714e0b2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:    rayshade
# Version required: 4.0
# Date created:     21 January 1998
# Whom:         giffunip@asme.org
#
# $FreeBSD$
#

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
BROKEN=     build

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>