aboutsummaryrefslogtreecommitdiff
path: root/ports/activemq-cpp
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2020-05-27 11:40:27 +0800
committerGitHub <noreply@github.com>2020-05-26 20:40:27 -0700
commitc3cfb02466318e328c7e9ef56ba28bcafce96cfd (patch)
tree8c33e26186facdd9ad4df6b18f466a2c518403ae /ports/activemq-cpp
parent6a400388bb8ef70c665320fc4668fb1def3a8e17 (diff)
downloadvcpkg-c3cfb02466318e328c7e9ef56ba28bcafce96cfd.tar.gz
vcpkg-c3cfb02466318e328c7e9ef56ba28bcafce96cfd.zip
[libusbmuxd berkeleydb cppcms activemq-cpp] Add Supports and failure message (#11589)
* [libusbmuxd berkeleydb cppcms] Add Supports and failure message * Add Supports for activemq-cpp
Diffstat (limited to 'ports/activemq-cpp')
-rw-r--r--ports/activemq-cpp/CONTROL4
-rw-r--r--ports/activemq-cpp/portfile.cmake11
2 files changed, 4 insertions, 11 deletions
diff --git a/ports/activemq-cpp/CONTROL b/ports/activemq-cpp/CONTROL
index 891c51ee7..85a7cff7d 100644
--- a/ports/activemq-cpp/CONTROL
+++ b/ports/activemq-cpp/CONTROL
@@ -1,5 +1,5 @@
Source: activemq-cpp
-Version: 3.9.5-1
+Version: 3.9.5-2
Build-Depends: apr
Description: Apache ActiveMQ is the most popular and powerful open source messaging and Integration Patterns server.
-Supports: !uwp \ No newline at end of file
+Supports: !(uwp|linux|osx)
diff --git a/ports/activemq-cpp/portfile.cmake b/ports/activemq-cpp/portfile.cmake
index 5353e5dd4..1b83fd1e3 100644
--- a/ports/activemq-cpp/portfile.cmake
+++ b/ports/activemq-cpp/portfile.cmake
@@ -1,8 +1,4 @@
-include(vcpkg_common_functions)
-
-if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
- message(FATAL_ERROR "${PORT} does not currently support UWP")
-endif()
+vcpkg_fail_port_install( ON_TARGET "uwp" "linux" "osx")
set(VERSION 3.9.5)
@@ -42,10 +38,7 @@ vcpkg_build_msbuild(
vcpkg_copy_pdbs()
-# Handle copyright
-file(COPY ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/activemq-cpp)
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/activemq-cpp/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/activemq-cpp/copyright)
-
+file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(
COPY