git: ee517fb082c4 - main - devel/magic_enum: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 16 Jul 2023 11:25:01 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=ee517fb082c4e8b6eb2f83f6ebdb9c698644b365 commit ee517fb082c4e8b6eb2f83f6ebdb9c698644b365 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-16 10:47:27 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-16 11:24:44 +0000 devel/magic_enum: New port Header-only C++17 library provides static reflection for enums, work with any enum type without any macro or boilerplate code. WWW: https://github.com/Neargye/magic_enum --- devel/Makefile | 1 + devel/magic_enum/Makefile | 19 +++++++++++++++++++ devel/magic_enum/distinfo | 3 +++ devel/magic_enum/pkg-descr | 2 ++ devel/magic_enum/pkg-plist | 13 +++++++++++++ 5 files changed, 38 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index b8d370300ce5..ef7b3ec17762 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1553,6 +1553,7 @@ SUBDIR += m17n-lib SUBDIR += m4 SUBDIR += mage + SUBDIR += magic_enum SUBDIR += magit SUBDIR += magit-devel SUBDIR += make++ diff --git a/devel/magic_enum/Makefile b/devel/magic_enum/Makefile new file mode 100644 index 000000000000..115d16f7d7ae --- /dev/null +++ b/devel/magic_enum/Makefile @@ -0,0 +1,19 @@ +PORTNAME= magic_enum +DISTVERSIONPREFIX= v +DISTVERSION= 0.9.3 +CATEGORIES= devel + +MAINTAINER= bofh@FreeBSD.org +COMMENT= Header-only C++17 library provides static reflection for enums +WWW= https://github.com/Neargye/magic_enum + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake +USE_GITHUB= yes +GH_ACCOUNT= Neargye + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/magic_enum/distinfo b/devel/magic_enum/distinfo new file mode 100644 index 000000000000..edb568fb76e8 --- /dev/null +++ b/devel/magic_enum/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1689503424 +SHA256 (Neargye-magic_enum-v0.9.3_GH0.tar.gz) = 3cadd6a05f1bffc5141e5e731c46b2b73c2dbff025e723c8abaa659e0a24f072 +SIZE (Neargye-magic_enum-v0.9.3_GH0.tar.gz) = 197943 diff --git a/devel/magic_enum/pkg-descr b/devel/magic_enum/pkg-descr new file mode 100644 index 000000000000..50f48997b02c --- /dev/null +++ b/devel/magic_enum/pkg-descr @@ -0,0 +1,2 @@ +Header-only C++17 library provides static reflection for enums, work +with any enum type without any macro or boilerplate code. diff --git a/devel/magic_enum/pkg-plist b/devel/magic_enum/pkg-plist new file mode 100644 index 000000000000..fee22beb9753 --- /dev/null +++ b/devel/magic_enum/pkg-plist @@ -0,0 +1,13 @@ +include/magic_enum.hpp +include/magic_enum_all.hpp +include/magic_enum_containers.hpp +include/magic_enum_flags.hpp +include/magic_enum_format.hpp +include/magic_enum_fuse.hpp +include/magic_enum_iostream.hpp +include/magic_enum_switch.hpp +include/magic_enum_utility.hpp +lib/cmake/magic_enum/magic_enumConfig.cmake +lib/cmake/magic_enum/magic_enumConfigVersion.cmake +libdata/pkgconfig/magic_enum.pc +%%DATADIR%%/package.xml