1999-05-07 08:57:52 +02:00
|
|
|
# New ports collection makefile for: molden
|
|
|
|
# Date created: 1998-11-14
|
|
|
|
# Whom: rmiya
|
|
|
|
#
|
1999-08-25 06:58:03 +02:00
|
|
|
# $FreeBSD$
|
1999-05-07 08:57:52 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 00:04:57 +02:00
|
|
|
PORTNAME= molden
|
2008-11-11 03:21:28 +01:00
|
|
|
PORTVERSION= 4.6
|
2009-09-13 02:08:01 +02:00
|
|
|
PORTREVISION= 2
|
2008-11-11 03:21:28 +01:00
|
|
|
PORTEPOCH= 1
|
1999-05-07 08:57:52 +02:00
|
|
|
CATEGORIES= biology
|
2009-08-02 21:59:03 +02:00
|
|
|
MASTER_SITES= ftp://ftp.cmbi.ru.nl/pub/molgraph/molden/
|
2000-06-07 18:59:47 +02:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
|
|
|
|
2008-11-04 22:55:39 +01:00
|
|
|
MAINTAINER= oivulf@gmail.com
|
2003-02-21 12:08:38 +01:00
|
|
|
COMMENT= Display molecular orbitals and electron densities in 2D and 3D
|
1999-05-07 08:57:52 +02:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11 xmu
|
|
|
|
USE_GL= glut
|
2008-11-04 22:55:39 +01:00
|
|
|
USE_FORTRAN= yes
|
2002-01-23 20:59:19 +01:00
|
|
|
|
2006-09-17 15:41:56 +02:00
|
|
|
RESTRICTED= free for academic, non profit usage; do not re-distribute source and executable.
|
2000-06-07 18:59:47 +02:00
|
|
|
MAKEFILE= ${WRKSRC}/makefile
|
1999-05-07 08:57:52 +02:00
|
|
|
|
2008-11-07 01:33:32 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= docs/*
|
|
|
|
.endif
|
|
|
|
|
2000-06-07 18:59:47 +02:00
|
|
|
post-configure:
|
|
|
|
@${ECHO_MSG} "********************"
|
|
|
|
@${ECHO_MSG} "** If you want to use a larger MOLDEN,"
|
2002-01-23 20:59:19 +01:00
|
|
|
@${ECHO_MSG} "** edit change_parameter.sh and run it,"
|
|
|
|
@${ECHO_MSG} "** before \'make build\'."
|
2000-06-07 18:59:47 +02:00
|
|
|
@${ECHO_MSG} "********************"
|
1999-05-24 04:06:46 +02:00
|
|
|
|
1999-05-07 08:57:52 +02:00
|
|
|
do-install:
|
2005-12-01 15:42:44 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/molden ${PREFIX}/bin
|
2008-11-04 22:55:39 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ambfor/ambfor ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gmolden ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/surf/surf ${PREFIX}/bin
|
1999-05-07 08:57:52 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2008-11-07 01:33:32 +01:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
|
|
|
|
.endif
|
2008-11-11 03:21:28 +01:00
|
|
|
.if !defined(NOPORTDATA)
|
|
|
|
${MKDIR} ${DATADIR}/test
|
|
|
|
${MKDIR} ${DATADIR}/utils
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/test/* ${DATADIR}/test
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/utils/* ${DATADIR}/utils
|
|
|
|
.endif
|
1999-05-07 08:57:52 +02:00
|
|
|
|
2008-11-04 22:55:39 +01:00
|
|
|
.include <bsd.port.mk>
|