2013-03-18 07:54:39 +01:00
|
|
|
# Created by: Sangwoo Shim <sangwoos@gmail.com>
|
2006-05-05 22:09:54 +02:00
|
|
|
|
|
|
|
PORTNAME= protomol
|
|
|
|
PORTVERSION= 2.0.3
|
2018-08-25 05:47:25 +02:00
|
|
|
PORTREVISION= 14
|
2006-05-05 22:09:54 +02:00
|
|
|
CATEGORIES= biology
|
2009-08-22 02:15:15 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/ProtoMol/${PORTVERSION}
|
2015-05-11 20:34:57 +02:00
|
|
|
DISTFILES= ${DISTNAME}-tar.gz
|
2006-05-05 22:09:54 +02:00
|
|
|
|
2014-07-23 18:44:27 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-05-05 22:09:54 +02:00
|
|
|
COMMENT= OO, component based, framework for molecular dynamics (MD) simulations
|
|
|
|
|
2015-06-25 11:32:18 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
LIB_DEPENDS= libpng.so:graphics/png \
|
|
|
|
libtiff.so:graphics/tiff
|
2006-05-05 22:09:54 +02:00
|
|
|
|
2019-11-04 22:08:20 +01:00
|
|
|
USES= jpeg shebangfix xorg
|
2018-08-25 05:45:28 +02:00
|
|
|
USE_CXXSTD= c++98
|
2015-06-25 11:32:18 +02:00
|
|
|
SHEBANG_FILES= examples/butane_4/procDihedralFile.awk \
|
|
|
|
examples/butane_4/cleanOutput.bash \
|
|
|
|
examples/butane_4/runButaneResults.sh \
|
|
|
|
examples/butane_4/runButaneTests.sh
|
|
|
|
SHEBANG_LANG= awk
|
|
|
|
awk_OLD_CMD= /usr/bin/gawk
|
|
|
|
awk_CMD= /usr/bin/awk # base awk works fine in this case
|
2006-05-05 22:09:54 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2012-08-05 00:52:02 +02:00
|
|
|
USE_XORG= xmu xt sm ice xext x11 xi
|
2006-05-05 22:09:54 +02:00
|
|
|
|
|
|
|
# Hack to cure a misbehavior of the configure script
|
|
|
|
CONFIGURE_ARGS+= --without-irix_mipspro_mpi
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
CXXFLAGS+= -L${LOCALBASE}/lib
|
2006-05-05 22:09:54 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
2015-08-19 15:29:59 +02:00
|
|
|
OPTIONS_DEFINE= GLUT EXAMPLES
|
2013-03-18 07:54:39 +01:00
|
|
|
OPTIONS_DEFAULT= GLUT
|
2006-05-05 22:09:54 +02:00
|
|
|
|
2015-06-23 08:58:19 +02:00
|
|
|
GLUT_CONFIGURE_ON= --with-glut=yes
|
2019-11-04 22:08:20 +01:00
|
|
|
GLUT_USES= gl
|
2015-06-23 08:58:19 +02:00
|
|
|
GLUT_USE= GL=glut
|
|
|
|
GLUT_CONFIGURE_OFF= --with-glut=no
|
2006-05-05 22:09:54 +02:00
|
|
|
|
2015-08-19 15:29:59 +02:00
|
|
|
post-install-EXAMPLES-on:
|
2014-08-25 19:19:31 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
2015-06-23 08:58:19 +02:00
|
|
|
cd ${WRKSRC}/examples ; \
|
|
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -name .cvsignore"
|
2006-05-05 22:09:54 +02:00
|
|
|
|
2014-01-15 23:51:26 +01:00
|
|
|
.include <bsd.port.mk>
|