ajacoutot a183b75553 "/usr/local/lib/pkgconfig/" is part of mtree(8).
Packages should not own this dir to prevent its deletion or a warning that it
cannot be removed because it's not empty at pkg_delete(1) time.
2015-05-22 11:31:10 +00:00

40 lines
780 B
Makefile

# $OpenBSD: Makefile,v 1.19 2015/05/22 11:31:17 ajacoutot Exp $
COMMENT= chemistry file translation program
V= 2.2.3
DISTNAME= openbabel-${V}
REVISION= 4
CATEGORIES= misc
SUBST_VARS= V
SHARED_LIBS+= openbabel 5.0 # .3.0
HOMEPAGE= http://openbabel.sourceforge.net/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c lzma m pthread stdc++ xml2 z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openbabel/}
MODULES= converters/libiconv
BUILD_DEPENDS= devel/boost
LIB_DEPENDS= textproc/libxml
TEST_DEPENDS=${BUILD_PKGPATH}
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>