Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2023 02:35:59 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1f8ca33aa5dd - main - math/perlinnoise: New port: Header-only Perlin noise library for modern C++
Message-ID:  <202306300235.35U2Zx29095341@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1f8ca33aa5dd58be701ca81a68cf8b8e65c64dcf

commit 1f8ca33aa5dd58be701ca81a68cf8b8e65c64dcf
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-06-29 23:51:10 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-06-30 02:35:54 +0000

    math/perlinnoise: New port: Header-only Perlin noise library for modern C++
---
 math/Makefile              |  1 +
 math/perlinnoise/Makefile  | 25 +++++++++++++++++++++++++
 math/perlinnoise/distinfo  |  3 +++
 math/perlinnoise/pkg-descr |  3 +++
 4 files changed, 32 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 84ae0deff604..559908acb832 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -833,6 +833,7 @@
     SUBDIR += pear-Math_BigInteger
     SUBDIR += pear-Math_Combinatorics
     SUBDIR += pecl-bitset
+    SUBDIR += perlinnoise
     SUBDIR += permlib
     SUBDIR += petanque
     SUBDIR += petiga
diff --git a/math/perlinnoise/Makefile b/math/perlinnoise/Makefile
new file mode 100644
index 000000000000..170b795aaf5c
--- /dev/null
+++ b/math/perlinnoise/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	perlinnoise
+DISTVERSIONPREFIX=	v
+DISTVERSION=	3.0.0
+CATEGORIES=	math devel
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Header-only Perlin noise library for modern C++
+WWW=		https://github.com/Reputeless/PerlinNoise
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	Reputeless
+GH_PROJECT=	PerlinNoise
+
+NO_BUILD=	yes
+NO_ARCH=	yes
+
+PLIST_FILES=	include/PerlinNoise.hpp
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/PerlinNoise.hpp ${STAGEDIR}${PREFIX}/include
+
+.include <bsd.port.mk>
diff --git a/math/perlinnoise/distinfo b/math/perlinnoise/distinfo
new file mode 100644
index 000000000000..2620e712fd2d
--- /dev/null
+++ b/math/perlinnoise/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1688082287
+SHA256 (Reputeless-PerlinNoise-v3.0.0_GH0.tar.gz) = 1fea1e7ebeb3c66b79d60c2c398aa83ccfadcef343bd396c0f0a684380e827fc
+SIZE (Reputeless-PerlinNoise-v3.0.0_GH0.tar.gz) = 331762
diff --git a/math/perlinnoise/pkg-descr b/math/perlinnoise/pkg-descr
new file mode 100644
index 000000000000..e715af25398d
--- /dev/null
+++ b/math/perlinnoise/pkg-descr
@@ -0,0 +1,3 @@
+siv::PerlinNoise is a header-only Perlin noise library for modern C++
+(C++17/20).
+The implementation is based on Ken Perlin's Improved Noise Java class.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306300235.35U2Zx29095341>