mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
1cd277bdce
GCC 4.6.4 to GCC 4.7.3. This entails updating the lang/gcc port as well as changing the default in Mk/bsd.default-versions.mk. Part II, Bump PORTREVISIONs. PR: 182136 Supported by: Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports) Tested by: bdrewery (two -exp runs)
42 lines
1.3 KiB
Makefile
42 lines
1.3 KiB
Makefile
# Created by: Ryo MIYAMOTO
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= psi88
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 6
|
|
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
|
|
|
|
USES= fortran
|
|
MAKE_ARGS= BIN=${STAGEDIR}${PREFIX}/bin
|
|
PLIST_FILES= bin/PSI1 bin/PSICON bin/PSI2CT bin/PSI2HP bin/PSI2PS bin/PSI2 \
|
|
bin/PREPLOT bin/preplot bin/rpsi1 bin/rpsi2 bin/rpsicon
|
|
PORTDOCS= README psi88.doc
|
|
PORTEXAMPLES= *
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's/f77/$${FC}/' -e 's/LFLAGS/LDFLAGS/' \
|
|
${WRKSRC}/src/makefile
|
|
@${CP} ${FILESDIR}/Makefile.top ${WRKSRC}/Makefile
|
|
|
|
post-install:
|
|
${LN} -s PSI2PS ${STAGEDIR}${PREFIX}/bin/PSI2
|
|
${INSTALL_SCRIPT} ${WRKSRC}/unix/preplot ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/unix/rpsi1 ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/unix/rpsi2 ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/unix/rpsicon ${STAGEDIR}${PREFIX}/bin
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/psi88.doc ${STAGEDIR}${DOCSDIR}
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|