blob: 1e5362fc8ef7dc98632b23b111e55197d4afd108 (
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
50
51
52
53
54
55
|
# Created by: ijliao
# $FreeBSD$
PORTNAME= aqsis
PORTVERSION= 1.8.2
PORTREVISION= 21
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Photorealistic rendering system
LICENSE= BSD3CLAUSE GPLv2
LICENSE_COMB= multi
BUILD_DEPENDS= bison:devel/bison \
xsltproc:textproc/libxslt
LIB_DEPENDS= libIlmImf.so:graphics/openexr \
libboost_filesystem.so:devel/boost-libs \
libtiff.so:graphics/tiff
RUN_DEPENDS= bash:shells/bash
BROKEN_sparc64= Fails to build: cannot link with boost
LDFLAGS+= -lpthread # Boost.Thread 1.67+
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
USES= cmake:outsource compiler:c++11-lib desktop-file-utils \
qt:4 shared-mime-info shebangfix
USE_CXXSTD= gnu++11
SHEBANG_FILES= examples/*/*/*.sh \
tools/neqsus/houdini/post.sh \
distribution/linux/*.sh
USE_QT= opengl qmake_build moc_build rcc_build uic_build
PLIST_SUB+= LIBVERS=${PORTVERSION:R}
INSTALLS_ICONS= yes
OPTIONS_DEFINE= EXAMPLES
PORTEXAMPLES= *
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|examples_install_dir $${EXAMPLESDIR}|examples_install_dir ${PREFIX}/share/examples/${PORTNAME}|' \
${WRKSRC}/examples/CMakeLists.txt
.if !${PORT_OPTIONS:MEXAMPLES}
@${REINPLACE_CMD} -i '' -e '/add_subdirectory(examples)/d' \
${WRKSRC}/CMakeLists.txt
.endif
.include <bsd.port.mk>
|