From nemysis@gmx.ch  Fri Jun  7 08:28:33 2013
Return-Path: <nemysis@gmx.ch>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id B71071FC
	for <freebsd-gnats-submit@freebsd.org>; Fri,  7 Jun 2013 08:28:33 +0000 (UTC)
	(envelope-from nemysis@gmx.ch)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20])
	by mx1.freebsd.org (Postfix) with ESMTP id 4C8071075
	for <freebsd-gnats-submit@freebsd.org>; Fri,  7 Jun 2013 08:28:33 +0000 (UTC)
Received: from mailout-de.gmx.net ([10.1.76.4]) by mrigmx.server.lan
 (mrigmx002) with ESMTP (Nemesis) id 0MTuiV-1UtUsz1Qvp-00QhrB for
 <FreeBSD-gnats-submit@freebsd.org>; Fri, 07 Jun 2013 10:28:32 +0200
Received: (qmail invoked by alias); 07 Jun 2013 08:28:31 -0000
Received: from 5-80.77-83.cust.bluewin.ch (EHLO something.email.com) [83.77.80.5]
  by mail.gmx.net (mp004) with SMTP; 07 Jun 2013 10:28:31 +0200
Received: by something.email.com (sSMTP sendmail emulation); Fri, 07 Jun 2013 10:28:30 +0200
Message-Id: <20130607082833.B71071FC@hub.freebsd.org>
Date: Fri, 07 Jun 2013 10:28:30 +0200
From: nemysis <nemysis@gmx.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc: lichray@gmail.com
Subject: [PATCH] devel/pure-ffi: update to 0.13, new Uses pure, add license
X-Send-Pr-Version: 3.113
X-GNATS-Notify: lichray@gmail.com

>Number:         179395
>Category:       ports
>Synopsis:       [PATCH] devel/pure-ffi: update to 0.13, new Uses pure, add license
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    beech
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 07 08:30:02 UTC 2013
>Closed-Date:    Wed Nov 06 23:43:39 UTC 2013
>Last-Modified:  Wed Nov 06 23:43:39 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:

- Update to 0.13
- Shorten header
- Trim master sites
- Add license
- New Uses pure
- 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: update, diff: ports)
>How-To-Repeat:

Build log

https://redports.org/buildarchive/20130607014700-52399/

>Fix:

--- pure-ffi-0.13.patch begins here ---
diff -ruN /usr/ports/devel/pure-ffi/Makefile ./Makefile
--- /usr/ports/devel/pure-ffi/Makefile	2013-06-02 18:59:38.000000000 +0200
+++ ./Makefile	2013-06-07 10:20:29.000000000 +0200
@@ -1,25 +1,41 @@
-# New ports collection makefile for:	pure-ffi
-# Date created:		2011-03-18
-# Whom:			Zhihao Yuan <lichray@gmail.com>
-#
+# Created by: Zhihao Yuan <lichray@gmail.com>
 # $FreeBSD: head/devel/pure-ffi/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
 
 PORTNAME=	pure-ffi
-PORTVERSION=	0.12
-PORTREVISION=	1
+PORTVERSION=	0.13
 CATEGORIES=	devel
+#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 libffi
 
+LICENSE=	GPLv3 LGPL3
+LICENSE_COMB=	dual
+
 LIB_DEPENDS+=	ffi:${PORTSDIR}/devel/libffi
 
-USE_PURE=	yes
+USES=		pure
 
 PLIST_FILES=	lib/pure/ffi.pure \
 		lib/pure/ffi.so
 
-.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/devel/pure-ffi/distinfo ./distinfo
--- /usr/ports/devel/pure-ffi/distinfo	2013-06-02 18:59:38.000000000 +0200
+++ ./distinfo	2013-06-06 18:31:21.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (pure/pure-ffi-0.12.tar.gz) = 7aba78d96cad5ce6277b9857cbe9a09d6d572cb3fa5a48a53e4a8d3e23eee32d
-SIZE (pure/pure-ffi-0.12.tar.gz) = 39868
+SHA256 (pure/pure-ffi-0.13.tar.gz) = 1c605ee261a6a8fe60684e764ba1f12dfd2e1e09290190411314b35a71a69636
+SIZE (pure/pure-ffi-0.13.tar.gz) = 39857
diff -ruN /usr/ports/devel/pure-ffi/pkg-descr ./pkg-descr
--- /usr/ports/devel/pure-ffi/pkg-descr	2013-06-02 18:59:38.000000000 +0200
+++ ./pkg-descr	2013-04-06 03:03:39.000000000 +0200
@@ -3,4 +3,4 @@
 built-in C interface in that it also handles C structs and makes Pure
 functions callable from C without writing a single line of C code.
 
-WWW:	http://docs.pure-lang.googlecode.com/hg/pure-ffi.html
+WWW: http://docs.pure-lang.googlecode.com/hg/pure-ffi.html
--- pure-ffi-0.13.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 08:30:27 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=179395 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Fri Jun 7 08:30:29 UTC 2013 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: lichray@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/179395: [PATCH] devel/pure-ffi: update to 0.13, new Uses pure, add license
Date: Fri, 7 Jun 2013 08:30:28 UT

 Maintainer of devel/pure-ffi,
 
 Please note that PR ports/179395 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/179395
 
 -- 
 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:38 UTC 2013 
State-Changed-Why:  
Commited in Revision 333045 

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