From c3cfb02466318e328c7e9ef56ba28bcafce96cfd Mon Sep 17 00:00:00 2001 From: Phoebe <20694052+PhoebeHui@users.noreply.github.com> Date: Wed, 27 May 2020 11:40:27 +0800 Subject: [libusbmuxd berkeleydb cppcms activemq-cpp] Add Supports and failure message (#11589) * [libusbmuxd berkeleydb cppcms] Add Supports and failure message * Add Supports for activemq-cpp --- ports/activemq-cpp/CONTROL | 4 ++-- ports/activemq-cpp/portfile.cmake | 11 ++--------- 2 files changed, 4 insertions(+), 11 deletions(-) (limited to 'ports/activemq-cpp') 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 -- cgit v1.2.3