Tweak multimedia/assimp version 3.0_1
[dports.git] / multimedia / assimp / Makefile
1 # Created by: Yuri <yuri@tsoft.com>
2 # $FreeBSD: multimedia/assimp/Makefile 314960 2013-03-22 20:06:14Z makc $
3
4 PORTNAME=       assimp
5 PORTVERSION=    3.0
6 PORTREVISION=   1
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=    boost_filesystem:${PORTSDIR}/devel/boost-libs
18
19 USE_ZIP=        yes
20 USES=           cmake
21 USE_PKGCONFIG=  build
22 USE_GCC=        4.6+ # 4.2+ causes compiler warnings
23 USE_LDCONFIG=   yes
24 MAKE_JOBS_SAFE= yes
25
26 # CMAKE_ARGS instructs cmake to skip runtime path removal during install
27 CMAKE_ARGS+=    "-DCMAKE_SKIP_RPATH=ON"
28
29 post-patch:
30         @${REINPLACE_CMD} 's|$${LIB_INSTALL_DIR}/pkgconfig|libdata/pkgconfig|' \
31                 ${WRKSRC}/CMakeLists.txt
32
33 .include <bsd.port.mk>