summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-01-17 04:42:46 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-01-17 04:42:46 +0000
commit2766c69232265c279dc8371efb5e889576723019 (patch)
tree16b4771a1ddfbd5ecce5e64e064a16ee119c1d36
parent* Some fixes. (diff)
* Migrate to gfortran.
* Bump port revision. * gamess output support.
Notes
Notes: svn path=/head/; revision=182575
-rw-r--r--science/ghemical/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/science/ghemical/Makefile b/science/ghemical/Makefile
index bbfd768096cf..4e7dc7178aad 100644
--- a/science/ghemical/Makefile
+++ b/science/ghemical/Makefile
@@ -6,6 +6,7 @@
PORTNAME= ghemical
PORTVERSION= 2.10
+PORTREVISION= 1
CATEGORIES= science
MASTER_SITES= http://www.uku.fi/~thassine/projects/download/ \
http://bioinformatics.org/ghemical/download/
@@ -14,19 +15,25 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= maho@FreeBSD.org
COMMENT= Ghemical is a computational chemistry software package
-BUILD_DEPENDS= ${LOCALBASE}/lib/libmpqc.a:${PORTSDIR}/science/mpqc \
- f2c:${PORTSDIR}/lang/f2c \
+BUILD_DEPENDS= f2c:${PORTSDIR}/lang/f2c \
openbabel:${PORTSDIR}/science/openbabel
-LIB_DEPENDS= glut:${PORTSDIR}/graphics/libglut \
+LIB_DEPENDS= mpqc:${PORTSDIR}/science/mpqc \
+ glut:${PORTSDIR}/graphics/libglut \
gtkgl:${PORTSDIR}/x11-toolkits/gtkglarea \
gtkglext-x11-1.0:${PORTSDIR}/x11-toolkits/gtkglext \
ghemical:${PORTSDIR}/science/libghemical \
mopac7:${PORTSDIR}/biology/mopac
+WANT_FORTRAN= yes #dummy but future use
+BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
+FC= gfortran42
+F77= gfortran42
+CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
+
USE_GMAKE= yes
USE_GNOME= glib20 gtk20 libglade2 pkgconfig
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-mopac7 --enable-mpqc --enable-openbabel
+CONFIGURE_ARGS= --enable-mopac7 --enable-gamess --enable-mpqc --enable-openbabel
PLIST_SUB= GHEMICAL_VERSION="${PORTVERSION}"
MAKE_ENV= PKG_CONFIG=${LOCALBASE}/pkg-config