2001-12-06 09:05:09 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: ray++
|
|
|
|
# Date created: Dec 6, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ray++
|
|
|
|
PORTVERSION= 0.4
|
2004-02-04 06:21:48 +01:00
|
|
|
PORTREVISION= 1
|
2001-12-06 09:05:09 +01:00
|
|
|
CATEGORIES= graphics
|
2005-02-24 03:57:34 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= raypp
|
2001-12-06 09:05:09 +01:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:08:19 +01:00
|
|
|
COMMENT= A collection of C++ classes needed for ray tracing
|
2001-12-06 09:05:09 +01:00
|
|
|
|
2003-10-29 04:09:29 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --enable-shared --enable-fast-handles
|
|
|
|
USE_GMAKE= yes
|
2006-08-15 01:06:39 +02:00
|
|
|
USE_LDCONFIG= yes
|
2003-10-29 04:09:29 +01:00
|
|
|
|
2003-10-28 23:23:37 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-02-23 06:30:17 +01:00
|
|
|
.if ${ARCH} != "i386"
|
|
|
|
BROKEN= "Does not compile on !i386"
|
|
|
|
.endif
|
|
|
|
|
2007-07-02 21:01:04 +02:00
|
|
|
.if ${OSVERSION} >= 700042
|
|
|
|
BROKEN= Does not compile with GCC 4.2
|
|
|
|
.endif
|
|
|
|
|
2003-11-21 12:35:04 +01:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e "s,-pedantic,," ${WRKSRC}/configure
|
2003-10-28 23:23:37 +01:00
|
|
|
|
2001-12-06 09:05:09 +01:00
|
|
|
do-install:
|
|
|
|
@(cd ${WRKSRC} ; \
|
2001-12-06 10:47:33 +01:00
|
|
|
${INSTALL_DATA} ray++.so ${PREFIX}/lib ; \
|
2004-01-22 13:18:43 +01:00
|
|
|
${FIND} * -name "*.h" | ${CPIO} -pdum ${PREFIX}/include/${PORTNAME}; \
|
2001-12-06 09:05:09 +01:00
|
|
|
${CHMOD} -R 755 ${PREFIX}/include/${PORTNAME} )
|
|
|
|
|
2003-10-28 23:23:37 +01:00
|
|
|
.include <bsd.port.post.mk>
|