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
|
2014-12-08 17:48:38 +01:00
|
|
|
PORTREVISION= 9
|
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
|
|
|
|
2008-02-21 22:20:01 +01:00
|
|
|
MAINTAINER= gahr@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
|
|
|
|
|
|
|
|
BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison \
|
|
|
|
xsltproc:${PORTSDIR}/textproc/libxslt
|
2013-10-31 01:32:31 +01:00
|
|
|
LIB_DEPENDS= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \
|
|
|
|
libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \
|
|
|
|
libtiff.so:${PORTSDIR}/graphics/tiff
|
2010-01-03 13:23:15 +01:00
|
|
|
|
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
|
2013-10-31 01:32:31 +01:00
|
|
|
USES= cmake:outsource desktop-file-utils shared-mime-info
|
2012-06-06 08:44:37 +02:00
|
|
|
USE_QT4= 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>
|