2013-03-18 07:54:39 +01:00
|
|
|
# Created by: Sangwoo Shim <sangwoos@gmail.com>
|
2006-05-05 22:09:54 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= protomol
|
|
|
|
PORTVERSION= 2.0.3
|
2012-08-05 00:52:02 +02:00
|
|
|
PORTREVISION= 8
|
2006-05-05 22:09:54 +02:00
|
|
|
CATEGORIES= biology
|
2009-08-22 02:15:15 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/ProtoMol/${PORTVERSION}
|
2006-05-05 22:09:54 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-tar.gz
|
2013-03-18 07:54:39 +01:00
|
|
|
EXTRACT_SUFX= # empty
|
2006-05-05 22:09:54 +02:00
|
|
|
|
|
|
|
MAINTAINER= sangwoos@gmail.com
|
|
|
|
COMMENT= OO, component based, framework for molecular dynamics (MD) simulations
|
|
|
|
|
2013-12-11 15:43:51 +01:00
|
|
|
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
|
|
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
|
|
|
libtiff.so:${PORTSDIR}/graphics/tiff
|
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}
|
|
|
|
|
2013-03-18 07:54:39 +01:00
|
|
|
OPTIONS_DEFINE= GLUT
|
|
|
|
OPTIONS_DEFAULT= GLUT
|
2006-05-05 22:09:54 +02:00
|
|
|
|
2013-09-20 17:55:44 +02:00
|
|
|
NO_STAGE= yes
|
2006-05-05 22:09:54 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2013-03-18 07:54:39 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2006-05-05 22:09:54 +02:00
|
|
|
|
2013-03-18 07:54:39 +01:00
|
|
|
.if ${PORT_OPTIONS:MGLUT}
|
2006-05-05 22:09:54 +02:00
|
|
|
CONFIGURE_ARGS+= --with-glut=yes
|
2008-03-28 20:01:48 +01:00
|
|
|
USE_GL= glut
|
2006-05-05 22:09:54 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-glut=no
|
|
|
|
.endif
|
|
|
|
|
2013-03-18 07:54:39 +01:00
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
2006-05-05 22:09:54 +02:00
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
cd ${WRKSRC}/examples && ${FIND} . | ${EGREP} -v '\.cvsignore' | \
|
|
|
|
${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|