diff --git a/ports/dtl/CONTROL b/ports/dtl/CONTROL new file mode 100644 index 000000000..cd4109d04 --- /dev/null +++ b/ports/dtl/CONTROL @@ -0,0 +1,3 @@ +Source: dtl +Version: 1.19 +Description: Diff template library diff --git a/ports/dtl/portfile.cmake b/ports/dtl/portfile.cmake new file mode 100644 index 000000000..d66360991 --- /dev/null +++ b/ports/dtl/portfile.cmake @@ -0,0 +1,16 @@ +#header-only library +include(vcpkg_common_functions) +include(CMakePackageConfigHelpers) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO cubicdaiya/dtl + REF v1.19 + SHA512 77c767451b1b78ce49085da6ff5bb8a23c96dec56a37d96ef357a6b69a1b2cd45e2c6c4e8f91ee34ca080ce03a26518c478ff207309326a4bc7e729eaa2824b2 + HEAD_REF master +) + +file(INSTALL ${SOURCE_PATH}/dtl + DESTINATION ${CURRENT_PACKAGES_DIR}/include) +file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION + ${CURRENT_PACKAGES_DIR}/share/dtl RENAME copyright)