2006-05-05 20:09:54 +00:00
|
|
|
# New ports collection makefile for: protomol
|
|
|
|
# Date created: 5 May 2006
|
|
|
|
# Whom: Sangwoo Shim <sangwoos@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= protomol
|
|
|
|
PORTVERSION= 2.0.3
|
2009-07-18 11:11:29 +00:00
|
|
|
PORTREVISION= 4
|
2006-05-05 20:09:54 +00:00
|
|
|
CATEGORIES= biology
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-tar.gz
|
|
|
|
EXTRACT_SUFX= # nada
|
|
|
|
|
|
|
|
MAINTAINER= sangwoos@gmail.com
|
|
|
|
COMMENT= OO, component based, framework for molecular dynamics (MD) simulations
|
|
|
|
|
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
|
2009-07-18 11:11:29 +00:00
|
|
|
jpeg.10:${PORTSDIR}/graphics/jpeg \
|
2006-05-05 20:09:54 +00:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
# 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 17:56:05 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
CXXFLAGS+= -L${LOCALBASE}/lib
|
2006-05-05 20:09:54 +00:00
|
|
|
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}"
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
OPTIONS= GLUT "Use glut" on
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_GLUT)
|
|
|
|
CONFIGURE_ARGS+= --with-glut=yes
|
2008-03-28 19:01:48 +00:00
|
|
|
USE_GL= glut
|
2006-05-05 20:09:54 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-glut=no
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
cd ${WRKSRC}/examples && ${FIND} . | ${EGREP} -v '\.cvsignore' | \
|
|
|
|
${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|