All the qt5-ports share the same library directory. devel/qt5-core is dependet on by all others. So there is no need to add identical entries to libdata/ldconfig, and restart the ldconfig service on every pkg change of those ports. Reported by: bapt Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D27224
29 lines
626 B
Makefile
29 lines
626 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= opengl
|
|
DISTVERSION= ${QT5_VERSION}
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
PKGNAMEPREFIX= qt5-
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Qt 5-compatible OpenGL support module
|
|
|
|
USES= compiler:c++11-lang gl qmake:no_env qt-dist:5,base
|
|
USE_GL= gl
|
|
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>
|