aboutsummaryrefslogtreecommitdiffstats
path: root/biology/psi88/Makefile
blob: 468e75454f3b56ec8afc53686876f8b06cd5feb9 (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
# New ports collection makefile for:    Psi88
# Date created:     1998-11-11
# Whom:         Ryo MIYAMOTO
#
# $FreeBSD$
#

PORTNAME=   psi88
PORTVERSION=    1.0
CATEGORIES= biology
MASTER_SITES=   http://www.ccl.net/cca/software/SOURCES/FORTRAN/psi88/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .tar.Z

MAINTAINER= ports@FreeBSD.org
COMMENT=    Plotting wavefunctions (molecular orbitals) in 3D

pre-patch:
    ${MV} ${WRKSRC}/src/makefile ${WRKSRC}/src/Makefile

pre-build:
    ${CP} ${FILESDIR}/Makefile.top ${WRKSRC}/Makefile

post-install:
    ${LN} -s ${PREFIX}/bin/PSI2PS ${PREFIX}/bin/PSI2
    ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/unix/preplot ${PREFIX}/bin/
    ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/unix/rpsi1 ${PREFIX}/bin/
    ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/unix/rpsi2 ${PREFIX}/bin/
    ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/unix/rpsicon ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/psi88
    ${MKDIR} ${PREFIX}/share/doc/psi88/examples
    @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README ${PREFIX}/share/doc/psi88
    @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/psi88.doc ${PREFIX}/share/doc/psi88
    @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/examples/* ${PREFIX}/share/doc/psi88/examples
.endif

.include <bsd.port.mk>