Skip to content

Commit

Permalink
[mpfr] Remove docs (microsoft#26018)
Browse files Browse the repository at this point in the history
* [mpfr] Remove docs

* version

* license

* version
  • Loading branch information
Thomas1664 authored Jul 29, 2022
1 parent 47a0bd9 commit 67029c5
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
16 changes: 12 additions & 4 deletions ports/mpfr/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if (VCPKG_TARGET_IS_LINUX)
if(VCPKG_TARGET_IS_LINUX)
message(WARNING "${PORT} currently requires the following packages:\n autoconf-archive\nThese can be installed on Ubuntu systems via\n sudo apt-get update -y\n sudo apt-get install -y autoconf-archive\n")
endif()

Expand All @@ -12,7 +12,7 @@ vcpkg_download_distfile(ARCHIVE
vcpkg_extract_source_archive_ex(
OUT_SOURCE_PATH SOURCE_PATH
ARCHIVE "${ARCHIVE}"
PATCHES
PATCHES
dll.patch
src-only.patch
)
Expand All @@ -31,5 +31,13 @@ vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

# Handle copyright
file(INSTALL "${SOURCE_PATH}/COPYING.LESSER" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
file(REMOVE
"${CURRENT_PACKAGES_DIR}/share/${PORT}/AUTHORS"
"${CURRENT_PACKAGES_DIR}/share/${PORT}/BUGS"
"${CURRENT_PACKAGES_DIR}/share/${PORT}/COPYING"
"${CURRENT_PACKAGES_DIR}/share/${PORT}/COPYING.LESSER"
"${CURRENT_PACKAGES_DIR}/share/${PORT}/NEWS"
"${CURRENT_PACKAGES_DIR}/share/${PORT}/TODO"
)

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING" "${SOURCE_PATH}/COPYING.LESSER")
2 changes: 1 addition & 1 deletion ports/mpfr/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mpfr",
"version": "4.1.0",
"port-version": 4,
"port-version": 5,
"description": "The MPFR library is a C library for multiple-precision floating-point computations with correct rounding",
"homepage": "https://www.mpfr.org",
"license": "LGPL-3.0-or-later",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4718,7 +4718,7 @@
},
"mpfr": {
"baseline": "4.1.0",
"port-version": 4
"port-version": 5
},
"mpg123": {
"baseline": "1.29.3",
Expand Down
5 changes: 5 additions & 0 deletions versions/m-/mpfr.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "39b251ed109ce7a5787fe0e7235f9fe0ce436a09",
"version": "4.1.0",
"port-version": 5
},
{
"git-tree": "af50e086428e7b7b1e1e5969a296a770a32ff88d",
"version": "4.1.0",
Expand Down

0 comments on commit 67029c5

Please sign in to comment.