Update devel/devhelp to version 3.14.0
[dports.git] / graphics / aqsis / Makefile
1 # Created by: ijliao
2 # $FreeBSD$
3
4 PORTNAME=       aqsis
5 PORTVERSION=    1.8.2
6 PORTREVISION=   8
7 CATEGORIES=     graphics
8 MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}-source/${PORTVERSION}
9
10 MAINTAINER=     gahr@FreeBSD.org
11 COMMENT=        Photorealistic rendering system
12
13 LICENSE=        BSD3CLAUSE GPLv2
14 LICENSE_COMB=   multi
15
16 BUILD_DEPENDS=  bison:${PORTSDIR}/devel/bison \
17                 xsltproc:${PORTSDIR}/textproc/libxslt
18 LIB_DEPENDS=    libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \
19                 libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \
20                 libtiff.so:${PORTSDIR}/graphics/tiff
21
22 LDFLAGS+=       -L${LOCALBASE}/lib
23
24 USE_LDCONFIG=   yes
25 USES=           cmake:outsource desktop-file-utils shared-mime-info
26 USE_QT4=        opengl qmake_build moc_build rcc_build uic_build
27 PLIST_SUB+=     LIBVERS=${PORTVERSION:R}
28
29 INSTALLS_ICONS= yes
30
31 OPTIONS_DEFINE= EXAMPLES
32
33 PORTEXAMPLES=   *
34
35 .include <bsd.port.options.mk>
36
37 post-patch:
38         @${REINPLACE_CMD} -e 's|examples_install_dir $${EXAMPLESDIR}|examples_install_dir ${PREFIX}/share/examples/${PORTNAME}|' \
39                 ${WRKSRC}/examples/CMakeLists.txt
40
41 .if !${PORT_OPTIONS:MEXAMPLES}
42         @${REINPLACE_CMD} -i '' -e '/add_subdirectory(examples)/d' \
43                 ${WRKSRC}/CMakeLists.txt
44 .endif
45
46 .include <bsd.port.mk>