2000-06-07 17:10:12 +00:00
|
|
|
# New ports collection makefile for: DeFT
|
|
|
|
# Date created: 1999-01-11
|
|
|
|
# Whom: Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp>
|
1999-05-19 13:37:08 +00:00
|
|
|
#
|
1999-08-25 04:58:03 +00:00
|
|
|
# $FreeBSD$
|
1999-05-19 13:37:08 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 22:04:57 +00:00
|
|
|
PORTNAME= deft
|
|
|
|
PORTVERSION= 2.2
|
1999-05-19 13:37:08 +00:00
|
|
|
CATEGORIES= biology
|
|
|
|
MASTER_SITES= ftp://theory.chem.uottawa.ca/pub/
|
2000-04-08 22:04:57 +00:00
|
|
|
DISTNAME= DeFT_${PORTVERSION}
|
1999-05-19 13:37:08 +00:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
|
|
|
MAINTAINER= rmiya@cc.hirosaki-u.ac.jp
|
|
|
|
|
2000-04-08 22:04:57 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/source
|
1999-05-19 13:37:08 +00:00
|
|
|
|
2000-06-07 17:10:12 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
1999-05-19 13:37:08 +00:00
|
|
|
|
2000-06-07 17:10:12 +00:00
|
|
|
.if ${OSVERSION} >= 400005
|
|
|
|
# Using g77 is troublesome, then it is better to use f2c/cc.
|
2000-06-11 19:51:59 +00:00
|
|
|
BUILD_DEPENDS= ftn77:${PORTSDIR}/lang/f77
|
1999-05-19 13:37:08 +00:00
|
|
|
.endif
|
|
|
|
|
2000-06-07 17:10:12 +00:00
|
|
|
post-configure:
|
|
|
|
${CP} ${FILESDIR}/Makefile.deft ${WRKSRC}/Makefile
|
|
|
|
|
1999-05-19 13:37:08 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/DeFT.exec ${PREFIX}/bin/
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/examples/DeFT ${PREFIX}/bin/
|
2000-06-07 17:10:12 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/DeFT
|
|
|
|
${MKDIR} ${PREFIX}/share/DeFT
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/bases ${PREFIX}/share/DeFT/
|
1999-05-19 13:37:08 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2000-06-07 17:10:12 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/examples/DeFT
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README_Liability \
|
|
|
|
${PREFIX}/share/doc/DeFT/
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/input.* \
|
|
|
|
${PREFIX}/share/doc/DeFT/
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/install.* \
|
|
|
|
${PREFIX}/share/doc/DeFT/
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/examples/README \
|
|
|
|
${PREFIX}/share/examples/DeFT
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/examples/*.dft \
|
|
|
|
${PREFIX}/share/examples/DeFT
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/examples/*.out \
|
|
|
|
${PREFIX}/share/examples/DeFT
|
1999-05-19 13:37:08 +00:00
|
|
|
.endif
|
|
|
|
|
2000-06-07 17:10:12 +00:00
|
|
|
.include <bsd.port.post.mk>
|