early-access version 2853
This commit is contained in:
14
externals/vcpkg/ports/ragel/0001-remove-unistd-h.patch
vendored
Executable file
14
externals/vcpkg/ports/ragel/0001-remove-unistd-h.patch
vendored
Executable file
@@ -0,0 +1,14 @@
|
||||
diff --git a/ragel/main.cpp b/ragel/main.cpp
|
||||
index f5fbd7b..947b1c8 100644
|
||||
--- a/ragel/main.cpp
|
||||
+++ b/ragel/main.cpp
|
||||
@@ -24,9 +24,7 @@
|
||||
#include <stdio.h>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
-#include <unistd.h>
|
||||
#include <sstream>
|
||||
-#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
128
externals/vcpkg/ports/ragel/CMakeLists.txt
vendored
Executable file
128
externals/vcpkg/ports/ragel/CMakeLists.txt
vendored
Executable file
@@ -0,0 +1,128 @@
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
project(ragel)
|
||||
|
||||
file(GLOB HEADERS
|
||||
ragel/buffer.h
|
||||
ragel/cdgoto.h
|
||||
ragel/cscodegen.h
|
||||
ragel/csipgoto.h
|
||||
ragel/inputdata.h
|
||||
ragel/rbxgoto.h
|
||||
ragel/rubyflat.h
|
||||
ragel/cdcodegen.h
|
||||
ragel/cdipgoto.h
|
||||
ragel/csfflat.h
|
||||
ragel/cssplit.h
|
||||
ragel/javacodegen.h
|
||||
ragel/redfsm.h
|
||||
ragel/rubyftable.h
|
||||
ragel/cdfflat.h
|
||||
ragel/cdsplit.h
|
||||
ragel/csfgoto.h
|
||||
ragel/cstable.h
|
||||
ragel/parsedata.h
|
||||
ragel/rlparse.h
|
||||
ragel/rubytable.h
|
||||
ragel/cdfgoto.h
|
||||
ragel/cdtable.h
|
||||
ragel/csflat.h
|
||||
ragel/dotcodegen.h
|
||||
ragel/parsetree.h
|
||||
ragel/rlscan.h
|
||||
ragel/version.h
|
||||
ragel/cdflat.h
|
||||
ragel/common.h
|
||||
ragel/csftable.h
|
||||
ragel/fsmgraph.h
|
||||
ragel/pcheck.h
|
||||
ragel/rubycodegen.h
|
||||
ragel/xmlcodegen.h
|
||||
ragel/cdftable.h
|
||||
ragel/csgoto.h
|
||||
ragel/gendata.h
|
||||
ragel/ragel.h
|
||||
ragel/rubyfflat.h
|
||||
ragel/gocodegen.h
|
||||
ragel/gotable.h
|
||||
ragel/goftable.h
|
||||
ragel/goflat.h
|
||||
ragel/gofflat.h
|
||||
ragel/gogoto.h
|
||||
ragel/gofgoto.h
|
||||
ragel/goipgoto.h
|
||||
ragel/gotablish.h
|
||||
ragel/mlcodegen.h
|
||||
ragel/mltable.h
|
||||
ragel/mlftable.h
|
||||
ragel/mlflat.h
|
||||
ragel/mlfflat.h
|
||||
ragel/mlgoto.h
|
||||
ragel/mlfgoto.h
|
||||
)
|
||||
|
||||
file(GLOB SRC
|
||||
ragel/main.cpp
|
||||
ragel/parsetree.cpp
|
||||
ragel/parsedata.cpp
|
||||
ragel/fsmstate.cpp
|
||||
ragel/fsmbase.cpp
|
||||
ragel/fsmattach.cpp
|
||||
ragel/fsmmin.cpp
|
||||
ragel/fsmgraph.cpp
|
||||
ragel/fsmap.cpp
|
||||
ragel/rlscan.cpp
|
||||
ragel/rlparse.cpp
|
||||
ragel/inputdata.cpp
|
||||
ragel/common.cpp
|
||||
ragel/redfsm.cpp
|
||||
ragel/gendata.cpp
|
||||
ragel/cdcodegen.cpp
|
||||
ragel/cdtable.cpp
|
||||
ragel/cdftable.cpp
|
||||
ragel/cdflat.cpp
|
||||
ragel/cdfflat.cpp
|
||||
ragel/cdgoto.cpp
|
||||
ragel/cdfgoto.cpp
|
||||
ragel/cdipgoto.cpp
|
||||
ragel/cdsplit.cpp
|
||||
ragel/javacodegen.cpp
|
||||
ragel/rubycodegen.cpp
|
||||
ragel/rubytable.cpp
|
||||
ragel/rubyftable.cpp
|
||||
ragel/rubyflat.cpp
|
||||
ragel/rubyfflat.cpp
|
||||
ragel/rbxgoto.cpp
|
||||
ragel/cscodegen.cpp
|
||||
ragel/cstable.cpp
|
||||
ragel/csftable.cpp
|
||||
ragel/csflat.cpp
|
||||
ragel/csfflat.cpp
|
||||
ragel/csgoto.cpp
|
||||
ragel/csfgoto.cpp
|
||||
ragel/csipgoto.cpp
|
||||
ragel/cssplit.cpp
|
||||
ragel/dotcodegen.cpp
|
||||
ragel/xmlcodegen.cpp
|
||||
ragel/gocodegen.cpp
|
||||
ragel/gotable.cpp
|
||||
ragel/goftable.cpp
|
||||
ragel/goflat.cpp
|
||||
ragel/gofflat.cpp
|
||||
ragel/gogoto.cpp
|
||||
ragel/gofgoto.cpp
|
||||
ragel/goipgoto.cpp
|
||||
ragel/gotablish.cpp
|
||||
ragel/mlcodegen.cpp
|
||||
ragel/mltable.cpp
|
||||
ragel/mlftable.cpp
|
||||
ragel/mlflat.cpp
|
||||
ragel/mlfflat.cpp
|
||||
ragel/mlgoto.cpp
|
||||
ragel/mlfgoto.cpp
|
||||
)
|
||||
|
||||
include_directories(aapl)
|
||||
|
||||
add_executable(ragel ${SRC})
|
||||
|
||||
install(TARGETS ragel DESTINATION tools CONFIGURATIONS Release)
|
||||
26
externals/vcpkg/ports/ragel/config.h
vendored
Executable file
26
externals/vcpkg/ports/ragel/config.h
vendored
Executable file
@@ -0,0 +1,26 @@
|
||||
/* ragel/config.h. Generated from config.h.in by configure. */
|
||||
/* ragel/config.h.in. Generated from configure.in by autoheader. */
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "ragel"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT ""
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME "ragel"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "ragel 6.9"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "ragel"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#define PACKAGE_URL ""
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "6.9"
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "6.9"
|
||||
29
externals/vcpkg/ports/ragel/portfile.cmake
vendored
Executable file
29
externals/vcpkg/ports/ragel/portfile.cmake
vendored
Executable file
@@ -0,0 +1,29 @@
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "http://www.colm.net/files/ragel/ragel-6.10.tar.gz"
|
||||
FILENAME "ragel-6.10.tar.gz"
|
||||
SHA512 6c1fe4f6fa8546ae28b92ccfbae94355ff0d3cea346b9ae8ce4cf6c2bdbeb823e0ccd355332643ea72d3befd533a8b3030ddbf82be7ffa811c2c58cbb01aaa38
|
||||
)
|
||||
|
||||
vcpkg_extract_source_archive_ex(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
ARCHIVE ${ARCHIVE}
|
||||
PATCHES
|
||||
0001-remove-unistd-h.patch
|
||||
)
|
||||
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/config.h DESTINATION ${SOURCE_PATH}/ragel)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
# Allow empty include directory
|
||||
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
|
||||
|
||||
# Handle copyright
|
||||
file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/ragel)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/share/ragel/COPYING ${CURRENT_PACKAGES_DIR}/share/ragel/copyright)
|
||||
7
externals/vcpkg/ports/ragel/vcpkg.json
vendored
Executable file
7
externals/vcpkg/ports/ragel/vcpkg.json
vendored
Executable file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "ragel",
|
||||
"version-string": "6.10",
|
||||
"port-version": 4,
|
||||
"description": "Ragel State Machine Compiler",
|
||||
"homepage": "https://www.colm.net/files/ragel"
|
||||
}
|
||||
Reference in New Issue
Block a user