From nemysis@gmx.ch  Fri Jun  7 14:05:54 2013
Return-Path: <nemysis@gmx.ch>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 4805E9B5
	for <freebsd-gnats-submit@freebsd.org>; Fri,  7 Jun 2013 14:05:54 +0000 (UTC)
	(envelope-from nemysis@gmx.ch)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.18])
	by mx1.freebsd.org (Postfix) with ESMTP id C318A1111
	for <freebsd-gnats-submit@freebsd.org>; Fri,  7 Jun 2013 14:05:53 +0000 (UTC)
Received: from mailout-de.gmx.net ([10.1.76.35]) by mrigmx.server.lan
 (mrigmx002) with ESMTP (Nemesis) id 0MZiPg-1V6KjT49Da-00LY4R for
 <FreeBSD-gnats-submit@freebsd.org>; Fri, 07 Jun 2013 16:05:49 +0200
Received: (qmail invoked by alias); 07 Jun 2013 14:05:48 -0000
Received: from 5-80.77-83.cust.bluewin.ch (EHLO something.email.com) [83.77.80.5]
  by mail.gmx.net (mp035) with SMTP; 07 Jun 2013 16:05:48 +0200
Received: by something.email.com (sSMTP sendmail emulation); Fri, 07 Jun 2013 16:05:48 +0200
Message-Id: <20130607140554.4805E9B5@hub.freebsd.org>
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: [PATCH] graphics/pure-gl: New Uses pure, add license
X-Send-Pr-Version: 3.113
X-GNATS-Notify: lichray@gmail.com

>Number:         179404
>Category:       ports
>Synopsis:       [PATCH] graphics/pure-gl: New Uses pure, add license
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    beech
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 07 14:10:00 UTC 2013
>Closed-Date:    Wed Nov 06 23:43:47 UTC 2013
>Last-Modified:  Wed Nov 06 23:43:47 UTC 2013
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->beech 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Jun 7 14:10:08 UTC 2013 
Responsible-Changed-Why:  
beech@ wants this submitter's PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179404 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Fri Jun 7 14:10:09 UTC 2013 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179404 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: lichray@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/179404: [PATCH] graphics/pure-gl: New Uses pure, add license
Date: Fri, 7 Jun 2013 14:10:09 UT

 Maintainer of graphics/pure-gl,
 
 Please note that PR ports/179404 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/179404
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
State-Changed-From-To: feedback->closed 
State-Changed-By: nemysis 
State-Changed-When: Wed Nov 6 23:43:46 UTC 2013 
State-Changed-Why:  
Commited in Revision 333045 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179404 
>Unformatted:
