Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # $OpenBSD: Makefile,v 1.7 2017/05/31 08:08:16 espie Exp $
  2. COMMENT = image processing and analysis library
  3. ONLY_FOR_ARCHS = ${CXX11_ARCHS}
  4. GH_ACCOUNT = ukoethe
  5. GH_PROJECT = vigra
  6. GH_TAGNAME = Version-1-11-1
  7. DISTNAME = vigra-1.11.1
  8. SHARED_LIBS = vigraimpex 0.0 # 5.1
  9. CATEGORIES = graphics
  10. HOMEPAGE = http://ukoethe.github.io/vigra/
  11. MAINTAINER = Kirill Bychkov <kirby@openbsd.org>
  12. # MIT
  13. PERMIT_PACKAGE_CDROM = Yes
  14. WANTLIB += Half Iex IlmImf IlmThread Imath boost_atomic-mt boost_chrono-mt
  15. WANTLIB += boost_date_time-mt boost_system-mt boost_thread-mt
  16. WANTLIB += fftw3 jpeg m png pthread tiff z ${LIBECXX}
  17. COMPILER = gcc
  18. MODULES = devel/cmake
  19. BUILD_DEPENDS = math/fftw3,float
  20. LIB_DEPENDS = devel/boost \
  21. graphics/jpeg \
  22. graphics/openexr \
  23. graphics/png \
  24. graphics/tiff \
  25. math/fftw3
  26. CONFIGURE_ARGS = -DWITH_VIGRANUMPY=0 \
  27. -DDOCINSTALL=share/doc/ \
  28. -DWITH_BOOST_THREAD=1 \
  29. -DWITH_OPENEXR=1 \
  30. -DWITH_HDF5=0 \
  31. -DCREATE_CTEST_TARGETS=ON \
  32. -DAUTOEXEC_TESTS:BOOL=OFF
  33. CXXFLAGS += -std=c++11 -pthread
  34. # Actually, there are tests, but they do work only on GCC.
  35. # If you want to play, just add -DAUTOBUILD_TESTS=ON to CONFIGURE_ARGS.
  36. # Building tests does not affect packaging.
  37. NO_TEST = Yes
  38. .include <bsd.port.mk>