math/perlinnoise: New port: Header-only Perlin noise library for modern C++

This commit is contained in:
Yuri Victorovich 2023-06-29 16:51:10 -07:00
parent b38494572c
commit 1f8ca33aa5
4 changed files with 32 additions and 0 deletions

View file

@ -833,6 +833,7 @@
SUBDIR += pear-Math_BigInteger
SUBDIR += pear-Math_Combinatorics
SUBDIR += pecl-bitset
SUBDIR += perlinnoise
SUBDIR += permlib
SUBDIR += petanque
SUBDIR += petiga

25
math/perlinnoise/Makefile Normal file
View file

@ -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>

View file

@ -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

View file

@ -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.