2013-01-31 14:38:42 +01:00
|
|
|
# Created by: ijliao
|
2002-09-13 09:50:12 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= aqsis
|
2012-08-30 18:59:29 +02:00
|
|
|
PORTVERSION= 1.8.2
|
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
2018-12-12 02:35:33 +01:00
|
|
|
PORTREVISION= 23
|
2002-09-13 09:50:12 +02:00
|
|
|
CATEGORIES= graphics
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/${PORTVERSION}
|
2002-09-13 09:50:12 +02:00
|
|
|
|
2014-12-10 23:29:14 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-10-31 01:32:31 +01:00
|
|
|
COMMENT= Photorealistic rendering system
|
2002-09-13 09:50:12 +02:00
|
|
|
|
2014-07-04 14:51:51 +02:00
|
|
|
LICENSE= BSD3CLAUSE GPLv2
|
2012-03-08 08:59:06 +01:00
|
|
|
LICENSE_COMB= multi
|
|
|
|
|
2018-12-02 16:41:47 +01:00
|
|
|
DEPRECATED= Qt4 has been EOL since december 2015
|
|
|
|
EXPIRATION_DATE= 2019-03-15
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
BUILD_DEPENDS= bison:devel/bison \
|
|
|
|
xsltproc:textproc/libxslt
|
2018-09-22 12:15:22 +02:00
|
|
|
LIB_DEPENDS= libIlmImf.so:graphics/openexr \
|
2016-04-01 16:00:51 +02:00
|
|
|
libboost_filesystem.so:devel/boost-libs \
|
|
|
|
libtiff.so:graphics/tiff
|
|
|
|
RUN_DEPENDS= bash:shells/bash
|
2010-01-03 13:23:15 +01:00
|
|
|
|
2016-09-18 13:54:53 +02:00
|
|
|
BROKEN_sparc64= Fails to build: cannot link with boost
|
|
|
|
|
2018-04-17 09:57:33 +02:00
|
|
|
LDFLAGS+= -lpthread # Boost.Thread 1.67+
|
2008-08-21 19:37:25 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2007-12-14 20:08:25 +01:00
|
|
|
|
2008-08-21 19:37:25 +02:00
|
|
|
USE_LDCONFIG= yes
|
2018-12-25 21:25:39 +01:00
|
|
|
USES= cmake compiler:c++11-lib desktop-file-utils \
|
2018-06-28 19:39:53 +02:00
|
|
|
qt:4 shared-mime-info shebangfix
|
2017-09-25 02:05:32 +02:00
|
|
|
USE_CXXSTD= gnu++11
|
2015-06-09 18:37:37 +02:00
|
|
|
SHEBANG_FILES= examples/*/*/*.sh \
|
|
|
|
tools/neqsus/houdini/post.sh \
|
|
|
|
distribution/linux/*.sh
|
2018-06-28 19:39:53 +02:00
|
|
|
USE_QT= opengl qmake_build moc_build rcc_build uic_build
|
2012-03-08 08:59:06 +01:00
|
|
|
PLIST_SUB+= LIBVERS=${PORTVERSION:R}
|
2010-01-03 13:23:15 +01:00
|
|
|
|
|
|
|
INSTALLS_ICONS= yes
|
2008-08-21 19:37:25 +02:00
|
|
|
|
2013-10-31 01:32:31 +01:00
|
|
|
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
|
|
|
|
|
2013-06-11 16:47:02 +02:00
|
|
|
.include <bsd.port.mk>
|