aboutsummaryrefslogtreecommitdiff
path: root/ports/getopt
diff options
context:
space:
mode:
authorAybe <aybe@users.noreply.github.com>2018-08-08 21:15:47 +0200
committerAybe <aybe@users.noreply.github.com>2018-08-08 21:15:47 +0200
commit61820777517d669e00fbdeb2368e156b66396b51 (patch)
tree57e0d31ff7b8fc3f85fd3bfe98148ef715149b6c /ports/getopt
parent8cfc78e890b18762f1f5d0aff346c397de2e6d56 (diff)
parent13e19f10ea83985708320542cbf05217b4da9969 (diff)
downloadvcpkg-61820777517d669e00fbdeb2368e156b66396b51.tar.gz
vcpkg-61820777517d669e00fbdeb2368e156b66396b51.zip
Merge branch 'master' into liblzma-uwp
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)