From owner-svn-ports-head@freebsd.org Mon Mar 8 17:50:20 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 418BF550E9A; Mon, 8 Mar 2021 17:50:20 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DvQq01Hw0z4vtL; Mon, 8 Mar 2021 17:50:20 +0000 (UTC) (envelope-from yuri@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1F1E6563B; Mon, 8 Mar 2021 17:50:20 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 128HoJsx073457; Mon, 8 Mar 2021 17:50:20 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 128HoJfH073451; Mon, 8 Mar 2021 17:50:19 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202103081750.128HoJfH073451@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 8 Mar 2021 17:50:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r567859 - in head/devel: . pcg-cpp pcg-cpp/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/devel: . pcg-cpp pcg-cpp/files X-SVN-Commit-Revision: 567859 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2021 17:50:20 -0000 Author: yuri Date: Mon Mar 8 17:50:18 2021 New Revision: 567859 URL: https://svnweb.freebsd.org/changeset/ports/567859 Log: New port: devel/pcg-cpp: PCG Random Number Generation, C++ Edition Added: head/devel/pcg-cpp/ head/devel/pcg-cpp/Makefile (contents, props changed) head/devel/pcg-cpp/distinfo (contents, props changed) head/devel/pcg-cpp/files/ head/devel/pcg-cpp/files/patch-Makefile (contents, props changed) head/devel/pcg-cpp/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Mar 8 17:34:26 2021 (r567858) +++ head/devel/Makefile Mon Mar 8 17:50:18 2021 (r567859) @@ -3706,6 +3706,7 @@ SUBDIR += pasm SUBDIR += patch SUBDIR += pcc-libs + SUBDIR += pcg-cpp SUBDIR += pcl SUBDIR += pcre SUBDIR += pcre++ Added: head/devel/pcg-cpp/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pcg-cpp/Makefile Mon Mar 8 17:50:18 2021 (r567859) @@ -0,0 +1,33 @@ +# $FreeBSD$ + +PORTNAME= pcg-cpp +DISTVERSIONPREFIX= v +DISTVERSION= 0.98.1-59 +DISTVERSIONSUFFIX= -g5b5cac8 +CATEGORIES= devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= PCG Random Number Generation, C++ Edition + +LICENSE= APACHE20 MIT +LICENSE_COMB= dual +LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE.txt +LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT.txt + +USES= compiler:c++11-lang +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= imneme + +NO_BUILD= yes +NO_ARCH= yes + +PLIST_FILES= include/pcg_extras.hpp \ + include/pcg_random.hpp \ + include/pcg_uint128.hpp + +do-test: + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} CXXFLAGS=-I${WRKSRC}/include ${MAKE_CMD} ${MAKE_ARGS} test + +.include Added: head/devel/pcg-cpp/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pcg-cpp/distinfo Mon Mar 8 17:50:18 2021 (r567859) @@ -0,0 +1,3 @@ +TIMESTAMP = 1615225111 +SHA256 (imneme-pcg-cpp-v0.98.1-59-g5b5cac8_GH0.tar.gz) = 35d2efafa991927098d94b8765e977da4b7cbe1573725feee640015ba711ac5b +SIZE (imneme-pcg-cpp-v0.98.1-59-g5b5cac8_GH0.tar.gz) = 77523 Added: head/devel/pcg-cpp/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pcg-cpp/files/patch-Makefile Mon Mar 8 17:50:18 2021 (r567859) @@ -0,0 +1,11 @@ +--- Makefile.orig 2021-03-08 17:39:48 UTC ++++ Makefile +@@ -25,7 +25,7 @@ all: + + PREFIX = /usr/local + +-install: all ++install: + install -d $(DESTDIR)$(PREFIX)/include + install -m 0644 include/*.hpp $(DESTDIR)$(PREFIX)/include + Added: head/devel/pcg-cpp/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pcg-cpp/pkg-descr Mon Mar 8 17:50:18 2021 (r567859) @@ -0,0 +1,13 @@ +This code provides an implementation of the PCG family of random number +generators, which are fast, statistically excellent, and offer a number of +useful features. + +There are two kinds of generator, normal generators and extended generators. +Extended generators provide k dimensional equidistribution and can perform party +tricks, but generally speaking most people only need the normal generators. + +There are two ways to access the generators, using a convenience typedef or by +using the underlying templates directly (similar to C++11's std::mt19937 typedef +vs its std::mersenne_twister_engine template). + +WWW: https://github.com/imneme/pcg-cpp