From owner-svn-ports-head@FreeBSD.ORG Sat Aug 23 16:12:56 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4EF033EA; Sat, 23 Aug 2014 16:12:56 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 39B253263; Sat, 23 Aug 2014 16:12:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7NGCuqb097864; Sat, 23 Aug 2014 16:12:56 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7NGCtPZ097858; Sat, 23 Aug 2014 16:12:55 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <201408231612.s7NGCtPZ097858@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Sat, 23 Aug 2014 16:12:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r365749 - head/graphics/gauche-gl X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Aug 2014 16:12:56 -0000 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 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