1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/biology/protomol/Makefile
Mathieu Arnold 7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00

53 lines
1.3 KiB
Makefile

# Created by: Sangwoo Shim <sangwoos@gmail.com>
# $FreeBSD$
PORTNAME= protomol
PORTVERSION= 2.0.3
PORTREVISION= 12
CATEGORIES= biology
MASTER_SITES= SF/${PORTNAME}/ProtoMol/${PORTVERSION}
DISTFILES= ${DISTNAME}-tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= OO, component based, framework for molecular dynamics (MD) simulations
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libpng.so:graphics/png \
libtiff.so:graphics/tiff
USES= shebangfix
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
GNU_CONFIGURE= yes
USES= jpeg
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 EXAMPLES
OPTIONS_DEFAULT= GLUT
GLUT_CONFIGURE_ON= --with-glut=yes
GLUT_USE= GL=glut
GLUT_CONFIGURE_OFF= --with-glut=no
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples ; \
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -name .cvsignore"
.include <bsd.port.mk>