mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
93b90c42e3
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
46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= buildtools
|
|
DISTVERSION= ${QT5_VERSION}
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
PKGNAMEPREFIX= qt5-
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Qt build tools
|
|
|
|
USES= compiler:c++11-lang libtool perl5 qmake:no_env qt-dist:5,base
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS= -no-gui -no-xcb
|
|
QT_BINARIES= yes
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src/tools/bootstrap
|
|
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
|
|
|
MORE_WRKSRCS= src/tools/moc \
|
|
src/tools/rcc
|
|
|
|
post-configure:
|
|
.for d in src/tools/bootstrap ${MORE_WRKSRCS}
|
|
${MKDIR} ${WRKSRC}/${d}
|
|
cd ${WRKSRC}/${d} && ${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} ${WRKSRC}/${d}
|
|
.endfor
|
|
|
|
post-build:
|
|
.for d in ${MORE_WRKSRCS}
|
|
@cd ${WRKSRC}/${d} && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \
|
|
${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET}
|
|
.endfor
|
|
|
|
post-install:
|
|
.for d in ${MORE_WRKSRCS}
|
|
@cd ${WRKSRC}/${d} && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \
|
|
${MAKE_ARGS} ${INSTALL_TARGET}
|
|
.endfor
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/syncqt.pl \
|
|
${STAGEDIR}${PREFIX}/${QT_BINDIR_REL}/syncqt.pl
|
|
|
|
.include <bsd.port.mk>
|