aboutsummaryrefslogtreecommitdiffstats
path: root/science/medit/files
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2010-10-17 22:45:12 +0800
committerthierry <thierry@FreeBSD.org>2010-10-17 22:45:12 +0800
commit5dda8750bbb257fa1377c7a5cd3b660773d496d2 (patch)
tree4f5478a4f2d4b8aa907575cfbd30735ebfb2e591 /science/medit/files
parent4953c2ca61388bddf83cb6e44bf0d0f9790ba14c (diff)
downloadfreebsd-ports-graphics-5dda8750bbb257fa1377c7a5cd3b660773d496d2.tar.gz
freebsd-ports-graphics-5dda8750bbb257fa1377c7a5cd3b660773d496d2.tar.zst
freebsd-ports-graphics-5dda8750bbb257fa1377c7a5cd3b660773d496d2.zip
Upgrade to 2010.06.14, aka 3.0a.
We are now allowed by the author to distribute the sources.
Diffstat (limited to 'science/medit/files')
-rw-r--r--science/medit/files/patch-makefile28
-rw-r--r--science/medit/files/patch-sources_medit.h9
2 files changed, 23 insertions, 14 deletions
diff --git a/science/medit/files/patch-makefile b/science/medit/files/patch-makefile
index 0612fe6b02b..dc48b5cdc69 100644
--- a/science/medit/files/patch-makefile
+++ b/science/medit/files/patch-makefile
@@ -1,18 +1,17 @@
---- makefile.orig Tue Apr 11 13:05:23 2006
-+++ makefile Sun Sep 24 16:43:05 2006
-@@ -4,6 +4,7 @@
+--- makefile.orig 2008-12-15 20:17:56.000000000 +0100
++++ makefile 2010-10-16 20:05:32.000000000 +0200
+@@ -3,6 +3,7 @@
+
default:
@echo "Type one of the following:"
- @echo " make macosx for Apple Mac OS X"
+ @echo " make FreeBSD for FreeBSD"
- @echo " make linux for Linux on Intel systems"
- @echo " make win32 for Windows XP"
- @echo " make hpux10 for HP systems with HPUX 10.x w/OpenGL"
-@@ -23,6 +24,16 @@
- "GLUT_LIB = -framework GLUT \
- -framework OpenGL -framework Cocoa" \
- "EXEDIR = /Applications/medit.app/Contents/MacOS"
-+
+ @echo " make macosx for Apple Mac OS X"
+ @echo " make macosx-x64 for Apple Mac OS X 64 bits"
+ @echo " make macosx-ub for Apple Mac OS X Universal binary"
+@@ -52,6 +53,16 @@
+ -framework OpenGL -framework Cocoa" \
+ "EXEDIR = /Applications/medit.app/Contents/MacOS"
+
+FreeBSD:
+ $(MAKE) $(MFLAGS) -f Makefile.arch \
+ "prog = medit" \
@@ -21,7 +20,8 @@
+ "GL_LIB = -lGL" \
+ "GLU_LIB = -lGLU" \
+ "GLUT_LIB = -lglut" \
-+ "EXEDIR = $(WRKSRC)/bin/$(ARCH)/$(OSREL)"
-
++ "EXEDIR = $(WRKSRC)/bin"
++
linux:
$(MAKE) $(MFLAGS) -f Makefile.arch \
+ "prog = medit-2.3-linux"\
diff --git a/science/medit/files/patch-sources_medit.h b/science/medit/files/patch-sources_medit.h
new file mode 100644
index 00000000000..decc6dfb66d
--- /dev/null
+++ b/science/medit/files/patch-sources_medit.h
@@ -0,0 +1,9 @@
+--- sources/medit.h.orig 2007-11-30 16:31:20.000000000 +0100
++++ sources/medit.h 2010-10-17 14:53:46.000000000 +0200
+@@ -88,4 +88,4 @@
+
+
+
+-#endif
+\ No newline at end of file
++#endif