blob: e39569055775da2a8437cc9bd65baaf7ea4749b5 (
plain) (
tree)
|
|
# New ports collection makefile for: avogadro
# Date created: 19 May 2009
# Whom: Troels Kofoed Jacobsen <tkjacobsen@gmail.com>
#
# $FreeBSD$
#
PORTNAME= avogadro
PORTVERSION= 1.0.0
CATEGORIES= science
MASTER_SITES= SF
MAINTAINER= tkjacobsen@gmail.com
COMMENT= An advanced molecular editor and viewer
BUILD_DEPENDS= eigen>=2.0.3:${PORTSDIR}/math/eigen2 \
${PYNUMPY} \
sip:${PORTSDIR}/devel/py-sip
RUN_DEPENDS= ${PYNUMPY} \
sip:${PORTSDIR}/devel/py-sip
LIB_DEPENDS= openbabel.3:${PORTSDIR}/science/openbabel \
boost_python:${PORTSDIR}/devel/boost-python-libs
USE_LDCONFIG= yes
USE_BZIP2= yes
USE_QT_VER= 4
QT_COMPONENTS= gui opengl linguist qmake_build moc_build rcc_build uic_build
USE_CMAKE= yes
CMAKE_ARGS= -DCMAKE_INSTALL_PREFIX="${PREFIX}" -DLIB_INSTALL_DIR="${LOCALBASE}/lib" \
-DENABLE_GLSL=OFF -DENABLE_PYTHON=ON
USE_GCC= 4.3+
USE_PYTHON= 2.5+
MAKE_JOBS_SAFE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700013
BROKEN= requires posix_memalign
.endif
.include <bsd.port.post.mk>
|