From owner-svn-ports-all@freebsd.org Thu Mar 3 10:21:32 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56755A93A13; Thu, 3 Mar 2016 10:21:32 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 2E2287B6; Thu, 3 Mar 2016 10:21:32 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u23ALVoU092201; Thu, 3 Mar 2016 10:21:31 GMT (envelope-from rakuco@FreeBSD.org) Received: (from rakuco@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u23ALUrV092194; Thu, 3 Mar 2016 10:21:30 GMT (envelope-from rakuco@FreeBSD.org) Message-Id: <201603031021.u23ALUrV092194@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rakuco set sender to rakuco@FreeBSD.org using -f From: Raphael Kubo da Costa Date: Thu, 3 Mar 2016 10:21:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r410025 - in head/devel: . libconcurrent X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2016 10:21:32 -0000 Author: rakuco Date: Thu Mar 3 10:21:30 2016 New Revision: 410025 URL: https://svnweb.freebsd.org/changeset/ports/410025 Log: New port: devel/libconcurrent. Tiny asymmetric-coroutine library: - generator bidirectional communication with yield_value/resume_value - native context switch - C11 WWW: https://github.com/sharow/libconcurrent/ PR: 207669 Submitted by: Tobias Kortkamp Added: head/devel/libconcurrent/ head/devel/libconcurrent/Makefile (contents, props changed) head/devel/libconcurrent/distinfo (contents, props changed) head/devel/libconcurrent/pkg-descr (contents, props changed) head/devel/libconcurrent/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu Mar 3 10:17:48 2016 (r410024) +++ head/devel/Makefile Thu Mar 3 10:21:30 2016 (r410025) @@ -1142,6 +1142,7 @@ SUBDIR += libclaw SUBDIR += libclc SUBDIR += libcli + SUBDIR += libconcurrent SUBDIR += libconfig SUBDIR += libconfuse SUBDIR += libcutl Added: head/devel/libconcurrent/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libconcurrent/Makefile Thu Mar 3 10:21:30 2016 (r410025) @@ -0,0 +1,49 @@ +# Created by: Tobias Kortkamp +# $FreeBSD$ + +PORTNAME= libconcurrent +PORTVERSION= 0.0.20160303 +CATEGORIES= devel + +MAINTAINER= t@tobik.me +COMMENT= Tiny asymmetric-coroutine library + +LICENSE= ZLIB +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm + +USE_GITHUB= yes +GH_ACCOUNT= sharow +# Rolling release +GH_TAGNAME= f55d33a789a4b2c6267268ec2d44a245f766f500 + +ONLY_FOR_ARCHS= i386 amd64 + +OPTIONS_DEFINE= EXAMPLES +OPTIONS_DEFAULT= EXAMPLES + +MAKEFILE= makefile +MAKE_ARGS= LIBCONCURRENT_DESTDIR=${STAGEDIR}${PREFIX} +USES= gmake + +post-patch: +# libconcurrent's makefile resets ${ARCH} internally and the ports +# system interferes with that for some reason, so replace it with a +# more neutral variant. + @${REINPLACE_CMD} 's/ARCH/LIBCONCURRENT_ARCH/g' ${WRKSRC}/makefile +# Same with ${DESTDIR} + @${REINPLACE_CMD} 's/DESTDIR/LIBCONCURRENT_DESTDIR/g' ${WRKSRC}/makefile + +post-patch-EXAMPLES-on: +# Fix examples makefile to work out-of-tree + @${REINPLACE_CMD} 's|INCDIR+=-I../include|INCDIR+=-I${PREFIX}/include|g' \ + ${WRKSRC}/examples/makefile + @${REINPLACE_CMD} 's|-L../|-L${PREFIX}/lib|g' \ + ${WRKSRC}/examples/makefile + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) + +.include Added: head/devel/libconcurrent/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libconcurrent/distinfo Thu Mar 3 10:21:30 2016 (r410025) @@ -0,0 +1,2 @@ +SHA256 (sharow-libconcurrent-0.0.20160303-f55d33a789a4b2c6267268ec2d44a245f766f500_GH0.tar.gz) = 418adeab02ce005756fc9c33165cf121ec4950f7e8f96b842fe22838a23953f4 +SIZE (sharow-libconcurrent-0.0.20160303-f55d33a789a4b2c6267268ec2d44a245f766f500_GH0.tar.gz) = 9550 Added: head/devel/libconcurrent/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libconcurrent/pkg-descr Thu Mar 3 10:21:30 2016 (r410025) @@ -0,0 +1,6 @@ +Tiny asymmetric-coroutine library: +- generator bidirectional communication with yield_value/resume_value +- native context switch +- C11 + +WWW: https://github.com/sharow/libconcurrent/ Added: head/devel/libconcurrent/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libconcurrent/pkg-plist Thu Mar 3 10:21:30 2016 (r410025) @@ -0,0 +1,12 @@ +include/concurrent/concurrent.h +include/concurrent/shortname.h +lib/libconcurrent.a +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/accumulator.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/concurrent_sort1.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/coroutine1.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/coroutine2.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/float1.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/float2.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/makefile +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/many_context1.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/time_slice1.c