1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/biology/tinker/Makefile
Gerald Pfeifer 1cd277bdce Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3.  This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.

Part II, Bump PORTREVISIONs.

PR:		182136
Supported by:	Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by:	bdrewery (two -exp runs)
2014-03-10 20:55:20 +00:00

70 lines
1.9 KiB
Makefile

# Created by: Glenn Johnson
# $FreeBSD$
PORTNAME= tinker
PORTVERSION= 6.2.06
PORTREVISION= 4
CATEGORIES= biology
MASTER_SITES= http://dasher.wustl.edu/tinker/downloads/
MAINTAINER= ports@FreeBSD.org
COMMENT= General purpose molecular modelling package
RESTRICTED= author requests no distribution except from his FTP site
CONFLICTS_INSTALL= hunspell-[0-9]*
OPTIONS_DEFINE= OPTIMIZED_FFLAGS DOCS EXAMPLES
OPTIMIZED_FFLAGS_DESC= compilation optimizations
WRKSRC= ${WRKDIR}/${PORTNAME}
BUILD_WRKSRC= ${WRKSRC}/source
INSTALL_WRKSRC= ${WRKSRC}/source
USES= fortran
MAKE_ENV= HAVE_G2C=yes
MAKEFILE= ${WRKSRC}/make/Makefile
ALL_TARGET= all listing
INSTALL_TARGET= rename
SUB_FILES= pkg-message
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPTIMIZED_FFLAGS}
FFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations
.if (${ARCH} == "i386")
FFLAGS+= -mfancy-math-387 -malign-double
.endif # i386
.endif
post-extract:
@${CHMOD} -R u+w ${WRKSRC}
pre-build:
@${RM} -f ${BUILD_WRKSRC}/*.c
post-install:
${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${INSTALL_WRKSRC} && ${INSTALL_DATA} tinker.txt ${STAGEDIR}${DATADIR})
${MKDIR} ${STAGEDIR}${DATADIR}/bench
(cd ${WRKSRC}/bench && ${INSTALL_DATA} \
0README *.dyn0 *.log *.key *.run *.xyz results* \
${STAGEDIR}${DATADIR}/bench)
${MKDIR} ${STAGEDIR}${DATADIR}/params
(cd ${WRKSRC}/params && ${INSTALL_DATA} * ${STAGEDIR}${DATADIR}/params)
${MKDIR} ${STAGEDIR}${DATADIR}/test
(cd ${WRKSRC}/test && ${INSTALL_DATA} * ${STAGEDIR}${DATADIR}/test)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${INSTALL_DATA} 0README *.pdf *.txt ${STAGEDIR}${DOCSDIR})
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/example && ${INSTALL_DATA} \
0README *.make *.dyn *.int *.frac *.key *.seq *.pdb *.xyz \
${STAGEDIR}${EXAMPLESDIR})
.endif
.include <bsd.port.mk>