aboutsummaryrefslogtreecommitdiff
path: root/graphics/qt5-opengl/Makefile
blob: 5194184c2245e05e581f47d4a5e247458a740669 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
PORTNAME=	opengl
PORTVERSION=	${QT5_VERSION}${QT5_KDE_PATCH}
CATEGORIES=	graphics
PKGNAMEPREFIX=	qt5-

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Qt 5-compatible OpenGL support module

USES=		compiler:c++11-lang gl perl5 qmake:no_env qt-dist:5,base
USE_GL=		gl
USE_PERL5=	extract
USE_QT=		core gui widgets qmake_build buildtools_build
HAS_CONFIGURE=	yes

BUILD_WRKSRC=	${WRKSRC}/src/${PORTNAME}
INSTALL_WRKSRC=	${BUILD_WRKSRC}

QT_DEFINES=	OPENGL
QT_CONFIG=	opengl

post-configure:
.for d in src/opengl
	${MKDIR} ${WRKSRC}/${d}
	cd ${WRKSRC}/${d} && ${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} ${WRKSRC}/${d}
.endfor

.include <bsd.port.mk>