1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-07 02:06:57 +00:00
freebsd-ports/graphics/aqsis/Makefile
Tobias C. Berner 707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00

59 lines
1.4 KiB
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= aqsis
PORTVERSION= 1.8.2
PORTREVISION= 23
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Photorealistic rendering system
LICENSE= BSD3CLAUSE GPLv2
LICENSE_COMB= multi
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE= 2019-03-15
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 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>