aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2007-01-17 12:42:46 +0800
committermaho <maho@FreeBSD.org>2007-01-17 12:42:46 +0800
commit02bede95ab3cb017f81cf3eec11d8c42571947f5 (patch)
treea0e5aa17e32ed3360cb7e3479f8735e68c68985d /science
parent196d0e166f8a7ec672d63a660c6bbcd4d172f009 (diff)
downloadfreebsd-ports-gnome-02bede95ab3cb017f81cf3eec11d8c42571947f5.tar.gz
freebsd-ports-gnome-02bede95ab3cb017f81cf3eec11d8c42571947f5.tar.zst
freebsd-ports-gnome-02bede95ab3cb017f81cf3eec11d8c42571947f5.zip
* Migrate to gfortran.
* Bump port revision. * gamess output support.
Diffstat (limited to 'science')
-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