freebsd-ports/graphics/aqsis/Makefile

51 lines
1.3 KiB
Makefile
Raw Normal View History

2013-01-31 14:38:42 +01:00
# Created by: ijliao
# $FreeBSD$
PORTNAME= aqsis
PORTVERSION= 1.8.2
PORTREVISION= 10
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/${PORTVERSION}
2014-12-10 23:29:14 +01:00
MAINTAINER= ports@FreeBSD.org
COMMENT= Photorealistic rendering system
2014-07-04 14:51:51 +02:00
LICENSE= BSD3CLAUSE GPLv2
LICENSE_COMB= multi
BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison \
xsltproc:${PORTSDIR}/textproc/libxslt
LIB_DEPENDS= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \
libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \
libtiff.so:${PORTSDIR}/graphics/tiff
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
2008-08-21 19:37:25 +02:00
LDFLAGS+= -L${LOCALBASE}/lib
2008-08-21 19:37:25 +02:00
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
2008-08-21 19:37:25 +02: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
.include <bsd.port.mk>