1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Update to 0.4.1

PR:		ports/89616
Submitted by:	Erik Greenwald <erik@smluc.org> (maintainer)
This commit is contained in:
Pav Lucistnik 2005-11-29 00:09:52 +00:00
parent 653aef86bc
commit 1c0e2ae331
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=149846
4 changed files with 12 additions and 31 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= gl
PORTVERSION= 0.4
PORTVERSION= 0.4.1
CATEGORIES= graphics scheme
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gauche
@ -30,15 +30,19 @@ DOCSDIR= ${PREFIX}/share/doc/gauche/${PORTNAME}
PLIST_SUB= VERSION="`gauche-config -V`" \
TARGET="${CONFIGURE_TARGET}"
.if !defined(NOPORTDOCS)
INFO= gauche-gl-refe gauche-gl-refj
.endif
do-install:
cd ${WRKSRC}/src; ${MAKE} ${INSTALL_TARGET}
cd ${WRKSRC}/lib; ${MAKE} ${INSTALL_TARGET}
post-install:
.if !defined(NOPORTDOCS)
.for info in gauche-gl-refe.info gauche-gl-refj.info
${GZCAT} ${WRKSRC}/doc/${info}.gz >${PREFIX}/info/${info}
install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
.for i in gauche-gl-refe.info gauche-gl-refj.info
${GZCAT} ${WRKSRC}/doc/${i}.gz >${PREFIX}/info/${i}
install-info ${PREFIX}/info/${i} ${PREFIX}/info/dir
.endfor
${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}

View File

@ -1,2 +1,3 @@
MD5 (Gauche-gl-0.4.tgz) = 11b2f49ee8344308d8c69b2bbc3282a6
SIZE (Gauche-gl-0.4.tgz) = 939391
MD5 (Gauche-gl-0.4.1.tgz) = a51b19a0f16f88ed6cd85c6e49cc6e75
SHA256 (Gauche-gl-0.4.1.tgz) = e4350d5d0e53374306e84af772724ebbaa34ec2d47950f16dbe069c4fa1d4d04
SIZE (Gauche-gl-0.4.1.tgz) = 940134

View File

@ -1,18 +0,0 @@
--- src/glext-lib.stub.orig Fri Jun 10 13:27:17 2005
+++ src/glext-lib.stub Wed Jul 13 22:18:47 2005
@@ -524,6 +524,7 @@
"GLint nstrings = Scm_Length(strings); int i = 0;
GLint *lengths;
GLcharARB **ss;
+ ScmObj sp;
ENSURE(glShaderSourceARB);
if (nstrings < 0) goto einval;
lengths = SCM_NEW_ATOMIC2(GLint*, nstrings*sizeof(GLint));
@@ -531,7 +532,6 @@
input parameter, and we don't need this array after calling
glShaderSourceARB. */
ss = SCM_NEW_ATOMIC2(GLcharARB**, nstrings*sizeof(GLcharARB*));
- ScmObj sp;
SCM_FOR_EACH(sp, strings) {
if (!SCM_STRINGP(SCM_CAR(sp))) goto einval;
lengths[i] = SCM_STRING_SIZE(SCM_CAR(sp));

View File

@ -5,13 +5,8 @@ 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
share/gauche/%%VERSION%%/lib/gl/simple-image.scm
@dirrm share/gauche/%%VERSION%%/lib/gl
%%PORTDOCS%%@unexec install-info --delete %D/info/gauche-gl-refe.info %D/info/dir
%%PORTDOCS%%@unexec install-info --delete %D/info/gauche-gl-refj.info %D/info/dir
%%PORTDOCS%%info/gauche-gl-refe.info
%%PORTDOCS%%info/gauche-gl-refj.info
%%PORTDOCS%%@exec install-info %D/info/gauche-gl-refe.info %D/info/dir
%%PORTDOCS%%@exec install-info %D/info/gauche-gl-refj.info %D/info/dir
%%PORTDOCS%%%%EXAMPLESDIR%%/gears.scm
%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/README
%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example1-2.scm
@ -67,7 +62,6 @@ share/gauche/%%VERSION%%/lib/gl/math3d.scm
%%PORTDOCS%%%%EXAMPLESDIR%%/slbook/ogl2particle/particle.vert
%%PORTDOCS%%%%EXAMPLESDIR%%/slbook/ogl2particle/README.txt
%%PORTDOCS%%%%EXAMPLESDIR%%/slbook/README
%%PORTDOCS%%%%EXAMPLESDIR%%/images/foo.scm
%%PORTDOCS%%%%EXAMPLESDIR%%/images/noturn.rgb
%%PORTDOCS%%%%EXAMPLESDIR%%/images/flower.rgb
%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example8-6.scm