freebsd-ports/graphics/aqsis/Makefile
Jan Beich a8713d15f4 devel/boost-*: update to 1.62.0
- Enable `long double` C99 math usage
- Switch 9.x back to building with GCC

Changes:	http://www.boost.org/users/history/
PR:		199601
Submitted by:	Chen Xu, bapt, amdmi3, truckman (based on)
Reviewed by:	rakuco (kde) (earlier version)
Exp-run by:	antoine (3 tries), truckman (consumers only, earlier versions)
Approved by:	bapt (office)
2016-11-23 12:45:46 +00:00

53 lines
1.3 KiB
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= aqsis
PORTVERSION= 1.8.2
PORTREVISION= 11
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+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
USES= cmake:outsource desktop-file-utils shared-mime-info shebangfix
SHEBANG_FILES= examples/*/*/*.sh \
tools/neqsus/houdini/post.sh \
distribution/linux/*.sh
USE_QT4= 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>