summaryrefslogtreecommitdiff
path: root/graphics/ray++/Makefile
blob: 9d490569ec87291cebacd5f822c02f35178531b4 (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
# ex:ts=8
# New ports collection makefile for:	ray++
# Date created:			Dec 6, 2001
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	ray++
PORTVERSION=	0.4
CATEGORIES=	graphics
MASTER_SITES=	http://www.mpa-garching.mpg.de/~martin/ray++/download/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A collection of C++ classes needed for ray tracing

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-shared --enable-fast-handles
USE_GMAKE=	yes
INSTALLS_SHLIB=	yes
USE_REINPLACE=	yes

.include <bsd.port.pre.mk>

post-patch:
	${REINPLACE_CMD} -e "s,-pedantic,," ${WRKSRC}/configure

do-install:
	@(cd ${WRKSRC} ; \
	  ${INSTALL_DATA} ray++.so ${PREFIX}/lib ; \
	  ${FIND} * -name "*.h" | ${CPIO} -pdum ${PREFIX}/include/${PORTNAME}; \
	  ${CHMOD} -R 755 ${PREFIX}/include/${PORTNAME} )

.include <bsd.port.post.mk>