From now on, ports that depend on Qt4 will have to set USES= qt:4 USE_QT= foo bar ports depending on Qt5 will use USES= qt:5 USE_QT= foo bar PR: 229225 Exp-run by: antoine Reviewed by: mat Approved by: portmgr (antoine) Differential Revision: →https://reviews.freebsd.org/D15540
29 lines
628 B
Makefile
29 lines
628 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= opengl
|
|
DISTVERSION= ${QT5_VERSION}
|
|
CATEGORIES= graphics
|
|
PKGNAMEPREFIX= qt5-
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Qt 5-compatible OpenGL support module
|
|
|
|
USES= qmake:no_env qt-dist:5,base
|
|
USE_GL= gl
|
|
USE_QT= core gui widgets qmake_build buildtools_build
|
|
HAS_CONFIGURE= yes
|
|
USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
|
|
|
|
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>
|