Download and extract a project from sourceforge.
vcpkg_from_sourceforge( OUT_SOURCE_PATH SOURCE_PATH REPO <cunit/CUnit> [REF <2.1-3>] SHA512 <547b417109332...> FILENAME <CUnit-2.1-3.tar.bz2> [DISABLE_SSL] [NO_REMOVE_ONE_LEVEL] [PATCHES <patch1.patch> <patch2.patch>...] )
Specifies the out-variable that will contain the extracted location.
This should be set to
SOURCE_PATH by convention.
The organization or user and repository (optional) on sourceforge.
A stable version number that will not change contents.
The local name for the file. Files are shared between ports, so the file may need to be renamed to make it clearly attributed to this port and avoid conflicts.
For example, we can get the download link:
So the REPO is
mad/libmad, the REF is
0.15.1b, and the FILENAME is
For some special links:
The REPO is
soxr, REF is not exist, and the FILENAME is
The SHA512 hash that should match the archive.
If specified, the archive will be extracted into the working directory instead of
Note that the archive will still be extracted into a subfolder underneath that directory (
A list of patches to be applied to the extracted sources.
Relative paths are based on the port directory.
Disable ssl when downloading source.
Specifies that the default removal of the top level folder should not occur.