diff options
| author | NancyLi1013 <lirui09@beyondsoft.com> | 2019-11-18 23:18:03 -0800 |
|---|---|---|
| committer | NancyLi1013 <lirui09@beyondsoft.com> | 2019-11-18 23:18:25 -0800 |
| commit | 5a161e316b7e30b36e2990d03416c4ac0dc5f8ae (patch) | |
| tree | 8c6287e3df161914c8637a7236f858725417af4b | |
| parent | 29def6aa636a9985d068aa4624172720c0005e09 (diff) | |
| download | vcpkg-5a161e316b7e30b36e2990d03416c4ac0dc5f8ae.tar.gz vcpkg-5a161e316b7e30b36e2990d03416c4ac0dc5f8ae.zip | |
[pdcurses] Add usage
| -rw-r--r-- | ports/pdcurses/CONTROL | 2 | ||||
| -rw-r--r-- | ports/pdcurses/portfile.cmake | 5 | ||||
| -rw-r--r-- | ports/pdcurses/usage | 1 |
3 files changed, 5 insertions, 3 deletions
diff --git a/ports/pdcurses/CONTROL b/ports/pdcurses/CONTROL index 928000072..59ad72513 100644 --- a/ports/pdcurses/CONTROL +++ b/ports/pdcurses/CONTROL @@ -1,4 +1,4 @@ Source: pdcurses -Version: 3.8-1 +Version: 3.8-2 Homepage: https://sourceforge.net/projects/pdcurses/ Description: Public Domain Curses - a curses library for environments that don't fit the termcap/terminfo model. diff --git a/ports/pdcurses/portfile.cmake b/ports/pdcurses/portfile.cmake index a1c76fda3..565427abb 100644 --- a/ports/pdcurses/portfile.cmake +++ b/ports/pdcurses/portfile.cmake @@ -1,9 +1,7 @@ - if(NOT VCPKG_CRT_LINKAGE STREQUAL "dynamic") message(FATAL_ERROR "PDCurses only supports dynamic CRT linkage") endif() -include(vcpkg_common_functions) find_program(NMAKE nmake) vcpkg_from_github( @@ -68,3 +66,6 @@ file( file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/pdcurses RENAME copyright) vcpkg_copy_pdbs() + +# Install usage +configure_file(${CMAKE_CURRENT_LIST_DIR}/usage ${CURRENT_PACKAGES_DIR}/share/${PORT}/usage @ONLY)
\ No newline at end of file diff --git a/ports/pdcurses/usage b/ports/pdcurses/usage new file mode 100644 index 000000000..794e4f758 --- /dev/null +++ b/ports/pdcurses/usage @@ -0,0 +1 @@ +Define PDC_DLL_BUILD to import external variables if building pdcurses as a DLL on Windows.
\ No newline at end of file |
