aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorRyan <ryan__mckenzie@hotmail.com>2021-09-27 19:47:36 -0700
committerGitHub <noreply@github.com>2021-09-27 19:47:36 -0700
commit6e51f7dd1cb534a61d63137578e5c7ca2228ec4f (patch)
treedb92138b7584cf2145624f13438dc7f9402d30f5 /ports
parent84117b9736c81afd0aa94b185e5eae8cce0d3939 (diff)
downloadvcpkg-6e51f7dd1cb534a61d63137578e5c7ca2228ec4f.tar.gz
vcpkg-6e51f7dd1cb534a61d63137578e5c7ca2228ec4f.zip
[srell] Add new port (#20315)
* add srell port * add versioning * fill out manifest * update versioning
Diffstat (limited to 'ports')
-rw-r--r--ports/srell/portfile.cmake23
-rw-r--r--ports/srell/vcpkg.json6
2 files changed, 29 insertions, 0 deletions
diff --git a/ports/srell/portfile.cmake b/ports/srell/portfile.cmake
new file mode 100644
index 000000000..b7b36652c
--- /dev/null
+++ b/ports/srell/portfile.cmake
@@ -0,0 +1,23 @@
+set(VERSION 2_920)
+
+vcpkg_download_distfile(
+ ARCHIVE
+ URLS "https://www.akenotsuki.com/misc/srell/srell${VERSION}.zip"
+ FILENAME "srell${VERSION}.zip"
+ SHA512 504BE3C24F497B8EA75D06787CBD3C8A475073F5881317D15619DFE6F7CBF4F75B9A81145981D1EE0F945C0D748C7BEDC60258DC52E4860FC7B769A01C9FA9FB
+)
+
+vcpkg_extract_source_archive(
+ SOURCE_PATH
+ ARCHIVE "${ARCHIVE}"
+ NO_REMOVE_ONE_LEVEL
+)
+
+file(INSTALL
+ "${SOURCE_PATH}/srell.hpp"
+ "${SOURCE_PATH}/srell_ucfdata2.hpp"
+ "${SOURCE_PATH}/srell_updata.hpp"
+ DESTINATION "${CURRENT_PACKAGES_DIR}/include"
+)
+
+file(INSTALL "${SOURCE_PATH}/license.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/srell/vcpkg.json b/ports/srell/vcpkg.json
new file mode 100644
index 000000000..9aa65dcdc
--- /dev/null
+++ b/ports/srell/vcpkg.json
@@ -0,0 +1,6 @@
+{
+ "name": "srell",
+ "version-string": "2.920",
+ "description": "SRELL (std::regex-like library) is a regular expression template library for C++.",
+ "homepage": "https://www.akenotsuki.com/misc/srell/en/"
+}