blob: 574d56a9249bd9b3bb91635f68fa23c05379fd06 (
plain)
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
|
PORTNAME= plumed
DISTVERSIONPREFIX= v
DISTVERSION= 2.7.0
CATEGORIES= science graphics
MAINTAINER= yuri@FreeBSD.org
COMMENT= PLUgin for MolEcular Dynamics
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
BROKEN_i386= undefined reference to `__atomic_load'
BUILD_DEPENDS= bash:shells/bash \
xxd:editors/vim-console
RUN_DEPENDS= bash:shells/bash
USES= autoreconf compiler:c++11-lang gmake pkgconfig shebangfix
SHEBANG_GLOB= *.sh
SHEBANG_FILES= src/maketools/makecmd
GNU_CONFIGURE= yes
USE_GITHUB= yes
GH_PROJECT= plumed2
USE_LDCONFIG= yes
CONFIGURE_ARGS= --enable-shared --disable-python
post-patch:
@${REINPLACE_CMD} -e 's|#! /bin/bash|#! ${LOCALBASE}/bin/bash|' ${WRKSRC}/src/lib/Makefile
post-install:
@${RMDIR} ${STAGEDIR}${PREFIX}/lib/plumed/obj
@cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/plumed lib/plumed/plumed-runtime lib/libplumed.so lib/libplumedKernel.so
.include <bsd.port.mk>
|