aboutsummaryrefslogtreecommitdiffstats
path: root/biology/psi88/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'biology/psi88/Makefile')
-rw-r--r--biology/psi88/Makefile29
1 files changed, 17 insertions, 12 deletions
diff --git a/biology/psi88/Makefile b/biology/psi88/Makefile
index 462d17a122d9..fa1f901c4897 100644
--- a/biology/psi88/Makefile
+++ b/biology/psi88/Makefile
@@ -1,13 +1,9 @@
-# New ports collection makefile for: Psi88
-# Date created: 1998-11-11
-# Whom: Ryo MIYAMOTO
-#
+# Created by: Ryo MIYAMOTO
# $FreeBSD$
-#
PORTNAME= psi88
PORTVERSION= 1.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= biology
MASTER_SITES= http://www.ccl.net/cca/software/SOURCES/FORTRAN/psi88/
DISTNAME= ${PORTNAME}
@@ -16,6 +12,13 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Plotting wavefunctions (molecular orbitals) in 3D
+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
+
.include <bsd.port.pre.mk>
USE_FORTRAN= yes
@@ -35,12 +38,14 @@ post-install:
${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
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/psi88.doc ${DOCSDIR}
+.endif
+.if ${PORT_OPTIONS:MEXAMPLES}
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/examples/* ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>