Unbreak: molden has been updated on Aug 17, with the same DISTNAME.

Changelog at <http://www.cmbi.ru.nl/molden/HISTORY>.
This commit is contained in:
Thierry Thomas 2006-09-17 13:41:56 +00:00
parent 71aaf40e4a
commit 41a8cea837
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173242
4 changed files with 35 additions and 23 deletions

View File

@ -7,29 +7,31 @@
PORTNAME= molden
PORTVERSION= 4.4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= biology
MASTER_SITES= ftp://ftp.cmbi.kun.nl/pub/molgraph/molden/
DISTNAME= ${PORTNAME}${PORTVERSION}
EXTRACT_SUFX= .tar.Z
DIST_SUBDIR= ${PKGNAME}
EXTRACT_ONLY= ${PORTNAME}${PORTVERSION}.tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Display molecular orbitals and electron densities in 2D and 3D
BROKEN= Size mismatch
DEPRECATED= ${BROKEN}
EXPIRATION_DATE=2006-12-01
LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut
USE_XLIB= yes
RESTRICTED= "free for academic, non profit usage; do not re-distribute source and executable."
RESTRICTED= free for academic, non profit usage; do not re-distribute source and executable.
MAKEFILE= ${WRKSRC}/makefile
MAKE_ENV= FC=${F77}
.include <bsd.port.pre.mk>
.if !${OSVERSION} < 500039
F77?= f77
.endif
post-patch:
${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' ${WRKSRC}/xwin.c

View File

@ -1,3 +1,3 @@
MD5 (molden4.4.tar.Z) = 5f982a82af2b21cfbc4be85dfca3b9fa
SHA256 (molden4.4.tar.Z) = ccd07510c8632e30bb3dadb574d7eeebbd765ddfe3aeb6c3692650ccd7823474
SIZE (molden4.4.tar.Z) = 3428228
MD5 (molden-4.4_2/molden4.4.tar.Z) = c50e5b4baf9cc453702fbc63649cfe44
SHA256 (molden-4.4_2/molden4.4.tar.Z) = 0eadbe629485d408440586aed81f7761c354636a2a36ae996e1f21a2c59db23a
SIZE (molden-4.4_2/molden4.4.tar.Z) = 3556861

View File

@ -1,6 +1,6 @@
--- makefile.orig Wed Nov 2 16:35:57 2005
+++ makefile Thu Dec 1 15:11:18 2005
@@ -12,14 +12,32 @@
--- makefile.orig Mon Jul 10 13:48:03 2006
+++ makefile Sun Sep 17 14:53:34 2006
@@ -12,9 +12,27 @@
#
# Disregard compiler warnings on rdmolf.f
#
@ -25,20 +25,29 @@
+FFLAGS += -Wno-globals -fno-globals
+.endif
+LIBS = -L${X11BASE}/lib -lX11 -lm
+LDR = f77
+LDR = ${FC}
+###
# Silicon Graphics
-CFLAGS = -c -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0
-FFLAGS =
-LDR = f77
+#CFLAGS = -c -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0
+#FFLAGS =
+#LDR = f77
# Ultrix, Dec Alpha, Linux ( and best start for Unix other than below )
#CFLAGS = -c -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0
@@ -46,11 +64,11 @@
# when using gfortran, replace g77 with gfortran and comment out the line
# 'external iargc' in molden.f
#
@@ -168,7 +186,7 @@
-CFLAGS = -c -I/usr/X11R6/include -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0
-FC = g77
-FFLAGS =
-LIBS = -L/usr/X11R6/lib -lX11 -lm
-LDR = g77
+#CFLAGS = -c -I/usr/X11R6/include -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0
+#FC = g77
+#FFLAGS =
+#LIBS = -L/usr/X11R6/lib -lX11 -lm
+#LDR = g77
# 64 bit machines:
#LIBS = -L/usr/X11R6/lib64 -lX11 -lm
#
@@ -176,7 +194,7 @@
# For The OpenGL Graphics library molden helper 'moldenogl'
# (make moldenogl)
#
@ -47,7 +56,7 @@
#
# on linux :
#
@@ -187,6 +205,8 @@
@@ -195,6 +213,8 @@
#
#LIBSG = -L/usr/X11R6/lib -framework GLUT -framework OpenGL -framework Cocoa
#

View File

@ -29,6 +29,7 @@ bin/moldenogl
%%PORTDOCS%%share/molden/test/mopac.freq
%%PORTDOCS%%share/molden/test/mopac.test
%%PORTDOCS%%share/molden/test/pdb.test
%%PORTDOCS%%share/molden/test/qchem.test
%%PORTDOCS%%share/molden/test/reacpth.xyz
%%PORTDOCS%%share/molden/test/shelx.ins
%%PORTDOCS%%share/molden/test/surface.molf