Makefile 856 B

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