Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2014 16:12:55 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r365749 - head/graphics/gauche-gl
Message-ID:  <201408231612.s7NGCtPZ097858@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Sat Aug 23 16:12:55 2014
New Revision: 365749
URL: http://svnweb.freebsd.org/changeset/ports/365749
QAT: https://qat.redports.org/buildarchive/r365749/

Log:
  Stage.
  
  PR:		192798
  Submitted by:	Ports Fury

Modified:
  head/graphics/gauche-gl/Makefile
  head/graphics/gauche-gl/distinfo
  head/graphics/gauche-gl/pkg-descr
  head/graphics/gauche-gl/pkg-plist

Modified: head/graphics/gauche-gl/Makefile
==============================================================================
--- head/graphics/gauche-gl/Makefile	Sat Aug 23 16:07:53 2014	(r365748)
+++ head/graphics/gauche-gl/Makefile	Sat Aug 23 16:12:55 2014	(r365749)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	gl
-PORTVERSION=	0.5.1
-PORTREVISION=	2
+PORTVERSION=	0.6
 CATEGORIES=	graphics scheme
 MASTER_SITES=	SF/gauche/Gauche-gl
 PKGNAMEPREFIX=	gauche-
@@ -12,40 +11,51 @@ DISTNAME=	Gauche-${PORTNAME}-${PORTVERSI
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	OpenGL binding for Gauche
 
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 BUILD_DEPENDS=	gosh:${PORTSDIR}/lang/gauche
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-USES=		tar:tgz
-USE_XORG=	ice sm
+USES=		makeinfo tar:tgz
+USE_XORG=	ice sm x11 xext xmu xi
 USE_GL=		glut
 GNU_CONFIGURE=	yes
 MAKE_JOBS_UNSAFE=	yes
 
-EXAMPLESDIR=	${PREFIX}/share/examples/gauche/${PORTNAME}
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
 DOCSDIR=	${PREFIX}/share/doc/gauche/${PORTNAME}
+EXAMPLESDIR=	${PREFIX}/share/examples/gauche/${PORTNAME}
+
 PLIST_SUB=	TARGET="${CONFIGURE_TARGET}"
 
-.if !defined(NOPORTDOCS)
-USES+=		makeinfo
 INFO=		gauche-gl-refe gauche-gl-refj
-.endif
 
-NO_STAGE=	yes
-do-install:
-	cd ${WRKSRC}/src; ${MAKE} ${INSTALL_TARGET}
-	cd ${WRKSRC}/lib; ${MAKE} ${INSTALL_TARGET}
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+post-patch:
+.for i in configure src/gauche-gl.c src/gauche-gl.h src/glut-lib.stub
+	@${REINPLACE_CMD} -e '/glut.h/s|GLUT|GL|' ${WRKSRC}/${i}
+.endfor
 
-post-install:
-.if !defined(NOPORTDOCS)
-.for i in gauche-gl-refe.info gauche-gl-refj.info
-	${GZCAT} ${WRKSRC}/doc/${i}.gz >${PREFIX}/info/${i}
+do-install:
+.for i in src lib
+	@(cd ${WRKSRC}/${i} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \
+		${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
+.endfor
+.for i in ${INFO}
+	${GZCAT} ${WRKSRC}/doc/${i}.info.gz \
+		> ${STAGEDIR}${PREFIX}/${INFO_PATH}/${i}.info
 .endfor
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
-.if !defined(NOPORTEXAMPLES)
-	${MKDIR} ${EXAMPLESDIR}
-	${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} README \
+		${STAGEDIR}${DOCSDIR})
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \
+		${STAGEDIR}${EXAMPLESDIR})
+	@(cd ${STAGEDIR}${PREFIX}/lib/gauche-0.9/site/${CONFIGURE_TARGET} && \
+		${STRIP_CMD} libgauche-*.so)
 
 .include <bsd.port.mk>

Modified: head/graphics/gauche-gl/distinfo
==============================================================================
--- head/graphics/gauche-gl/distinfo	Sat Aug 23 16:07:53 2014	(r365748)
+++ head/graphics/gauche-gl/distinfo	Sat Aug 23 16:12:55 2014	(r365749)
@@ -1,2 +1,2 @@
-SHA256 (Gauche-gl-0.5.1.tgz) = 7f17f1d31afba83d374f31e49f025149dcec271b4d56279cd0f871b814176c68
-SIZE (Gauche-gl-0.5.1.tgz) = 1161233
+SHA256 (Gauche-gl-0.6.tgz) = cea07a8ff82056a980f6f626f43ab36dbf05ed8057f570bb3a4c6abf5ba6d297
+SIZE (Gauche-gl-0.6.tgz) = 1369790

Modified: head/graphics/gauche-gl/pkg-descr
==============================================================================
--- head/graphics/gauche-gl/pkg-descr	Sat Aug 23 16:07:53 2014	(r365748)
+++ head/graphics/gauche-gl/pkg-descr	Sat Aug 23 16:12:55 2014	(r365749)
@@ -1,3 +1,3 @@
 This is a Gauche extension module to use OpenGL.
 
-WWW:	http://practical-scheme.net/gauche/
+WWW: http://practical-scheme.net/gauche/

Modified: head/graphics/gauche-gl/pkg-plist
==============================================================================
--- head/graphics/gauche-gl/pkg-plist	Sat Aug 23 16:07:53 2014	(r365748)
+++ head/graphics/gauche-gl/pkg-plist	Sat Aug 23 16:12:55 2014	(r365749)
@@ -2,12 +2,6 @@ lib/gauche-0.9/site/%%TARGET%%/libgauche
 lib/gauche-0.9/site/%%TARGET%%/libgauche-glut.so
 lib/gauche-0.9/site/%%TARGET%%/libgauche-math3d.so
 lib/gauche-0.9/site/include/gauche/math3d.h
-share/gauche-0.9/site/lib/gl.scm
-share/gauche-0.9/site/lib/gl/glut.scm
-share/gauche-0.9/site/lib/gl/math3d.scm
-share/gauche-0.9/site/lib/gl/simple-image.scm
-share/gauche-0.9/site/lib/gl/simple/image.scm
-share/gauche-0.9/site/lib/gl/simple/viewer.scm
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/cg/README
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/cg/cg-gl-vertex-example.cg
@@ -66,6 +60,7 @@ share/gauche-0.9/site/lib/gl/simple/view
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/noturn.rgb
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/mandelbrot.scm
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple/minimum-viewer.scm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple/minimum-viewer-2d.scm
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/slbook/README
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/slbook/ogl2brick/3Dlabs-License.txt
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/slbook/ogl2brick/README.txt
@@ -79,6 +74,16 @@ share/gauche-0.9/site/lib/gl/simple/view
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/slbook/ogl2particle/particle.frag
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/slbook/ogl2particle/particle.vert
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/slbook/ogl2particle/run.sh
+share/gauche-0.9/site/lib/gl.scm
+share/gauche-0.9/site/lib/gl/glut.scm
+share/gauche-0.9/site/lib/gl/math3d.scm
+share/gauche-0.9/site/lib/gl/simple-image.scm
+share/gauche-0.9/site/lib/gl/simple/image.scm
+share/gauche-0.9/site/lib/gl/simple/viewer.scm
+@dirrm share/gauche-0.9/site/lib/gl/simple
+@dirrm share/gauche-0.9/site/lib/gl
+@dirrmtry share/gauche-0.9/site/lib
+@dirrmtry share/gauche-0.9/site
 %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/slbook/ogl2particle
 %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/slbook/ogl2brick
 %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/slbook
@@ -90,7 +95,3 @@ share/gauche-0.9/site/lib/gl/simple/view
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrmtry lib/gauche-0.9/site/include/gauche
 @dirrmtry lib/gauche-0.9/site/include
-@dirrmtry share/gauche-0.9/site/lib/gl/simple
-@dirrmtry share/gauche-0.9/site/lib/gl
-@dirrmtry share/gauche-0.9/site/lib
-@dirrmtry share/gauche-0.9/site



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408231612.s7NGCtPZ097858>