aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/inja/CONTROL4
-rw-r--r--ports/inja/portfile.cmake11
2 files changed, 15 insertions, 0 deletions
diff --git a/ports/inja/CONTROL b/ports/inja/CONTROL
new file mode 100644
index 000000000..a905ab796
--- /dev/null
+++ b/ports/inja/CONTROL
@@ -0,0 +1,4 @@
+Source: inja
+Version: 1.0.0
+Build-Depends: nlohmann-json
+Description: Inja - A Template Engine for Modern C++
diff --git a/ports/inja/portfile.cmake b/ports/inja/portfile.cmake
new file mode 100644
index 000000000..dc9dc1a6b
--- /dev/null
+++ b/ports/inja/portfile.cmake
@@ -0,0 +1,11 @@
+include(vcpkg_common_functions)
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO pantor/inja
+ REF v1.0.0
+ SHA512 39598df84766a0d2a28dc92e083e27b7072600372e0313727cd5dd1fe6ad1efc055dc98055247f5cb1fc4096ffb37b59995107f3456a4495bd01381ac6c74a2b
+ HEAD_REF master
+)
+file(INSTALL ${SOURCE_PATH}/src/inja.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+file(INSTALL ${SOURCE_PATH}/src/inja.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/share/inja RENAME copyright)
+vcpkg_copy_pdbs()