aboutsummaryrefslogtreecommitdiffstats
path: root/biology/molden/Makefile
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>1999-05-07 14:57:52 +0800
committertaoka <taoka@FreeBSD.org>1999-05-07 14:57:52 +0800
commit14e03c6605f4f3c2d8c054d0e7b02227b5e2b842 (patch)
treea213122f75de675d75a9999622d3419827cef53e /biology/molden/Makefile
parent92c6af4a4c46862ff732eaa34438d98d3f1cbd5f (diff)
downloadfreebsd-ports-gnome-14e03c6605f4f3c2d8c054d0e7b02227b5e2b842.tar.gz
freebsd-ports-gnome-14e03c6605f4f3c2d8c054d0e7b02227b5e2b842.tar.zst
freebsd-ports-gnome-14e03c6605f4f3c2d8c054d0e7b02227b5e2b842.zip
display molecular orbitals and electron densities in 2D and 3D
Submitted by: rmiya@cc.hirosaki-u.ac.jp (Ryo MIYAMOTO)
Diffstat (limited to 'biology/molden/Makefile')
-rw-r--r--biology/molden/Makefile59
1 files changed, 59 insertions, 0 deletions
diff --git a/biology/molden/Makefile b/biology/molden/Makefile
new file mode 100644
index 000000000000..5359f0810514
--- /dev/null
+++ b/biology/molden/Makefile
@@ -0,0 +1,59 @@
+# New ports collection makefile for: molden
+# Version required: 3.4
+# Date created: 1998-11-14
+# Whom: rmiya
+#
+# $Id$
+#
+
+DISTNAME= molden3.4
+PKGNAME= molden-3.4
+CATEGORIES= biology
+MASTER_SITES= ftp://ftp.caos.kun.nl/pub/molgraph/molden/
+MASTER_SITES+= ftp://ftp.caos.kun.nl/pub/molgraph/molden/bin/
+DISTFILES= molden3.4.tar.Z molden3.4-freebsd
+
+MAINTAINER= rmiya@cc.hirosaki-u.ac.jp
+
+EXTRACT_ONLY= molden3.4.tar.Z
+RESTRICTED= "free for academic, non profit usage; do not re-distribute source and executable"
+
+pre-build:
+.if defined(DONOTUSE_ORIGINALBINARY)
+ (cd ${WRKSRC}; ${CP} makefile Makefile)
+ (cd ${WRKSRC}; ./change_parameter)
+ @echo "********************"
+ @echo "** re-build with customizations"
+ @echo "** maxorb: 256 -> 1024"
+ @echo "** maxatm: 150 -> 300"
+ @echo "********************"
+.else
+ @echo "********************"
+ @echo "** using original binary"
+ @echo "********************"
+.endif
+
+do-build:
+.if defined(DONOTUSE_ORIGINALBINARY)
+ (cd ${WRKSRC};${MAKE})
+.else
+ ${CP} ${DISTDIR}/${DISTNAME}-freebsd ${WRKSRC}/molden
+.endif
+
+pre-install:
+ ${RM} -rf ${PREFIX}/share/doc/molden
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/molden
+ ${MKDIR} ${PREFIX}/share/doc/molden/doc
+ ${MKDIR} ${PREFIX}/share/doc/molden/test
+.endif
+
+do-install:
+ strip ${WRKSRC}/molden
+ ${INSTALL_PROGRAM} ${WRKSRC}/molden ${PREFIX}/bin/
+.if !defined(NOPORTDOCS)
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/molden/doc
+ ${INSTALL_DATA} ${WRKSRC}/test/* ${PREFIX}/share/doc/molden/test
+.endif
+
+.include <bsd.port.mk>