openbsd-ports/misc/openbabel/Makefile
2013-03-21 08:45:11 +00:00

40 lines
780 B
Makefile

# $OpenBSD: Makefile,v 1.15 2013/03/21 08:46:33 ajacoutot Exp $
COMMENT= chemistry file translation program
V= 2.2.3
DISTNAME= openbabel-${V}
REVISION= 1
CATEGORIES= misc
SUBST_VARS= V
SHARED_LIBS+= openbabel 5.0 # .3.0
HOMEPAGE= http://openbabel.sourceforge.net/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openbabel/}
WANTLIB= c m stdc++ xml2 z
MODULES= converters/libiconv
BUILD_DEPENDS= devel/boost
LIB_DEPENDS= textproc/libxml
TEST_DEPENDS=${BUILD_PKGPATH}
USE_GROFF = Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
ac_cv_path_DOXYGEN=""
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-inchi \
--disable-wx-gui \
--with-boost=${LOCALBASE}
.include <bsd.port.mk>