aboutsummaryrefslogtreecommitdiff
path: root/ports/plplot
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-06-27 06:06:30 +0800
committerGitHub <noreply@github.com>2020-06-26 15:06:30 -0700
commita0e0c57f865937cdda81c21ad9327e606f7dc930 (patch)
tree86b0d97dd67594d12f3283c1c46cc5e690c1a258 /ports/plplot
parent81ae2ed94bf51fdd453b383135a809dea3d45cce (diff)
downloadvcpkg-a0e0c57f865937cdda81c21ad9327e606f7dc930.tar.gz
vcpkg-a0e0c57f865937cdda81c21ad9327e606f7dc930.zip
[vcpkg] Add vcpkg_from_sourceforge (1/2) (#11899)
Diffstat (limited to 'ports/plplot')
-rw-r--r--ports/plplot/CONTROL2
-rw-r--r--ports/plplot/portfile.cmake15
2 files changed, 6 insertions, 11 deletions
diff --git a/ports/plplot/CONTROL b/ports/plplot/CONTROL
index 74b1be5f6..af69724f7 100644
--- a/ports/plplot/CONTROL
+++ b/ports/plplot/CONTROL
@@ -1,5 +1,5 @@
Source: plplot
-Version: 5.13.0-5
+Version: 5.13.0-6
Build-Depends: freetype, zlib, libpng, bzip2
Description: PLplot is a cross-platform software package for creating scientific plots whose (UTF-8) plot symbols and text are limited in practice only by what Unicode-aware system fonts are installed on a user's computer.
diff --git a/ports/plplot/portfile.cmake b/ports/plplot/portfile.cmake
index 8546cb5aa..97efa2568 100644
--- a/ports/plplot/portfile.cmake
+++ b/ports/plplot/portfile.cmake
@@ -1,16 +1,11 @@
set(PLPLOT_VERSION 5.13.0)
-set(PLPLOT_HASH 1d5cb5da17d4bde6d675585bff1f8dcb581719249a0b2687867e767703f8dab0870e7ea44b9549a497f4ac0141a3cabf6761c49520c0e2b26ffe581468512cbb)
-vcpkg_download_distfile(ARCHIVE
- URLS "https://sourceforge.net/projects/plplot/files/plplot/${PLPLOT_VERSION}%20Source/plplot-${PLPLOT_VERSION}.tar.gz/download"
- FILENAME "plplot-${PLPLOT_VERSION}.tar.gz"
- SHA512 ${PLPLOT_HASH}
-)
-
-vcpkg_extract_source_archive_ex(
+vcpkg_from_sourceforge(
OUT_SOURCE_PATH SOURCE_PATH
- ARCHIVE ${ARCHIVE}
- REF ${PLPLOT_VERSION}
+ REPO plplot/plplot
+ REF ${PLPLOT_VERSION}%20Source
+ FILENAME "plplot-${PLPLOT_VERSION}.tar.gz"
+ SHA512 1d5cb5da17d4bde6d675585bff1f8dcb581719249a0b2687867e767703f8dab0870e7ea44b9549a497f4ac0141a3cabf6761c49520c0e2b26ffe581468512cbb
PATCHES
0001-findwxwidgets-fixes.patch
0002-wxwidgets-dev-fixes.patch