blob: 0f23b115b95b930325692ff7f753acef92aff207 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# 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>
|