mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 10:36:38 -04:00
Most USES use a colon for build/run(/test) suffixes. Change kde.mk, qt.mk and pyqt.mk to do the same, and update all ports using that. Document in CHANGES. PR: 266034 Exp-run by: antoine Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D36349
27 lines
638 B
Makefile
27 lines
638 B
Makefile
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>
|