1998-11-17 04:53:17 +00:00
|
|
|
# New ports collection makefile for: tinker
|
|
|
|
# Date Created: 26 August 1998
|
|
|
|
# Whom: Glenn Johnson
|
|
|
|
#
|
1999-08-25 04:58:03 +00:00
|
|
|
# $FreeBSD$
|
1998-11-17 04:53:17 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 22:04:57 +00:00
|
|
|
PORTNAME= tinker
|
|
|
|
PORTVERSION= 3.7
|
1999-05-24 02:01:41 +00:00
|
|
|
CATEGORIES= biology
|
|
|
|
MASTER_SITES= ftp://dasher.wustl.edu/pub/
|
2000-04-08 22:04:57 +00:00
|
|
|
DISTNAME= ${PORTNAME}
|
1998-11-17 04:53:17 +00:00
|
|
|
|
1999-05-24 02:01:41 +00:00
|
|
|
MAINTAINER= gjohnson@nola.srrc.usda.gov
|
1998-11-17 04:53:17 +00:00
|
|
|
|
1999-05-24 02:01:41 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 400005
|
1998-11-17 04:53:17 +00:00
|
|
|
LIB_DEPENDS= U77:${PORTSDIR}/devel/libU77
|
|
|
|
|
1999-06-23 00:26:02 +00:00
|
|
|
# If you wish to use g77 from EGCS, do the following:
|
1998-11-18 02:10:54 +00:00
|
|
|
# a) comment out the LIB_DEPENDS line above and uncomment the following line
|
1999-06-23 00:26:02 +00:00
|
|
|
|
|
|
|
# BUILD_DEPENDS= g77:${PORTSDIR}/lang/egcs
|
|
|
|
|
|
|
|
# b) set env variable 'FC' to 'g77' before running `make'; or 'make FC=g77'
|
|
|
|
|
1999-05-24 02:01:41 +00:00
|
|
|
.else
|
1999-06-23 00:26:02 +00:00
|
|
|
MAKE_ENV+= HAVE_G2C=yes INSTALL_PROGRAM="${INSTALL_PROGRAM}"
|
1999-05-24 02:01:41 +00:00
|
|
|
.endif
|
1998-11-17 04:53:17 +00:00
|
|
|
|
1999-05-24 02:01:41 +00:00
|
|
|
WRKSRC= ${WRKDIR}/tinker/source
|
1998-11-17 04:53:17 +00:00
|
|
|
|
1999-05-24 02:01:41 +00:00
|
|
|
MAKEFILE= ${WRKDIR}/tinker/make/Makefile
|
|
|
|
ALL_TARGET= all listing
|
|
|
|
INSTALL_TARGET= rename
|
1998-11-17 04:53:17 +00:00
|
|
|
|
1999-05-24 02:01:41 +00:00
|
|
|
RESTRICTED= author requests no distribution except from his FTP site
|
1998-11-17 04:53:17 +00:00
|
|
|
|
|
|
|
post-install:
|
1999-06-23 00:26:02 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/tinker
|
1998-11-17 04:53:17 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/tinker/params
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/source/tinker.txt \
|
|
|
|
${PREFIX}/share/tinker
|
1999-06-23 00:26:02 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/params/* \
|
|
|
|
${PREFIX}/share/tinker/params
|
1998-11-17 04:53:17 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-06-09 04:59:14 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/tinker
|
|
|
|
${MKDIR} ${PREFIX}/share/examples/tinker
|
1998-11-17 04:53:17 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/tinker/bench
|
|
|
|
${MKDIR} ${PREFIX}/share/tinker/test
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/doc/README \
|
2000-06-09 04:59:14 +00:00
|
|
|
${PREFIX}/share/doc/tinker
|
1999-06-23 00:26:02 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/doc/*.pdf \
|
2000-06-09 04:59:14 +00:00
|
|
|
${PREFIX}/share/doc/tinker
|
1998-11-17 04:53:17 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/doc/*.ps \
|
2000-06-09 04:59:14 +00:00
|
|
|
${PREFIX}/share/doc/tinker
|
1998-11-17 04:53:17 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/doc/*.Z \
|
2000-06-09 04:59:14 +00:00
|
|
|
${PREFIX}/share/doc/tinker
|
1998-11-17 04:53:17 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/doc/*.txt \
|
2000-06-09 04:59:14 +00:00
|
|
|
${PREFIX}/share/doc/tinker
|
1998-11-17 04:53:17 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/example/README \
|
2000-06-09 04:59:14 +00:00
|
|
|
${PREFIX}/share/examples/tinker
|
1998-11-17 04:53:17 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/example/anion.dyn0 \
|
2000-06-09 04:59:14 +00:00
|
|
|
${PREFIX}/share/examples/tinker
|
1998-11-17 04:53:17 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/example/*.in* \
|
2000-06-09 04:59:14 +00:00
|
|
|
${PREFIX}/share/examples/tinker
|
1998-11-17 04:53:17 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/example/*.key \
|
2000-06-09 04:59:14 +00:00
|
|
|
${PREFIX}/share/examples/tinker
|
1998-11-17 04:53:17 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/example/*.log \
|
2000-06-09 04:59:14 +00:00
|
|
|
${PREFIX}/share/examples/tinker
|
1998-11-17 04:53:17 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/example/*.xyz \
|
2000-06-09 04:59:14 +00:00
|
|
|
${PREFIX}/share/examples/tinker
|
1998-11-17 04:53:17 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/example/argon.1st \
|
2000-06-09 04:59:14 +00:00
|
|
|
${PREFIX}/share/examples/tinker
|
1998-11-17 04:53:17 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/example/crambin.pdb \
|
2000-06-09 04:59:14 +00:00
|
|
|
${PREFIX}/share/examples/tinker
|
1998-11-17 04:53:17 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/example/cyclohex.boat \
|
2000-06-09 04:59:14 +00:00
|
|
|
${PREFIX}/share/examples/tinker
|
1998-11-17 04:53:17 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/example/cyclohex.chair \
|
2000-06-09 04:59:14 +00:00
|
|
|
${PREFIX}/share/examples/tinker
|
1998-11-17 04:53:17 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/example/formamide.cell \
|
2000-06-09 04:59:14 +00:00
|
|
|
${PREFIX}/share/examples/tinker
|
1998-11-17 04:53:17 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/tinker/example/clean.make \
|
2000-06-09 04:59:14 +00:00
|
|
|
${PREFIX}/share/examples/tinker
|
1998-11-17 04:53:17 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/tinker/example/*.run \
|
2000-06-09 04:59:14 +00:00
|
|
|
${PREFIX}/share/examples/tinker
|
1998-11-17 04:53:17 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/bench/*.input \
|
|
|
|
${PREFIX}/share/tinker/bench
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/bench/*.key \
|
|
|
|
${PREFIX}/share/tinker/bench
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/bench/*.xyz \
|
|
|
|
${PREFIX}/share/tinker/bench
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/bench/water.dyn0 \
|
|
|
|
${PREFIX}/share/tinker/bench
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/bench/results* \
|
|
|
|
${PREFIX}/share/tinker/bench
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/tinker/bench/*.run \
|
|
|
|
${PREFIX}/share/tinker/bench
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/tinker/test/* ${PREFIX}/share/tinker/test
|
|
|
|
.endif
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} " **********************************************************"
|
|
|
|
@${ECHO} " The author requests that you return a license form "
|
1999-06-23 00:26:02 +00:00
|
|
|
@${ECHO} " to him if you find Tinker to be useful. "
|
1998-11-17 04:53:17 +00:00
|
|
|
@${ECHO} " "
|
|
|
|
@${ECHO} " See ${PREFIX}/share/tinker/doc for license forms. "
|
|
|
|
@${ECHO} " **********************************************************"
|
|
|
|
@${ECHO} ""
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|