# Created by: Sangwoo Shim # $FreeBSD$ PORTNAME= protomol PORTVERSION= 2.0.3 PORTREVISION= 9 CATEGORIES= biology MASTER_SITES= SF/${PORTNAME}/ProtoMol/${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION}-tar.gz EXTRACT_SUFX= # empty MAINTAINER= sangwoos@gmail.com COMMENT= OO, component based, framework for molecular dynamics (MD) simulations LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \ libjpeg.so:${PORTSDIR}/graphics/jpeg \ libtiff.so:${PORTSDIR}/graphics/tiff GNU_CONFIGURE= yes USE_XORG= xmu xt sm ice xext x11 xi # Hack to cure a misbehavior of the configure script CONFIGURE_ARGS+= --without-irix_mipspro_mpi CPPFLAGS+= -I${LOCALBASE}/include CXXFLAGS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= GLUT OPTIONS_DEFAULT= GLUT NO_STAGE= yes .include .if ${PORT_OPTIONS:MGLUT} CONFIGURE_ARGS+= --with-glut=yes USE_GL= glut .else CONFIGURE_ARGS+= --with-glut=no .endif .if ${PORT_OPTIONS:MEXAMPLES} post-install: @${MKDIR} ${EXAMPLESDIR} cd ${WRKSRC}/examples && ${FIND} . | ${EGREP} -v '\.cvsignore' | \ ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} .endif .include