diff options
| author | Phoebe <925731795@qq.com> | 2019-09-06 01:43:09 +0800 |
|---|---|---|
| committer | Curtis J Bezault <curtbezault@gmail.com> | 2019-09-05 10:43:09 -0700 |
| commit | 33f15e40e858dcabddd1f1cc1b67368778516fbf (patch) | |
| tree | a123c6cad05a70a19cb5b4f1370348e42e9cfb5b /ports/fltk | |
| parent | e6564a5ad99d80cf77f4c269a73a049f17c845e2 (diff) | |
| download | vcpkg-33f15e40e858dcabddd1f1cc1b67368778516fbf.tar.gz vcpkg-33f15e40e858dcabddd1f1cc1b67368778516fbf.zip | |
modernize many ports (#7986)
* modernize many ports
* Update the code to handle copyright
* Retriger to build qt5-gamepad
Diffstat (limited to 'ports/fltk')
| -rw-r--r-- | ports/fltk/CONTROL | 2 | ||||
| -rw-r--r-- | ports/fltk/portfile.cmake | 14 |
2 files changed, 2 insertions, 14 deletions
diff --git a/ports/fltk/CONTROL b/ports/fltk/CONTROL index da9d7223a..36befdeb4 100644 --- a/ports/fltk/CONTROL +++ b/ports/fltk/CONTROL @@ -1,5 +1,5 @@ Source: fltk
-Version: 1.3.4-6
+Version: 1.3.4-7
Homepage: https://www.fltk.org/
Description: FLTK (pronounced fulltick) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. FLTK provides modern GUI functionality without the bloat and supports 3D graphics via OpenGL and its built-in GLUT emulation.
Build-Depends: zlib, libpng, libjpeg-turbo
diff --git a/ports/fltk/portfile.cmake b/ports/fltk/portfile.cmake index 5b7e246a3..7f5ea52be 100644 --- a/ports/fltk/portfile.cmake +++ b/ports/fltk/portfile.cmake @@ -1,11 +1,3 @@ -# Common Ambient Variables:
-# VCPKG_ROOT_DIR = <C:\path\to\current\vcpkg>
-# TARGET_TRIPLET is the current triplet (x86-windows, etc)
-# PORT is the current port name (zlib, etc)
-# CURRENT_BUILDTREES_DIR = ${VCPKG_ROOT_DIR}\buildtrees\${PORT}
-# CURRENT_PACKAGES_DIR = ${VCPKG_ROOT_DIR}\packages\${PORT}_${TARGET_TRIPLET}
-#
-
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/fltk-1.3.4-1)
vcpkg_download_distfile(ARCHIVE
@@ -91,8 +83,4 @@ foreach(FILE Fl_Export.H fl_utf8.h) file(WRITE ${CURRENT_PACKAGES_DIR}/include/FL/${FILE} "${FLTK_HEADER}")
endforeach()
-file(INSTALL
- ${SOURCE_PATH}/COPYING
- DESTINATION ${CURRENT_PACKAGES_DIR}/share/fltk
- RENAME copyright
-)
+file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
