ddae4e92d8
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
36 lines
1.0 KiB
Makefile
36 lines
1.0 KiB
Makefile
PKGNAMESUFFIX= -qt5
|
|
|
|
COMMENT= Qt5 modules of uim input method
|
|
|
|
BUILD_DEPENDS= cmake:devel/cmake-core
|
|
LIB_DEPENDS= libuim.so:textproc/uim
|
|
|
|
USES= compiler:c++11-lang gl iconv kde:5 libtool qt:5
|
|
USE_GL= gl
|
|
USE_KDE= plasma-framework
|
|
USE_QT= buildtools:build core declarative gui network qmake:build widgets x11extras
|
|
|
|
MASTERDIR= ${.CURDIR}/../../textproc/uim
|
|
PKGDIR= ${.CURDIR}
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-qt5 --with-qt5-immodule
|
|
CONFIGURE_ENV= DATADIRNAME="share"
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
UIM_SLAVE= yes
|
|
|
|
.if defined(WITHOUT_X11)
|
|
IGNORE= cannot be built without X11. Please, unset WITHOUT_X11
|
|
.endif
|
|
|
|
do-build:
|
|
(cd ${WRKSRC}/uim && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} libuim-x-util.la libuim-counted-init.la)
|
|
(cd ${WRKSRC}/replace && ${SETENV} ${MAKE_ENV} ${MAKE_CMD})
|
|
(cd ${WRKSRC}/qt5 && ${SETENV} ${MAKE_ENV} ${MAKE_CMD})
|
|
|
|
do-install:
|
|
(cd ${WRKSRC}/qt5 && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} DESTDIR=${STAGEDIR} install-strip)
|
|
|
|
.include "${MASTERDIR}/Makefile"
|