Makefile 754 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # $OpenBSD: Makefile,v 1.23 2017/04/10 11:46:23 sthen Exp $
  2. COMMENT= chemistry file translation program
  3. V= 2.2.3
  4. DISTNAME= openbabel-${V}
  5. REVISION= 5
  6. CATEGORIES= misc
  7. SUBST_VARS= V
  8. SHARED_LIBS+= openbabel 5.0 # .3.0
  9. HOMEPAGE= http://openbabel.sourceforge.net/
  10. # GPLv2
  11. PERMIT_PACKAGE_CDROM= Yes
  12. WANTLIB += c iconv lzma m pthread ${LIBCXX} xml2 z
  13. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openbabel/}
  14. BUILD_DEPENDS= devel/boost
  15. LIB_DEPENDS= converters/libiconv \
  16. textproc/libxml
  17. TEST_DEPENDS=${BUILD_PKGPATH}
  18. CONFIGURE_STYLE=gnu
  19. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  20. LDFLAGS="-L${LOCALBASE}/lib" \
  21. ac_cv_path_DOXYGEN=""
  22. CONFIGURE_ARGS= --disable-inchi \
  23. --disable-wx-gui \
  24. --with-boost=${LOCALBASE}
  25. .include <bsd.port.mk>