1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/graphics/aqsis/Makefile
Baptiste Daroussin 4650a910d0 Chase boost and icu bump
While here convert some LIB_DEPENDS
2014-02-07 11:44:08 +00:00

47 lines
1.1 KiB
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= aqsis
PORTVERSION= 1.8.2
PORTREVISION= 6
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/${PORTVERSION}
MAINTAINER= gahr@FreeBSD.org
COMMENT= Photorealistic rendering system
LICENSE= BSD 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
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
USES= cmake:outsource desktop-file-utils shared-mime-info
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>