Skip to content

Commit

Permalink
[septag-dmon] New port (#22828)
Browse files Browse the repository at this point in the history
* [ports/dmon] Init

* [versions/d-/dmon.json,versions/baseline.json] `./vcpkg x-add-version --all --overwrite-version`

* [ports/dmon/vcpkg.json] Add pthreads on Windows; add license; set version to date

* `./vcpkg x-add-version --all --overwrite-version`

* [versions/d-/dmon.json] Remove 0.0.1

* [ports/dmon/vcpkg.json] Remove pthreads dependency on Windows

* `./vcpkg x-add-version --all --overwrite-version`

* [ports/dmon] My PR was merged… switch to official source repo

* [versions/d-/dmon.json,versions/baseline.json] `./vcpkg x-add-version --all --overwrite-version`

* [ports/dmon/portfile.cmake] Upgrade to latest dmon

* `vcpkg x-add-version --all --overwrite-version`

* [ports/dmon/portfile.cmake] Upgrade to latest; [ports/dmon/vcpkg.json] Add homepage

* [versions/d-/dmon.json] `./vcpkg x-add-version --all --overwrite-version`; manually remove old versions

* [ports/dmon/vcpkg.json] Remove `vcpkg-cmake-config`

* `./vcpkg x-add-version --all --overwrite-version`

* [ports/dmon/portfile.cmake] ${PORT} -> dmon; [ports/mailio/vcpkg.json] ./vcpkg format-manifest

* `./vcpkg x-add-version --all --overwrite-version`

* [ports/mailio/vcpkg.json,versions/{baseline.json,m-/mailio.json}] Revert to `07e508359ca5488456988191d8709722484daccd`

* [versions/baseline.json] `./vcpkg x-add-version --all --overwrite-version`

* dmon -> septag-dmon

* `./vcpkg x-add-version --all --overwrite-version`
  • Loading branch information
SamuelMarks authored May 9, 2022
1 parent a5d6d14 commit 0c5bb65
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ports/septag-dmon/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO septag/dmon
REF 59fac713a168b6c9fd08db48da49f7bd50fd9d37
SHA512 61fa6a0e243be456d3b59d20e18183392d106983dc9f1b0a7290b54fefa964d4eeba4bacd92cd5310b6f3da2dac232fd043c529c51fe3e6cccbfb9422dd31311
HEAD_REF master
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
"-DBUILD_TESTS=OFF"
)
vcpkg_cmake_install()
file(INSTALL "${SOURCE_PATH}/LICENSE"
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
RENAME copyright)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
14 changes: 14 additions & 0 deletions ports/septag-dmon/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "septag-dmon",
"version-date": "2022-02-08",
"description": "a tiny C library that monitors changes in a directory",
"homepage": "https://github.com/septag/dmon",
"license": "BSD-2-Clause",
"supports": "!uwp",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6432,6 +6432,10 @@
"baseline": "0.4.17",
"port-version": 0
},
"septag-dmon": {
"baseline": "2022-02-08",
"port-version": 0
},
"septag-sx": {
"baseline": "2019-05-07",
"port-version": 3
Expand Down
9 changes: 9 additions & 0 deletions versions/s-/septag-dmon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "377b8711ab595b704c7beb3dd9972b7bb6d75c62",
"version-date": "2022-02-08",
"port-version": 0
}
]
}

0 comments on commit 0c5bb65

Please sign in to comment.