2009-07-13 05:40:02 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2009/07/13 09:40:02 ajacoutot Exp $
|
2007-01-22 11:32:41 -05:00
|
|
|
|
2007-07-08 13:50:48 -04:00
|
|
|
COMMENT= chemistry file translation program
|
2007-01-22 11:32:41 -05:00
|
|
|
|
2009-07-13 05:40:02 -04:00
|
|
|
V= 2.2.2
|
2007-01-22 11:32:41 -05:00
|
|
|
DISTNAME= openbabel-${V}
|
|
|
|
CATEGORIES= misc
|
|
|
|
|
2009-07-13 05:40:02 -04:00
|
|
|
SUBST_VARS= V
|
|
|
|
|
|
|
|
SHARED_LIBS+= openbabel 5.0 # .3.0
|
2007-01-22 11:32:41 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://openbabel.sourceforge.net/
|
|
|
|
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openbabel/}
|
|
|
|
|
2009-07-13 05:40:02 -04:00
|
|
|
WANTLIB= c m stdc++ z
|
2007-01-22 11:32:41 -05:00
|
|
|
|
2009-07-13 05:40:02 -04:00
|
|
|
MODULES= converters/libiconv
|
2007-01-22 11:32:41 -05:00
|
|
|
|
2008-09-01 04:51:03 -04:00
|
|
|
BUILD_DEPENDS= ::devel/boost
|
2007-01-22 11:32:41 -05:00
|
|
|
LIB_DEPENDS= xml2.>=9::textproc/libxml
|
|
|
|
REGRESS_DEPENDS=::misc/openbabel
|
|
|
|
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2007-07-08 13:50:48 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
ac_cv_path_DOXYGEN=""
|
- update to openbabel-2.2.0
- gcc4 is needed to build this now
* improved force fields and coordinate generation, conformer searching,
enhanced plugins including molecular descriptors, filters, and
command-line transformations
* many formats improved or added, including CIF, mmCIF, Gaussian cube,
PQR, OpenDX cubes, and more
* improved developer API and scripting support
* many, many bugfixes
2008-08-20 12:08:11 -04:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--disable-inchi \
|
2008-09-01 04:51:03 -04:00
|
|
|
--disable-wx-gui \
|
|
|
|
--with-boost=${LOCALBASE}
|
2007-01-22 11:32:41 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|