blob: 7398dee564f0077efb83ff0ae6d6a9e40e29903a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Created by: Sangwoo Shim <sangwoos@gmail.com>
# $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= 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 <bsd.port.options.mk>
.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 <bsd.port.mk>
|