Makefile 947 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # $OpenBSD: Makefile,v 1.10 2017/04/10 11:46:22 sthen Exp $
  2. COMMENT = Hierarchical Data Format 5 Technology suite
  3. V = 1.8.18
  4. DISTNAME = hdf5-${V}
  5. SHARED_LIBS += hdf5 1.0 # 12.1
  6. SHARED_LIBS += hdf5_cpp 3.0 # 13.0
  7. SHARED_LIBS += hdf5_hl 1.0 # 11.1
  8. SHARED_LIBS += hdf5_hl_cpp 2.0 # 12.0
  9. CATEGORIES = math
  10. HOMEPAGE = https://www.hdfgroup.org/HDF5/
  11. MAINTAINER = Ingo Feinerer <feinerer@logic.at>
  12. # https://www.hdfgroup.org/ftp/HDF5/current/src/unpacked/COPYING
  13. PERMIT_PACKAGE_CDROM = Yes
  14. WANTLIB += c m ${LIBCXX} z
  15. MASTER_SITES = https://support.hdfgroup.org/ftp/HDF5/current18/src/ \
  16. https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${V}/src/
  17. SEPARATE_BUILD = Yes
  18. CONFIGURE_STYLE = gnu
  19. CONFIGURE_ARGS = --enable-cxx
  20. post-install:
  21. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hdf5
  22. ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/hdf5
  23. mv ${PREFIX}/share/hdf5_examples ${PREFIX}/share/examples/hdf5
  24. .include <bsd.port.mk>