summaryrefslogtreecommitdiff
path: root/graphics/ocaml-lablgl
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-08-12 14:41:50 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-08-12 14:41:50 +0000
commitaa4d41018acd1866999b13030a13256aaae6ecce (patch)
tree315fc7e7a1bbc6e12a22c1ad29d7fa033b6a3208 /graphics/ocaml-lablgl
parentUpdate to ocaml 3.05. (diff)
Update to version 0.98.
PR: 41318 Submitted by: Ronald Kuehn <rk@ronald.org>
Notes
Notes: svn path=/head/; revision=64423
Diffstat (limited to 'graphics/ocaml-lablgl')
-rw-r--r--graphics/ocaml-lablgl/Makefile3
-rw-r--r--graphics/ocaml-lablgl/distinfo2
-rw-r--r--graphics/ocaml-lablgl/files/patch-aa13
-rw-r--r--graphics/ocaml-lablgl/files/patch-ab25
-rw-r--r--graphics/ocaml-lablgl/pkg-plist7
5 files changed, 22 insertions, 28 deletions
diff --git a/graphics/ocaml-lablgl/Makefile b/graphics/ocaml-lablgl/Makefile
index 43ac66dca8f3..6736b20c58bb 100644
--- a/graphics/ocaml-lablgl/Makefile
+++ b/graphics/ocaml-lablgl/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= lablgl
-PORTVERSION= 0.97
+PORTVERSION= 0.98
CATEGORIES= graphics
MASTER_SITES= http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/ \
ftp://ftp.inria.fr/lang/caml-light/bazar-ocaml/
@@ -17,6 +17,7 @@ BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
RUN_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
USE_MESA= yes
+USE_GMAKE= yes
WRKSRC= ${WRKDIR}/lablGL-${PORTVERSION}
ALL_TARGET= all opt
EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME}
diff --git a/graphics/ocaml-lablgl/distinfo b/graphics/ocaml-lablgl/distinfo
index bf8af0149c5f..8bf48d10093a 100644
--- a/graphics/ocaml-lablgl/distinfo
+++ b/graphics/ocaml-lablgl/distinfo
@@ -1 +1 @@
-MD5 (lablgl-0.97.tar.gz) = e084a62ff47492cade8887f3f6b60c5b
+MD5 (lablgl-0.98.tar.gz) = c39cb9d48539397960db85229a529357
diff --git a/graphics/ocaml-lablgl/files/patch-aa b/graphics/ocaml-lablgl/files/patch-aa
deleted file mode 100644
index 5ed73713ac0c..000000000000
--- a/graphics/ocaml-lablgl/files/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
---- Makefile.orig Thu Nov 1 09:44:16 2001
-+++ Makefile Sun Jan 13 19:27:18 2002
-@@ -104,8 +104,8 @@
-
- real-install:
- if test -d $(INSTALLDIR); then : ; else mkdir -p $(INSTALLDIR); fi
-- if test `grep -s -c '^$(INSTALLDIR)$$' $(LIBDIR)/ld.conf || :` = 0; \
-- then echo $(INSTALLDIR) >> $(LIBDIR)/ld.conf; fi
-+# if test `grep -s -c '^$(INSTALLDIR)$$' $(LIBDIR)/ld.conf || :` = 0; \
-+# then echo $(INSTALLDIR) >> $(LIBDIR)/ld.conf; fi
- cp $(MLOBJS:.cmo=.cmi) $(INSTALLDIR)
- cp $(MLOBJS:.cmo=.mli) $(INSTALLDIR)
- cp liblablgl.a lablgl.cma libtogl.a togl.cma $(INSTALLDIR)
diff --git a/graphics/ocaml-lablgl/files/patch-ab b/graphics/ocaml-lablgl/files/patch-ab
index 26bc4cd5fa57..2c9893a6d007 100644
--- a/graphics/ocaml-lablgl/files/patch-ab
+++ b/graphics/ocaml-lablgl/files/patch-ab
@@ -1,6 +1,6 @@
---- Makefile.config.orig Sun Jan 13 19:30:59 2002
-+++ Makefile.config Sun Jan 13 19:44:33 2002
-@@ -7,22 +7,22 @@
+--- Makefile.config.orig Fri Aug 2 20:48:31 2002
++++ Makefile.config Fri Aug 2 20:52:28 2002
+@@ -7,28 +7,28 @@
##### Adjust these always
# Where to put the lablgl script
@@ -26,14 +26,19 @@
-GLLIBS = -lGL -lGLU
+GLLIBS = -L${X11BASE}/lib -R${X11BASE}/lib -lGL -lGLU -lXmu -lXext
# The following libraries may be required (try to add them one at a time)
- # GLLIBS = -lGL -lGLU -lXmu -lXext -lpthread
+ #GLLIBS = -lGL -lGLU -lXmu -lXext -lpthread
-@@ -45,7 +45,7 @@
- TOGLDIR = Togl
+ # How to index a library after installing (required on MacOSX)
+-RANLIB = :
+-#RANLIB = ranlib
++#RANLIB = :
++RANLIB = ranlib
+
+ ##### Uncomment these for windows
+ #TKLIBS = tk83.lib tcl83.lib gdi32.lib user32.lib
+@@ -55,4 +55,4 @@
+ #TOGLDIR = Togl
# C Compiler options
--COPTS = -c -O
+-#COPTS = -c -O
+COPTS = -c ${CFLAGS}
-
- ###### No need to change these
-
diff --git a/graphics/ocaml-lablgl/pkg-plist b/graphics/ocaml-lablgl/pkg-plist
index 70dc0c67ee4e..37af27a1573c 100644
--- a/graphics/ocaml-lablgl/pkg-plist
+++ b/graphics/ocaml-lablgl/pkg-plist
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
bin/lablgl
lib/ocaml/lablGL/raw.cmi
lib/ocaml/lablGL/gluMat.cmi
@@ -35,13 +36,11 @@ lib/ocaml/lablGL/glList.mli
lib/ocaml/lablGL/glLight.mli
lib/ocaml/lablGL/gl.mli
lib/ocaml/lablGL/togl.mli
+lib/ocaml/lablGL/lablgltop
lib/ocaml/lablGL/togl.cma
lib/ocaml/lablGL/libtogl.a
lib/ocaml/lablGL/lablgl.cma
lib/ocaml/lablGL/liblablgl.a
-lib/ocaml/lablGL/lablgltop
-lib/ocaml/lablGL/dlltogl.so
-lib/ocaml/lablGL/dlllablgl.so
lib/ocaml/lablGL/lablgl.cmxa
lib/ocaml/lablGL/gluMat.cmx
lib/ocaml/lablGL/gluTess.cmx
@@ -64,6 +63,8 @@ lib/ocaml/lablGL/togl.a
lib/ocaml/lablGL/togl.cmxa
lib/ocaml/lablGL/lablgl.a
lib/ocaml/lablGL/togl.cmx
+lib/ocaml/stublibs/dlllablgl.so
+lib/ocaml/stublibs/dlltogl.so
%%PORTDOCS%%share/doc/ocaml/lablgl/README
share/examples/ocaml/lablgl/Makefile
share/examples/ocaml/lablgl/README