summaryrefslogtreecommitdiff
path: root/graphics/gauche-gl
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-01-25 14:06:53 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-01-25 14:06:53 +0000
commit77b7ddc4d9ff71f15230bd9f81a5b839c0e96df2 (patch)
treeae6454a48b56d4d3b1b957409c53c7a2cc455571 /graphics/gauche-gl
parentUpdate to 0.2.4. (diff)
Add gauche-gl 0.2.1, openGL binding for Gauche.
PR: ports/46285 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Notes
Notes: svn path=/head/; revision=73984
Diffstat (limited to 'graphics/gauche-gl')
-rw-r--r--graphics/gauche-gl/Makefile45
-rw-r--r--graphics/gauche-gl/distinfo1
-rw-r--r--graphics/gauche-gl/pkg-comment1
-rw-r--r--graphics/gauche-gl/pkg-descr3
-rw-r--r--graphics/gauche-gl/pkg-message7
-rw-r--r--graphics/gauche-gl/pkg-plist54
6 files changed, 111 insertions, 0 deletions
diff --git a/graphics/gauche-gl/Makefile b/graphics/gauche-gl/Makefile
new file mode 100644
index 000000000000..dcad85021c0b
--- /dev/null
+++ b/graphics/gauche-gl/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: Gauche-gl
+# Date created: 16 December 2002
+# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gl
+PORTVERSION= 0.2.1
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= gauche
+PKGNAMEPREFIX= gauche-
+DISTNAME= Gauche-${PORTNAME}-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= fuyuki@hadaly.org
+
+BUILD_DEPENDS= gosh:${PORTSDIR}/lang/gauche
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+WRKSRC= ${WRKDIR}/Gauche-${PORTNAME}
+USE_MESA= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include"
+
+EXAMPLESDIR= ${PREFIX}/share/examples/gauche/${PORTNAME}
+DOCSDIR= ${PREFIX}/share/doc/gauche/${PORTNAME}
+PLIST_SUB= VERSION="`gauche-config -V`" \
+ TARGET="${CONFIGURE_TARGET}"
+
+do-install:
+ cd ${WRKSRC}/src; ${MAKE} ${INSTALL_TARGET}
+ cd ${WRKSRC}/lib; ${MAKE} ${INSTALL_TARGET}
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${EXAMPLESDIR}
+ ${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/graphics/gauche-gl/distinfo b/graphics/gauche-gl/distinfo
new file mode 100644
index 000000000000..e2534867a386
--- /dev/null
+++ b/graphics/gauche-gl/distinfo
@@ -0,0 +1 @@
+MD5 (Gauche-gl-0.2.1.tgz) = 4b19dfc940eb3381c07fc411f21f7986
diff --git a/graphics/gauche-gl/pkg-comment b/graphics/gauche-gl/pkg-comment
new file mode 100644
index 000000000000..125f24cd426a
--- /dev/null
+++ b/graphics/gauche-gl/pkg-comment
@@ -0,0 +1 @@
+OpenGL binding for Gauche
diff --git a/graphics/gauche-gl/pkg-descr b/graphics/gauche-gl/pkg-descr
new file mode 100644
index 000000000000..dc33e9671752
--- /dev/null
+++ b/graphics/gauche-gl/pkg-descr
@@ -0,0 +1,3 @@
+This is a Gauche extension module to use OpenGL.
+
+WWW: http://www.shiro.dreamhost.com/scheme/gauche/index.html
diff --git a/graphics/gauche-gl/pkg-message b/graphics/gauche-gl/pkg-message
new file mode 100644
index 000000000000..343e6919674a
--- /dev/null
+++ b/graphics/gauche-gl/pkg-message
@@ -0,0 +1,7 @@
+************************************************************************
+
+This port will require pthread-enabled gosh to run. If you are not
+sure, add GAUCHE_THREADS=pthreads to /etc/make.conf and reinstall
+lang/gauche.
+
+************************************************************************
diff --git a/graphics/gauche-gl/pkg-plist b/graphics/gauche-gl/pkg-plist
new file mode 100644
index 000000000000..5c693524bb39
--- /dev/null
+++ b/graphics/gauche-gl/pkg-plist
@@ -0,0 +1,54 @@
+lib/gauche/%%VERSION%%/%%TARGET%%/gauche-gl.so
+lib/gauche/%%VERSION%%/%%TARGET%%/gauche-glut.so
+lib/gauche/%%VERSION%%/%%TARGET%%/gauche-math3d.so
+lib/gauche/%%VERSION%%/include/gauche/math3d.h
+share/gauche/%%VERSION%%/lib/gl.scm
+share/gauche/%%VERSION%%/lib/gl/glut.scm
+share/gauche/%%VERSION%%/lib/gl/math3d.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/README
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example1-2.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example1-3.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example13-2.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example13-3.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example13-6.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example13-7.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example2-5.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example2-6.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example2-9.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example3-1.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example3-2.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example3-5.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example3-6.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example3-7.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example3-8.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example4-1.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example5-1.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example5-6.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example5-8.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example5-9.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example6-1.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example6-2.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example6-3.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example6-4.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example6-5.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example6-7.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example7-1.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example7-2.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example7-5.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example8-1.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example8-2.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example8-4.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example9-1.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example9-3.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example9-4.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example9-5.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example9-7.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example9-8.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/run
+%%PORTDOCS%%%%EXAMPLESDIR%%/mandelbrot.scm
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/glbook
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@unexec rmdir %D/share/examples/gauche 2>/dev/null || true
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@unexec rmdir %D/share/doc/gauche 2>/dev/null || true