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: ports/179395: [PATCH] devel/pure-ffi: update to 0.13, new Uses pure, add license Message-ID: <20130607082833.B71071FC@hub.freebsd.org> Resent-Message-ID: <201306070830.r578U2dN071478@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jun 07 08:30:02 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: - 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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130607082833.B71071FC>