# Created by: Sangwoo Shim # $FreeBSD$ PORTNAME= protomol PORTVERSION= 2.0.3 PORTREVISION= 8 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= png15:${PORTSDIR}/graphics/png \ jpeg.11:${PORTSDIR}/graphics/jpeg \ tiff.4:${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 .include .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