git: e61fadfca320 - main - x11-toolkits/mygui: minor improvements
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 14 Dec 2022 20:23:41 UTC
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=e61fadfca320a729c4136a401214286c85308eb8 commit e61fadfca320a729c4136a401214286c85308eb8 Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2022-12-14 15:33:52 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2022-12-14 20:22:14 +0000 x11-toolkits/mygui: minor improvements - Remove dependency on OIS, it's only needed by demos/samples which are not built - No need to fix pkgconfig path, it's handled by the framework - Add another WWW - Switch to CMAKE_OFF where applicable - Pet portlint --- x11-toolkits/mygui/Makefile | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/x11-toolkits/mygui/Makefile b/x11-toolkits/mygui/Makefile index 8a70ff3f1912..35706ea82a0f 100644 --- a/x11-toolkits/mygui/Makefile +++ b/x11-toolkits/mygui/Makefile @@ -1,18 +1,19 @@ PORTNAME= mygui -PORTVERSION= 3.4.0 DISTVERSIONPREFIX= MyGUI +DISTVERSION= 3.4.0 +PORTREVISION= 1 CATEGORIES= x11-toolkits graphics devel MAINTAINER= amdmi3@FreeBSD.org COMMENT?= Fast, simple and flexible GUI system for games and 3D applications -WWW= http://mygui.info/ +WWW= http://mygui.info/ \ + https://github.com/MyGUI/mygui LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING.MIT .if !defined(MASTERDIR) -LIB_DEPENDS= libfreetype.so:print/freetype2 \ - libOIS.so:devel/ois +LIB_DEPENDS= libfreetype.so:print/freetype2 .else LIB_DEPENDS+= libMyGUIEngine.so:x11-toolkits/mygui @@ -20,22 +21,16 @@ BUILD_WRKSRC= ${WRKSRC}/${MYGUI_SUBDIR} INSTALL_WRKSRC= ${WRKSRC}/${MYGUI_SUBDIR} .endif +USES+= cmake:insource compiler:c++11-lib pkgconfig USE_GITHUB= yes GH_ACCOUNT= MyGUI +CMAKE_OFF= MYGUI_BUILD_DEMOS MYGUI_BUILD_TOOLS MYGUI_BUILD_DOCS +USE_LDCONFIG= yes MYGUI_RENDERSYSTEM?= 0 -USES+= cmake:insource compiler:c++11-lib pkgconfig -CMAKE_ARGS= -DMYGUI_BUILD_DEMOS=FALSE \ - -DMYGUI_BUILD_TOOLS=FALSE \ - -DMYGUI_BUILD_DOCS=FALSE \ - -DMYGUI_RENDERSYSTEM=${MYGUI_RENDERSYSTEM} -USE_LDCONFIG= yes +CMAKE_ARGS= -DMYGUI_RENDERSYSTEM=${MYGUI_RENDERSYSTEM} PLIST= ${.CURDIR}/pkg-plist -post-patch: - @${REINPLACE_CMD} -e '/install/ s|lib/pkgconfig|libdata/pkgconfig|' \ - ${WRKSRC}/CMake/ConfigureBuild.cmake - .include <bsd.port.mk>