Update multimedia/assimp to version 3.0_3
[dports.git] / multimedia / assimp / Makefile
1 # Created by: Yuri <yuri@tsoft.com>
2 # $FreeBSD$
3
4 PORTNAME=       assimp
5 PORTVERSION=    3.0
6 PORTREVISION=   3
7 CATEGORIES=     multimedia
8 MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
9 MASTER_SITE_SUBDIR=     ${PORTNAME}/${PORTNAME}-3.0
10 DISTNAME=       ${PORTNAME}--${PORTVERSION}.1270-source-only
11
12 MAINTAINER=     yuri@tsoft.com
13 COMMENT=        Library to import various 3D model formats in a uniform manner
14
15 LICENSE=        BSD
16
17 LIB_DEPENDS=    libboost_filesystem.so:${PORTSDIR}/devel/boost-libs
18
19 USE_ZIP=        yes
20 USES=           cmake pkgconfig
21 USE_GCC=        yes     # GCC 4.2 causes compiler warnings
22 USE_LDCONFIG=   yes
23
24 # CMAKE_ARGS instructs cmake to skip runtime path removal during install
25 CMAKE_ARGS+=    "-DCMAKE_SKIP_RPATH=ON"
26
27 post-patch:
28         @${REINPLACE_CMD} 's|$${LIB_INSTALL_DIR}/pkgconfig|libdata/pkgconfig|' \
29                 ${WRKSRC}/CMakeLists.txt
30
31 .include <bsd.port.mk>