diff options
author | nork <nork@FreeBSD.org> | 2003-01-25 22:06:53 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2003-01-25 22:06:53 +0800 |
commit | e3e66af9a23016ec1a3bd3bacfc1260eb5d2f70c (patch) | |
tree | 9b6be05017cc9086edc97f9264dd7d1756e7b61a /graphics/gauche-gl | |
parent | 63055fa6cf89304bd4d6a18cbcab96112525b759 (diff) | |
download | freebsd-ports-gnome-e3e66af9a23016ec1a3bd3bacfc1260eb5d2f70c.tar.gz freebsd-ports-gnome-e3e66af9a23016ec1a3bd3bacfc1260eb5d2f70c.tar.zst freebsd-ports-gnome-e3e66af9a23016ec1a3bd3bacfc1260eb5d2f70c.zip |
Add gauche-gl 0.2.1, openGL binding for Gauche.
PR: ports/46285
Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Diffstat (limited to 'graphics/gauche-gl')
-rw-r--r-- | graphics/gauche-gl/Makefile | 45 | ||||
-rw-r--r-- | graphics/gauche-gl/distinfo | 1 | ||||
-rw-r--r-- | graphics/gauche-gl/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/gauche-gl/pkg-descr | 3 | ||||
-rw-r--r-- | graphics/gauche-gl/pkg-message | 7 | ||||
-rw-r--r-- | graphics/gauche-gl/pkg-plist | 54 |
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 |