aboutsummaryrefslogtreecommitdiff
path: root/graphics/aqsis/Makefile
blob: b59ee925a92e10680b188f1d8afb7578acd4038b (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
44
45
46
47
48
49
# ex:ts=8
# Ports collection Makefile for:	aqsis
# Date created:			Sep 12, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	aqsis
PORTVERSION=	1.6.0
CATEGORIES=	graphics
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-source/${PORTVERSION}

MAINTAINER=	gahr@FreeBSD.org
COMMENT=	A photorealistic rendering system

LIB_DEPENDS=	IlmImf.6:${PORTSDIR}/graphics/OpenEXR \
		boost_filesystem.4:${PORTSDIR}/devel/boost-libs \
		tiff.4:${PORTSDIR}/graphics/tiff \

BUILD_DEPENDS=	bison:${PORTSDIR}/devel/bison \
		xsltproc:${PORTSDIR}/textproc/libxslt \
		fltk-threads>=0:${PORTSDIR}/x11-toolkits/fltk-threads

LDFLAGS+=	-L${LOCALBASE}/lib

USE_LDCONFIG=	yes
USE_CMAKE=	yes
CMAKE_USE_PTHREAD=	yes

INSTALLS_ICONS=	yes

# Required for off-source building
CMAKE_BUILD_PATH=	${WRKSRC}/build
CMAKE_SOURCE_PATH=	${WRKSRC}/
CONFIGURE_WRKSRC=	${CMAKE_BUILD_PATH}
BUILD_WRKSRC=		${CMAKE_BUILD_PATH}
INSTALL_WRKSRC=		${CMAKE_BUILD_PATH}

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 700000
BROKEN=		does not compile on 6.X
.endif

post-extract:
	${MKDIR} ${CMAKE_BUILD_PATH}

.include <bsd.port.post.mk>