Date: Fri, 07 Jun 2013 16:05:48 +0200 From: nemysis <nemysis@gmx.ch> To: FreeBSD-gnats-submit@freebsd.org Cc: lichray@gmail.com Subject: ports/179404: [PATCH] graphics/pure-gl: New Uses pure, add license Message-ID: <20130607140554.4805E9B5@hub.freebsd.org> Resent-Message-ID: <201306071410.r57EA0Eq037109@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 179404 >Category: ports >Synopsis: [PATCH] graphics/pure-gl: New Uses pure, add license >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jun 07 14:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.1-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 >Description: - Bump portrevision - Shorten header - Trim master sites - Add license - New Uses pure:ffi - Add docs and examples - Trim pkg-descr Port maintainer (lichray@gmail.com) is cc'd. Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_7 (mode: change, diff: ports) >How-To-Repeat: Build log https://redports.org/buildarchive/20130607021301-342/ >Fix: --- pure-gl-0.8_3.patch begins here --- diff -ruN /usr/ports/graphics/pure-gl/Makefile ./Makefile --- /usr/ports/graphics/pure-gl/Makefile 2013-06-02 18:52:59.000000000 +0200 +++ ./Makefile 2013-06-07 16:00:39.000000000 +0200 @@ -1,25 +1,39 @@ -# New ports collection makefile for: pure-gtk -# Date created: 2011-03-18 -# Whom: Zhihao Yuan <lichray@gmail.com> -# +# Created by: Zhihao Yuan <lichray@gmail.com> # $FreeBSD: head/graphics/pure-gl/Makefile 302037 2012-08-04 22:52:02Z kwm $ -# PORTNAME= pure-gl PORTVERSION= 0.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics +#MASTER_SITES https://cdn.bitbucket.org/purelang/pure-lang/downloads/ +MASTER_SITES= https://pure-lang.googlecode.com/files/ +DIST_SUBDIR= pure MAINTAINER= lichray@gmail.com COMMENT= Pure language interface to OpenGL -RUN_DEPENDS+= ${LOCALBASE}/lib/pure/ffi.pure:${PORTSDIR}/devel/pure-ffi +LICENSE= BSD -USE_PURE= yes -USE_GL= glut +USES= pure:ffi +USE_GL= glut MAKE_ARGS+= LinkGL="-lglut -lGLU -lGL" -.include <bsd.port.pre.mk> -.include "${PORTSDIR}/lang/pure/bsd.pure.mk" -.include <bsd.port.post.mk> +PORTDOCS= README + +PORTEXAMPLES= * + +.include <bsd.port.options.mk> + +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif + +.if ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${EXAMPLESDIR} + @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) +.endif + +.include <bsd.port.mk> diff -ruN /usr/ports/graphics/pure-gl/pkg-descr ./pkg-descr --- /usr/ports/graphics/pure-gl/pkg-descr 2013-06-02 18:52:59.000000000 +0200 +++ ./pkg-descr 2013-04-06 14:56:20.000000000 +0200 @@ -3,4 +3,4 @@ Extensions are loaded on demand, functions will throw an exception if they are not available in your OpenGL implementation. -WWW: http://docs.pure-lang.googlecode.com/hg/pure-gl.html +WWW: http://docs.pure-lang.googlecode.com/hg/pure-gl.html --- pure-gl-0.8_3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130607140554.4805E9B5>