aboutsummaryrefslogblamecommitdiff
path: root/devel/kf5-extra-cmake-modules/Makefile
blob: 5d4806667fcfc8cbb3bbcbf99983e1a03fddd8f4 (plain) (tree)
1
2
3
4
5
6
7
8
                                               

                                   
                                         
                 
                                        
 
                               




                                                   
                                       
                                                          
 
                                                                           

                   

                      

          

                                  

                   
                                                                           


                                                       
                                     
                                     


                                         
 


                                                                              
                      
# Created by: Yuri Victorovich <yuri@rawbw.com>

PORTNAME=	extra-cmake-modules
DISTVERSION=	${KDE_FRAMEWORKS_VERSION}
PORTREVISION=	1
CATEGORIES=	devel kde kde-frameworks

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Extra modules and scripts for CMake

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING-CMAKE-SCRIPTS

USES=		cmake kde:5 qt:5 tar:xz
USE_QT=		linguisttools buildtools_build qmake_build

HELP_USE=	QT=help_build # qt5-help is only used to build a .qch file.
NO_ARCH=	yes

PORTDOCS=	html/*

## options

OPTIONS_DEFINE=	DOCS HELP MANPAGES
OPTIONS_DEFAULT=HELP MANPAGES
OPTIONS_SUB=	yes

HELP_DESC=		Generate QtHelp documentation for installed modules

SPHINX_DEP=		sphinx-build:textproc/py-sphinx
DOCS_BUILD_DEPENDS=	${SPHINX_DEP}
HELP_BUILD_DEPENDS=	${SPHINX_DEP}
MANPAGES_BUILD_DEPENDS=	${SPHINX_DEP}
DOCS_CMAKE_BOOL=	BUILD_HTML_DOCS
HELP_CMAKE_BOOL=	BUILD_QTHELP_DOCS
MANPAGES_CMAKE_BOOL=	BUILD_MAN_DOCS

CONFIGURE_ENV+=	CMAKE_PROGRAM_PATH="${LOCALBASE}/bin:${LOCALBASE}/lib/qt5/bin"
INSTALL_TARGET=	install # does not have install/strip target

.include <bsd.port.mk>