1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/biology/deft/Makefile
1999-08-25 04:58:03 +00:00

44 lines
1.2 KiB
Makefile

# New ports collection makefile for: DeFT
# Version required: 2.2
# Date created: 1999-01-11
# Whom: Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp>
#
# $FreeBSD$
#
DISTNAME= DeFT_2.2
PKGNAME= deft-2.2
CATEGORIES= biology
MASTER_SITES= ftp://theory.chem.uottawa.ca/pub/
EXTRACT_SUFX= .tar.Z
MAINTAINER= rmiya@cc.hirosaki-u.ac.jp
WRKSRC= ${WRKDIR}/DeFT_2.2/source
post-configure:
${CP} ${FILESDIR}/Makefile.deft ${WRKSRC}/Makefile
pre-install:
${RM} -rf ${PREFIX}/share/doc/DeFT
${MKDIR} ${PREFIX}/share/doc/DeFT
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/DeFT/examples
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/DeFT.exec ${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/examples/DeFT ${PREFIX}/bin/
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/bases ${PREFIX}/share/doc/DeFT/
post-install:
.if !defined(NOPORTDOCS)
${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/* ${PREFIX}/share/doc/DeFT/examples/
${RM} -f ${PREFIX}/share/doc/DeFT/examples/DeFT*
.endif
.include <bsd.port.mk>