View | Details | Raw Unified | Return to bug 205726 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-2 / +19 lines)
Lines 21-33 Link Here
21
USES=		cmake:outsource compiler:c++11-lib ninja pkgconfig
21
USES=		cmake:outsource compiler:c++11-lib ninja pkgconfig
22
CMAKE_ARGS+=	-DMYGUI_BUILD_DEMOS=FALSE \
22
CMAKE_ARGS+=	-DMYGUI_BUILD_DEMOS=FALSE \
23
		-DMYGUI_BUILD_TOOLS=FALSE \
23
		-DMYGUI_BUILD_TOOLS=FALSE \
24
		-DMYGUI_BUILD_DOCS=FALSE \
24
		-DMYGUI_BUILD_DOCS=FALSE
25
		-DMYGUI_RENDERSYSTEM=1 # Dummy
26
USE_LDCONFIG=	yes
25
USE_LDCONFIG=	yes
27
26
28
USE_CXXSTD=	c++11
27
USE_CXXSTD=	c++11
29
CXXFLAGS+=	-fPIC
28
CXXFLAGS+=	-fPIC
29
OPTIONS_DEFINE=	OGRE DUMMY
30
OPTIONS_SUB=	yes
31
OPTIONS_DEFAULT= DUMMY
30
32
33
OGRE_DESC=		Install MyGui with Ogre RenderSystem
34
OGRE_LIB_DEPENDS=	libOgreMain.so:${PORTSDIR}/graphics/ogre3d
35
OGRE_CMAKE_ON=		-DMYGUI_RENDERSYSTEM=3	#Ogre
36
37
DUMMY_DESC=		Install MyGui with Dummy RenderSystem
38
DUMMY_CMAKE_ON=		-DMYGUI_RENDERSYSTEM=1	#Dummy
39
DUMMY_PREVENTS=	OGRE
40
DUMMY_PREVENTS_MSG=	OGRE and DUMMY enable conflictings options
41
42
.include <bsd.port.options.mk>
43
44
.if !(${PORT_OPTIONS:MOGRE} || ${PORT_OPTIONS:MDUMMY})
45
BROKEN= One of OGRE and DUMMY have to be selected
46
.endif
47
31
post-patch:
48
post-patch:
32
	@${REINPLACE_CMD} -e '/install/ s|lib/pkgconfig|libdata/pkgconfig|' \
49
	@${REINPLACE_CMD} -e '/install/ s|lib/pkgconfig|libdata/pkgconfig|' \
33
		${WRKSRC}/CMake/ConfigureBuild.cmake
50
		${WRKSRC}/CMake/ConfigureBuild.cmake
(-)pkg-plist (-5 / +14 lines)
Lines 36-45 Link Here
36
include/MYGUI/MyGUI_DeprecatedTypes.h
36
include/MYGUI/MyGUI_DeprecatedTypes.h
37
include/MYGUI/MyGUI_DeprecatedWidgets.h
37
include/MYGUI/MyGUI_DeprecatedWidgets.h
38
include/MYGUI/MyGUI_Diagnostic.h
38
include/MYGUI/MyGUI_Diagnostic.h
39
include/MYGUI/MyGUI_DummyDataManager.h
39
%%DUMMY%%include/MYGUI/MyGUI_DummyDataManager.h
40
include/MYGUI/MyGUI_DummyDiagnostic.h
40
%%DUMMY%%include/MYGUI/MyGUI_DummyDiagnostic.h
41
include/MYGUI/MyGUI_DummyPlatform.h
41
%%DUMMY%%include/MYGUI/MyGUI_DummyPlatform.h
42
include/MYGUI/MyGUI_DummyRenderManager.h
42
%%DUMMY%%include/MYGUI/MyGUI_DummyRenderManager.h
43
include/MYGUI/MyGUI_DynLib.h
43
include/MYGUI/MyGUI_DynLib.h
44
include/MYGUI/MyGUI_DynLibManager.h
44
include/MYGUI/MyGUI_DynLibManager.h
45
include/MYGUI/MyGUI_EditBox.h
45
include/MYGUI/MyGUI_EditBox.h
Lines 105-110 Link Here
105
include/MYGUI/MyGUI_MouseButton.h
105
include/MYGUI/MyGUI_MouseButton.h
106
include/MYGUI/MyGUI_MultiListBox.h
106
include/MYGUI/MyGUI_MultiListBox.h
107
include/MYGUI/MyGUI_MultiListItem.h
107
include/MYGUI/MyGUI_MultiListItem.h
108
include/MYGUI/MyGUI_OgreDataManager.h
109
%%OGRE%%include/MYGUI/MyGUI_OgreDataStream.h
110
%%OGRE%%include/MYGUI/MyGUI_OgreDiagnostic.h
111
%%OGRE%%include/MYGUI/MyGUI_OgrePlatform.h
112
%%OGRE%%include/MYGUI/MyGUI_OgreRTTexture.h
113
%%OGRE%%include/MYGUI/MyGUI_OgreRenderManager.h
114
%%OGRE%%include/MYGUI/MyGUI_OgreTexture.h
115
%%OGRE%%include/MYGUI/MyGUI_OgreVertexBuffer.h
108
include/MYGUI/MyGUI_OverlappedLayer.h
116
include/MYGUI/MyGUI_OverlappedLayer.h
109
include/MYGUI/MyGUI_Platform.h
117
include/MYGUI/MyGUI_Platform.h
110
include/MYGUI/MyGUI_Plugin.h
118
include/MYGUI/MyGUI_Plugin.h
Lines 178-184 Link Here
178
include/MYGUI/Plugin.h
186
include/MYGUI/Plugin.h
179
include/MYGUI/StrangeButton.h
187
include/MYGUI/StrangeButton.h
180
lib/Plugin_StrangeButton.so
188
lib/Plugin_StrangeButton.so
181
lib/libMyGUI.DummyPlatform.a
189
%%DUMMY%%lib/libMyGUI.DummyPlatform.a
190
%%OGRE%%lib/libMyGui.OgrePlatform.a
182
lib/libMyGUIEngine.so
191
lib/libMyGUIEngine.so
183
lib/libMyGUIEngine.so.3
192
lib/libMyGUIEngine.so.3
184
lib/libMyGUIEngine.so.3.2.2
193
lib/libMyGUIEngine.so.3.2.2

Return to bug 205726