summaryrefslogtreecommitdiffstats
path: root/science/ghemical/Makefile
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2004-03-06 21:50:13 +0000
committermaho <maho@FreeBSD.org>2004-03-06 21:50:13 +0000
commit5411ec839be40d9f0ed7790fdc17c070a40ef3b2 (patch)
treeb389b2b44ef128ea7b954ecc3ed843edfc619c84 /science/ghemical/Makefile
parent6194ae30365b6da01d5a115136d1d27662bfdfcf (diff)
downloadFreeBSD-ports-5411ec839be40d9f0ed7790fdc17c070a40ef3b2.zip
FreeBSD-ports-5411ec839be40d9f0ed7790fdc17c070a40ef3b2.tar.gz
1) some cleanups and enhancements
2) sorry I didn't mention your PR PR: 63366 Submitted by: Vladimir I. Chukharev <chu@gpi.ru>
Diffstat (limited to 'science/ghemical/Makefile')
-rw-r--r--science/ghemical/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/science/ghemical/Makefile b/science/ghemical/Makefile
index 3bb4d18..6ff7b1e 100644
--- a/science/ghemical/Makefile
+++ b/science/ghemical/Makefile
@@ -9,12 +9,13 @@ PORTVERSION= 1.01
CATEGORIES= science
MASTER_SITES= http://www.uku.fi/~thassine/ghemical/download/
DISTNAME= ${PORTNAME}-${PORTVERSION}
-EXTRACT_SUFX= .tgz
+EXTRACT_SUFX= .tgz
MAINTAINER= maho@FreeBSD.org
COMMENT= Ghemical is a computational chemistry software package
-BUILD_DEPENDS= ${LOCALBASE}/lib/libmpqc.a:${PORTSDIR}/science/mpqc
+BUILD_DEPENDS= ${LOCALBASE}/lib/libmpqc.a:${PORTSDIR}/science/mpqc \
+ f2c:${PORTSDIR}/lang/f2c
LIB_DEPENDS= glut:${PORTSDIR}/graphics/libglut \
gtkgl:${PORTSDIR}/x11-toolkits/gtkglarea \
glade-gnome:${PORTSDIR}/devel/libglade
@@ -22,7 +23,7 @@ LIB_DEPENDS= glut:${PORTSDIR}/graphics/libglut \
USE_GMAKE= yes
USE_REINPLACE= yes
USE_GTK= yes
-GNU_CONFIGURE= yes
+GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-mpqc
USE_AUTOCONF= yes
@@ -36,6 +37,9 @@ pre-patch:
@${REINPLACE_CMD} -e 's|gtk-config|${GTK_CONFIG}|g; s|-lgtk|-lgtk12|g;' \
${WRKSRC}/Makefile.in
pre-build:
+ @${REINPLACE_CMD} -e 's|MAXHEV=60, MAXLIT=60|MAXHEV=90, MAXLIT=90|g;' \
+ ${WRKSRC}/miniMOPAC/fortran/SIZES
+ (cd ${WRKSRC}/miniMOPAC ; ${SH} ${FILESDIR}/ghemical-f2c.sh)
@${REINPLACE_CMD} -e 's|f2c.h|g2c.h|g;' ${WRKSRC}/miniMOPAC/*.c
@${REINPLACE_CMD} -e 's|f2c.h|g2c.h|g;' ${WRKSRC}/src/common/qm1e_mopac.cpp
.include <bsd.port.mk>
OpenPOWER on IntegriCloud