head	1.12;
access;
symbols
	RELEASE_8_3_0:1.11
	RELEASE_9_0_0:1.11
	RELEASE_7_4_0:1.11
	RELEASE_8_2_0:1.11
	RELEASE_6_EOL:1.11
	RELEASE_8_1_0:1.11
	RELEASE_7_3_0:1.11
	RELEASE_8_0_0:1.11
	RELEASE_7_2_0:1.11
	RELEASE_7_1_0:1.8
	RELEASE_6_4_0:1.8
	RELEASE_5_EOL:1.8
	RELEASE_7_0_0:1.7
	RELEASE_6_3_0:1.7
	PRE_XORG_7:1.7
	RELEASE_4_EOL:1.6
	RELEASE_6_2_0:1.5
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.3
	RELEASE_5_3_0:1.3
	RELEASE_4_10_0:1.3
	RELEASE_5_2_1:1.3
	RELEASE_5_2_0:1.3
	RELEASE_4_9_0:1.3
	RELEASE_5_1_0:1.2
	RELEASE_4_8_0:1.2
	RELEASE_5_0_0:1.2
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.2
	RELEASE_4_5_0:1.2
	RELEASE_4_4_0:1.2
	RELEASE_4_3_0:1.2
	RELEASE_4_2_0:1.2
	RELEASE_4_1_1:1.2
	RELEASE_4_1_0:1.2
	RELEASE_3_5_0:1.2
	RELEASE_4_0_0:1.1.1.1
	RELEASE_3_4_0:1.1.1.1
	RELEASE_3_3_0:1.1.1.1
	RELEASE_3_2_0:1.1.1.1
	v3_4:1.1.1.1
	MIYAMOTO:1.1.1;
locks; strict;
comment	@# @;


1.12
date	2012.12.01.00.56.19;	author svnexp;	state dead;
branches;
next	1.11;

1.11
date	2009.01.05.17.27.23;	author pav;	state Exp;
branches;
next	1.10;

1.10
date	2008.11.11.02.21.28;	author wxs;	state Exp;
branches;
next	1.9;

1.9
date	2008.11.04.21.55.39;	author wxs;	state dead;
branches;
next	1.8;

1.8
date	2008.04.19.17.46.46;	author miwi;	state Exp;
branches;
next	1.7;

1.7
date	2007.04.24.10.24.51;	author clsung;	state Exp;
branches;
next	1.6;

1.6
date	2007.01.09.01.47.06;	author maho;	state Exp;
branches;
next	1.5;

1.5
date	2006.09.17.13.41.56;	author thierry;	state Exp;
branches;
next	1.4;

1.4
date	2005.12.01.14.42.44;	author barner;	state Exp;
branches;
next	1.3;

1.3
date	2003.07.19.04.17.06;	author maho;	state Exp;
branches;
next	1.2;

1.2
date	2000.06.07.16.59.46;	author will;	state Exp;
branches;
next	1.1;

1.1
date	99.05.07.06.57.52;	author taoka;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.05.07.06.57.52;	author taoka;	state Exp;
branches;
next	;


desc
@@


1.12
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308042
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308042 | sperber | 2012-11-30 23:51:49 +0000 (Fri, 30 Nov 2012) | 9 lines
## SVN ##
## SVN ## - Update to version 5.0.2
## SVN ## - Add MAKE_JOBS_UNSAFE
## SVN ## - Convert to optionsng
## SVN ##
## SVN ## PR:           ports/171970
## SVN ## Submitted by: KATO Tsuguru <tkato432 _at_ yahoo.com>
## SVN ## Approved by:  beat (mentor)
## SVN ## Feature safe: yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@--- makefile.orig	2008-06-24 15:44:16.000000000 +0200
+++ makefile	2008-11-10 22:53:22.000000000 +0100
@@@@ -12,9 +12,19 @@@@
 #
 #	Disregard compiler warnings on rdmolf.f
 #
-CC = cc
+#CC = cc
 LIBS =  -lX11 -lm
-LIBSG = -L/usr/X11R6/lib -lGLU -lGL -lXmu -lX11 -lm
+LIBSG = -L${LOCALBASE}/lib -lGLU -lGL -lXmu -lX11 -lm
+
+###
+# FreeBSD
+#CC = gcc
+CFLAGS += -c -DDOBACK -DHASTIMER -I${LOCALBASE}/include
+#FC = f77
+FFLAGS += #-Wno-globals -fno-globals
+LIBS =  -L${LOCALBASE}/lib -lX11 -lm
+LDR = ${FC}
+###
 
 # Silicon Graphics
 #CFLAGS = -c -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0
@@@@ -52,11 +66,11 @@@@
 # with GCC4.0 or higher replace the line with:
 # 'external gfortran_iargc'
 #
-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
 #
@@@@ -191,7 +205,7 @@@@
 # and the full opengl version of molden 'gmolden', (does not need glut)
 # (make gmolden)
 #
-LIBSOGL = -lglut -lGLU -lGL -lXmu -lX11 -lm
+LIBSOGL = -L${LOCALBASE}/lib -lglut -lGLU -lGL -lXmu -lX11 -lm
 #
 # on linux :
 #
@@@@ -227,7 +241,7 @@@@
 	$(MAKE) -C ambfor
 
 surf/surf:	surf/*.h surf/*.c
-	$(MAKE) -C surf depend
+	#$(MAKE) -C surf depend
 	$(MAKE) -C surf
 
 # noxwin will not work as long as the old ocglbck calls arent in dummys
@


1.11
log
@- Remove conditional checks relevant only on FreeBSD 5.x and older
@
text
@@


1.10
log
@- Roll back to 4.6 as 4.7 is the development version and is constantly being
  re-rolled.
- Move post-patch target into files/patch-xwin.c to remove sed invocation.
- Respect NOPORTDATA and DATADIR.
- Bring files/patch-aa back (to preserve history) and retire patch-makefile.
- Fixup files/patch-xwin.c so it applies cleanly to this version.
@
text
@d3 1
a3 1
@@@@ -12,9 +12,23 @@@@
a17 3
+.if ${OSVERSION} < 400005
+FFLAGS += -Nn802 -Nx400
+.else
a18 1
+.endif
@


1.9
log
@Update to 4.7

PR:		ports/128476
Submitted by:	fulvio ciriaco <oivulf@@gmail.com>
@
text
@d1 3
a3 3
--- makefile.orig	Thu Sep  7 19:55:00 2006
+++ makefile	Tue Apr 24 16:40:19 2007
@@@@ -12,9 +12,27 @@@@
a17 4
+.if ${MACHINE_ARCH} == i386
+FFLAGS += -malign-double
+CFLAGS += -malign-double
+.endif
d29 3
a31 3
@@@@ -46,11 +64,11 @@@@
 # when using gfortran, replace g77 with gfortran and comment out the line
 # 'external iargc' in molden.f
d46 2
a47 2
@@@@ -178,7 +196,7 @@@@
 # and the full opengl version of molden 'gmolden'
d55 2
a56 3
@@@@ -201,7 +219,7 @@@@
 #
 #LIBSG = -L/usr/X11R6/lib -Wl,-framework -Wl,GLUT -Wl,-framework -Wl,OpenGL -Wl,-framework -Wl,Cocoa -lGLU -lGL -lXmu -lX11 -lm
d58 4
a61 2
-
+all: molden moldenogl
d63 1
a63 2
 molden:	$(OBJS) mpdum.o xwin.o 
 	$(LDR) -o molden $(OBJS) $(SOBJ) mpdum.o xwin.o $(LIBS)
@


1.8
log
@- 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)
@
text
@@


1.7
log
@- Update to 4.5
@
text
@d11 1
a11 1
+LIBSG = -L${X11BASE}/lib -lGLU -lGL -lXmu -lX11 -lm
d16 1
a16 1
+CFLAGS += -c -DDOBACK -DHASTIMER -I${X11BASE}/include
d27 1
a27 1
+LIBS =  -L${X11BASE}/lib -lX11 -lm
d55 1
a55 1
+LIBSOGL = -L${X11BASE}/lib -lglut -lGLU -lGL -lXmu -lX11 -lm
@


1.6
log
@Migrated to gfortran.
@
text
@d1 2
a2 2
--- makefile.orig	Mon Jul 10 13:48:03 2006
+++ makefile	Sun Sep 17 14:53:34 2006
d50 3
a52 3
@@@@ -176,7 +194,7 @@@@
 # For The OpenGL Graphics library molden helper 'moldenogl'
 # (make moldenogl)
d59 1
a59 1
@@@@ -195,6 +213,8 @@@@
d61 3
a63 3
 #LIBSG = -L/usr/X11R6/lib -framework GLUT -framework OpenGL -framework Cocoa
 #
+
@


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

Changelog at <http://www.cmbi.ru.nl/molden/HISTORY>.
@
text
@d25 1
a25 1
+FFLAGS += -Wno-globals -fno-globals
@


1.4
log
@- Unbreak by updating to 4.4
- Add dependecy to MESA

PR:		ports/89795
Submitted by:	Johan van Selst <johans@@stack.nl>
@
text
@d1 3
a3 3
--- makefile.orig	Wed Nov  2 16:35:57 2005
+++ makefile	Thu Dec  1 15:11:18 2005
@@@@ -12,14 +12,32 @@@@
d28 1
a28 1
+LDR = f77
d32 17
a48 8
-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 )
d50 1
a50 1
@@@@ -168,7 +186,7 @@@@
d59 1
a59 1
@@@@ -187,6 +205,8 @@@@
@


1.3
log
@enhancement, build and install the opengl viewer, moldenogl.
update to 3.9, not 3.8, which is newer :)

Committed by maintainer timeout:
> Sat Apr  5 17:46:57 EST 2003 - edwin - informed maintainer

PR:		47177
Submitted by:	Glenn Johnson <gjohnson@@srrc.ars.usda.gov>
@
text
@d1 3
a3 6

$FreeBSD$

--- makefile.orig	Tue Nov  5 04:43:01 2002
+++ makefile	Fri Jan 17 16:04:35 2003
@@@@ -12,13 +12,31 @@@@
a7 1
-LIBS =  -lX11 -lm
d9 3
a11 1
+#LIBS =  -lX11 -lm
d16 1
a16 1
+CFLAGS += -c -DDOBACK -DHASTIMER -I/usr/X11R6/include
d27 1
a27 1
+LIBS =  -L/usr/X11R6/lib -lX11 -lm
d41 1
a41 1
@@@@ -160,7 +178,7 @@@@
d45 2
a46 2
-LIBSG = -lglut -lGLU -lGL -lXmu -lX11 -lm
+LIBSG = -L${X11BASE}/lib -lglut -lGLU -lGL -lXmu -lX11 -lm
d50 1
a50 1
@@@@ -170,6 +188,8 @@@@
d52 1
a52 1
 #LIBSG = -L/usr/X11R6/lib -lglut -lMesaGLU -lMesaGL -lXmu -lXi -lX11 -lm
d57 1
a57 1
 molden:	$(OBJS) $(SOBJ) mpdum.o xwin.o 
@


1.2
log
@Update to 3.6.

PR:		19091
Submitted by:	MAINTAINER
@
text
@d1 60
a60 71
*** makefile.orig	Mon Jan 24 23:28:24 2000
--- makefile	Wed Jun  7 04:25:36 2000
***************
*** 12,19 ****
  #
  #	Disregard compiler warnings on rdmolf.f
  #
! CC = cc
! LIBS =  -lX11 -lm
  
  # Ultrix, Dec Alpha, Linux ( and best start for Unix other than below )
  #
--- 12,37 ----
  #
  #	Disregard compiler warnings on rdmolf.f
  #
! #CC = cc
! #LIBS =  -lX11 -lm
! 
! ###
! # FreeBSD
! #CC = gcc
! CFLAGS += -c -DDOBACK -DHASTIMER -I/usr/X11R6/include
! #FC = f77
! .if ${MACHINE_ARCH} == i386
! FFLAGS += -malign-double
! CFLAGS += -malign-double
! .endif
! .if ${OSVERSION} < 400005
! FFLAGS += -Nn802 -Nx400
! .else
! FFLAGS += -Wno-globals -fno-globals
! .endif
! LIBS =  -L/usr/X11R6/lib -lX11 -lm
! LDR = f77
! ###
  
  # Ultrix, Dec Alpha, Linux ( and best start for Unix other than below )
  #
***************
*** 49,57 ****
  
  
  # Silicon Graphics
! CFLAGS = -c -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0
! FFLAGS =   
! LDR = f77 
  
  # AIX
  #
--- 67,75 ----
  
  
  # Silicon Graphics
! #CFLAGS = -c -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0
! #FFLAGS =   
! #LDR = f77 
  
  # AIX
  #
***************
*** 138,143 ****
--- 156,163 ----
  # on linux with older Mesa installations try:
  #LIBSG = -L/usr/X11R6/lib -lglut -lMesaGLU -lMesaGL -lXmu -lXi -lX11 -lm
  #
+ 
+ all: molden
  
  molden:	$(OBJS) $(SOBJ) mpdum.o xwin.o 
  	$(LDR) -o molden $(OBJS) $(SOBJ) mpdum.o xwin.o $(LIBS)
@


1.1
log
@Initial revision
@
text
@d1 2
a2 2
*** makefile.orig	Fri Dec 20 02:17:40 1996
--- makefile	Wed Apr 30 23:24:13 1997
d4 3
a6 3
*** 4,11 ****
  #	of the shaded plots, this can vary over X-servers
  #       (You can always override it with the command line flag -c0.25)
d12 4
a15 4
  #CFLAGS = -c -DDOBACK -DHASTIMER 
--- 4,21 ----
  #	of the shaded plots, this can vary over X-servers
  #       (You can always override it with the command line flag -c0.25)
d22 2
a23 2
! CC = gcc
! CFLAGS = -c -O2 -DDOBACK -DHASTIMER -I/usr/X11R6/include
d25 9
a33 1
! FFLAGS = -O2 -Nn802 -Nx400
d39 1
a39 1
  #CFLAGS = -c -DDOBACK -DHASTIMER 
d41 2
a42 2
*** 20,28 ****
  #LDR = fort77   
d46 2
a47 2
! FFLAGS = 
! LDR = f77
d51 2
a52 2
--- 30,38 ----
  #LDR = fort77   
d56 2
a57 2
! #FFLAGS = 
! #LDR = f77
d62 5
a66 5
*** 104,109 ****
--- 114,121 ----
  
  #If Silicon Graphics Graphics library version needed (You can do without )
  #SOBJ =	silly.o
d68 1
a68 1
+ all:	molden
d70 2
a71 2
  molden:	$(OBJS) $(SOBJ) xwin.o 
  	$(LDR) -o molden $(OBJS) $(SOBJ) xwin.o $(LIBS)
@


1.1.1.1
log
@display molecular orbitals and electron densities in 2D and 3D

Submitted by:	rmiya@@cc.hirosaki-u.ac.jp (Ryo MIYAMOTO)
@
text
@@
