1fb0ae7cf9
While here, fix libIlmImfUtil_la_LDFLAGp so that when linking libIlmImfUtil, the locally built libIlmImf gets precedence over the one in /usr/local, to permit upgrades in a running system with the older version installed. This changes the library's SONAME, so bump PORTREVISION of all dependees. Unfortunately, this looks a bit too intrusive for an MFH to 2017Q4. Security: CVE-2017-9110 Security: CVE-2017-9111 Security: CVE-2017-9112 Security: CVE-2017-9113 Security: CVE-2017-9114 Security: CVE-2017-9115 Security: CVE-2017-9116 Security: 803879e9-4195-11e7-9b08-080027ef73ec
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= aqsis
|
|
PORTVERSION= 1.8.2
|
|
PORTREVISION= 16
|
|
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 compiler:c++11-lib desktop-file-utils \
|
|
shared-mime-info shebangfix
|
|
USE_CXXSTD= gnu++11
|
|
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>
|