aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-01 13:53:44 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-01 13:53:44 +0000
commitd7491e475233fd5fd0e66905b0014fec67fdff1d (patch)
tree4ed517b2d26c5a232a6f83d4b4bf924834b61b88 /x11-toolkits
parentdb357a8aa8f49102a3cbe5deae16577fe8d185c3 (diff)
downloadports-d7491e475233fd5fd0e66905b0014fec67fdff1d.tar.gz
ports-d7491e475233fd5fd0e66905b0014fec67fdff1d.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/mygui/Makefile24
-rw-r--r--x11-toolkits/mygui/distinfo4
-rw-r--r--x11-toolkits/mygui/files/patch-CMake__Packages__FindFreetype.cmake11
-rw-r--r--x11-toolkits/mygui/files/patch-Common__FileSystemInfo__FileSystemInfo.h10
-rw-r--r--x11-toolkits/mygui/pkg-plist22
5 files changed, 25 insertions, 46 deletions
diff --git a/x11-toolkits/mygui/Makefile b/x11-toolkits/mygui/Makefile
index 89d642613ca3..f701f015d8d7 100644
--- a/x11-toolkits/mygui/Makefile
+++ b/x11-toolkits/mygui/Makefile
@@ -2,24 +2,28 @@
# $FreeBSD$
PORTNAME= mygui
-PORTVERSION= 3.2.1.svn20140422
-PORTREVISION= 1
+PORTVERSION= 3.2.2
+DISTVERSIONPREFIX= MyGUI
CATEGORIES= x11-toolkits graphics devel
-MASTER_SITES= http://mirror.amdmi3.ru/distfiles/
-# SF/my-gui/MyGUI/MyGUI_${PORTVERSION}
-DISTNAME= MyGUI_${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
-COMMENT= Fast, simple and flexible GUI system for Ogre engine
+COMMENT= Fast, simple and flexible GUI system for games and 3D applications
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/COPYING.MIT
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \
- libOgreMain.so:${PORTSDIR}/graphics/ogre3d \
libOIS.so:${PORTSDIR}/devel/ois
-USES= cmake pkgconfig zip dos2unix compiler:c++11-lib
-CMAKE_ARGS= -DMYGUI_BUILD_DEMOS=OFF -DMYGUI_BUILD_DOCS=OFF
+USE_GITHUB= yes
+GH_ACCOUNT= MyGUI
+
+USES= cmake:outsource compiler:c++11-lib ninja pkgconfig
+CMAKE_ARGS+= -DMYGUI_BUILD_DEMOS=FALSE \
+ -DMYGUI_BUILD_TOOLS=FALSE \
+ -DMYGUI_BUILD_DOCS=FALSE \
+ -DMYGUI_RENDERSYSTEM=1 # Dummy
USE_LDCONFIG= yes
-DOS2UNIX_GLOB= *.cpp *.h *.cmake
USE_CXXSTD= c++11
CXXFLAGS+= -fPIC
diff --git a/x11-toolkits/mygui/distinfo b/x11-toolkits/mygui/distinfo
index 270cef1cfdfa..a32c7c9613fc 100644
--- a/x11-toolkits/mygui/distinfo
+++ b/x11-toolkits/mygui/distinfo
@@ -1,2 +1,2 @@
-SHA256 (MyGUI_3.2.1.svn20140422.zip) = 30badadc5a7d48c177348b7359e4b471357e5db3136f0e42676611332f929758
-SIZE (MyGUI_3.2.1.svn20140422.zip) = 23170181
+SHA256 (MyGUI-mygui-MyGUI3.2.2_GH0.tar.gz) = 0a28d7ec8a47993cb68deb48b36331e28f12dd92580b709eaef21d599b67a78f
+SIZE (MyGUI-mygui-MyGUI3.2.2_GH0.tar.gz) = 22081236
diff --git a/x11-toolkits/mygui/files/patch-CMake__Packages__FindFreetype.cmake b/x11-toolkits/mygui/files/patch-CMake__Packages__FindFreetype.cmake
deleted file mode 100644
index 216463ef2a26..000000000000
--- a/x11-toolkits/mygui/files/patch-CMake__Packages__FindFreetype.cmake
+++ /dev/null
@@ -1,11 +0,0 @@
---- CMake/Packages/FindFreetype.cmake.orig 2013-12-09 04:56:26.000000000 +0400
-+++ CMake/Packages/FindFreetype.cmake 2014-04-22 05:18:05.042699865 +0400
-@@ -33,7 +33,7 @@
- findpkg_framework(FREETYPE)
- message(STATUS "CMAKE_PREFIX_PATH: ${CMAKE_PREFIX_PATH}")
-
--find_path(FREETYPE_INCLUDE_DIR NAMES freetype/freetype.h HINTS ${FREETYPE_INC_SEARCH_PATH} ${FREETYPE_PKGC_INCLUDE_DIRS} PATH_SUFFIXES freetype2)
-+find_path(FREETYPE_INCLUDE_DIR NAMES freetype.h HINTS ${FREETYPE_INC_SEARCH_PATH} ${FREETYPE_PKGC_INCLUDE_DIRS} PATH_SUFFIXES freetype2)
- find_path(FREETYPE_FT2BUILD_INCLUDE_DIR NAMES ft2build.h HINTS ${FREETYPE_INC_SEARCH_PATH} ${FREETYPE_PKGC_INCLUDE_DIRS})
- find_library(FREETYPE_LIBRARY_REL NAMES ${FREETYPE_LIBRARY_NAMES} HINTS ${FREETYPE_LIB_SEARCH_PATH} ${FREETYPE_PKGC_LIBRARY_DIRS} PATH_SUFFIXES "" release relwithdebinfo minsizerel)
- find_library(FREETYPE_LIBRARY_DBG NAMES ${FREETYPE_LIBRARY_NAMES_DBG} HINTS ${FREETYPE_LIB_SEARCH_PATH} ${FREETYPE_PKGC_LIBRARY_DIRS} PATH_SUFFIXES "" debug)
diff --git a/x11-toolkits/mygui/files/patch-Common__FileSystemInfo__FileSystemInfo.h b/x11-toolkits/mygui/files/patch-Common__FileSystemInfo__FileSystemInfo.h
deleted file mode 100644
index 91346cb219fe..000000000000
--- a/x11-toolkits/mygui/files/patch-Common__FileSystemInfo__FileSystemInfo.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- Common/FileSystemInfo/FileSystemInfo.h.orig 2014-04-22 06:12:03.384476313 +0400
-+++ Common/FileSystemInfo/FileSystemInfo.h 2014-04-22 06:12:29.104475139 +0400
-@@ -14,6 +14,7 @@
- #else
- #include <unistd.h>
- #include <dirent.h>
-+#include <sys/syslimits.h>
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <unistd.h>
diff --git a/x11-toolkits/mygui/pkg-plist b/x11-toolkits/mygui/pkg-plist
index 4e074e57f52b..4a00f71dc88a 100644
--- a/x11-toolkits/mygui/pkg-plist
+++ b/x11-toolkits/mygui/pkg-plist
@@ -21,6 +21,7 @@ include/MYGUI/MyGUI_ControllerFadeAlpha.h
include/MYGUI/MyGUI_ControllerItem.h
include/MYGUI/MyGUI_ControllerManager.h
include/MYGUI/MyGUI_ControllerPosition.h
+include/MYGUI/MyGUI_ControllerRepeatClick.h
include/MYGUI/MyGUI_CoordConverter.h
include/MYGUI/MyGUI_CustomAllocator.h
include/MYGUI/MyGUI_DDContainer.h
@@ -35,6 +36,10 @@ include/MYGUI/MyGUI_DelegateImplement.h
include/MYGUI/MyGUI_DeprecatedTypes.h
include/MYGUI/MyGUI_DeprecatedWidgets.h
include/MYGUI/MyGUI_Diagnostic.h
+include/MYGUI/MyGUI_DummyDataManager.h
+include/MYGUI/MyGUI_DummyDiagnostic.h
+include/MYGUI/MyGUI_DummyPlatform.h
+include/MYGUI/MyGUI_DummyRenderManager.h
include/MYGUI/MyGUI_DynLib.h
include/MYGUI/MyGUI_DynLibManager.h
include/MYGUI/MyGUI_EditBox.h
@@ -79,7 +84,6 @@ include/MYGUI/MyGUI_InputManager.h
include/MYGUI/MyGUI_ItemBox.h
include/MYGUI/MyGUI_KeyCode.h
include/MYGUI/MyGUI_LanguageManager.h
-include/MYGUI/MyGUI_LastHeader.h
include/MYGUI/MyGUI_LayerItem.h
include/MYGUI/MyGUI_LayerManager.h
include/MYGUI/MyGUI_LayerNode.h
@@ -101,14 +105,6 @@ include/MYGUI/MyGUI_MenuItemType.h
include/MYGUI/MyGUI_MouseButton.h
include/MYGUI/MyGUI_MultiListBox.h
include/MYGUI/MyGUI_MultiListItem.h
-include/MYGUI/MyGUI_OgreDataManager.h
-include/MYGUI/MyGUI_OgreDataStream.h
-include/MYGUI/MyGUI_OgreDiagnostic.h
-include/MYGUI/MyGUI_OgrePlatform.h
-include/MYGUI/MyGUI_OgreRTTexture.h
-include/MYGUI/MyGUI_OgreRenderManager.h
-include/MYGUI/MyGUI_OgreTexture.h
-include/MYGUI/MyGUI_OgreVertexBuffer.h
include/MYGUI/MyGUI_OverlappedLayer.h
include/MYGUI/MyGUI_Platform.h
include/MYGUI/MyGUI_Plugin.h
@@ -177,13 +173,13 @@ include/MYGUI/MyGUI_WidgetToolTip.h
include/MYGUI/MyGUI_WidgetTranslate.h
include/MYGUI/MyGUI_WidgetUserData.h
include/MYGUI/MyGUI_Window.h
+include/MYGUI/MyGUI_WindowsClipboardHandler.h
include/MYGUI/MyGUI_XmlDocument.h
include/MYGUI/Plugin.h
include/MYGUI/StrangeButton.h
-lib/libEditorFramework.so
-lib/libMyGUI.OgrePlatform.a
+lib/Plugin_StrangeButton.so
+lib/libMyGUI.DummyPlatform.a
lib/libMyGUIEngine.so
lib/libMyGUIEngine.so.3
-lib/libMyGUIEngine.so.3.2.0
-lib/libPlugin_StrangeButton.so
+lib/libMyGUIEngine.so.3.2.2
libdata/pkgconfig/MYGUI.pc