1234567891011121314151617181920212223242526272829303132333435 |
- # $OpenBSD: Makefile,v 1.1.1.1 2017/01/13 19:16:58 landry Exp $
- COMMENT = viewer for geospatial point clouds
- DISTNAME = displaz-0.3.3pre0
- GH_ACCOUNT = landryb
- GH_PROJECT = displaz
- GH_COMMIT = b11cb5fccdeb617f9dac5b859165b60cf38a54c2
- HOMEPAGE = http://c42f.github.io/displaz/
- CATEGORIES = graphics
- # BSD 3-clause
- PERMIT_PACKAGE_CDROM = Yes
- MODULES = devel/cmake x11/qt5
- LIB_DEPENDS = graphics/glew>=2.0 \
- graphics/ilmbase
- # links with static liblas.a
- BUILD_DEPENDS = textproc/py-docutils \
- converters/lastools
- WANTLIB += GL GLEW Iex Imath Qt5Core Qt5Gui Qt5Network Qt5OpenGL
- WANTLIB += Qt5Widgets c m pthread
- CONFIGURE_ARGS = -DDISPLAZ_EMBED_GLEW=false \
- -DLASLIB_LIBRARY=${LOCALBASE}/lib/liblas.a \
- post-install:
- # glsl 1.4 works..
- sed -i -e 's/^#version 150/#version 140/' ${PREFIX}/share/displaz/shaders/*.glsl
- .include <bsd.port.mk>
|