aboutsummaryrefslogtreecommitdiff
path: root/ports/getopt
diff options
context:
space:
mode:
authorPhil Christensen <philc@microsoft.com>2018-12-06 15:06:28 -0800
committerPhil Christensen <philc@microsoft.com>2018-12-06 15:06:28 -0800
commit7347305e8459fcc78553a9f88196e0d93eb0a8fe (patch)
treeac9eee9ff267c6a71a83249bed7a94f02b00d9a5 /ports/getopt
parented9357a5aafea7192932b5874264bd103fc61255 (diff)
parent63c1b2628e958f8e02356411f032941c0c2f3bbb (diff)
downloadvcpkg-7347305e8459fcc78553a9f88196e0d93eb0a8fe.tar.gz
vcpkg-7347305e8459fcc78553a9f88196e0d93eb0a8fe.zip
Merge branch 'master' of https://github.com/microsoft/vcpkg into dev/philc/3425
Diffstat (limited to 'ports/getopt')
-rw-r--r--ports/getopt/CONTROL4
-rw-r--r--ports/getopt/portfile.cmake5
2 files changed, 9 insertions, 0 deletions
diff --git a/ports/getopt/CONTROL b/ports/getopt/CONTROL
new file mode 100644
index 000000000..bae137bbd
--- /dev/null
+++ b/ports/getopt/CONTROL
@@ -0,0 +1,4 @@
+Source: getopt
+Version: 0
+Description: The getopt and getopt_long functions automate some of the chore involved in parsing typical unix command line options.
+Build-Depends: getopt-win32 (windows)
diff --git a/ports/getopt/portfile.cmake b/ports/getopt/portfile.cmake
new file mode 100644
index 000000000..21d59ebcb
--- /dev/null
+++ b/ports/getopt/portfile.cmake
@@ -0,0 +1,5 @@
+if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
+ message(FATAL_ERROR "No implementation of getopt is currently available for UWP targets")
+endif()
+
+set(VCPKG_POLICY_EMPTY_PACKAGE enabled)