2023-02-13 14:11:22 +01:00
|
|
|
PORTREVISION= 0
|
2023-02-09 14:39:46 +01:00
|
|
|
PKGNAMESUFFIX= Qt
|
|
|
|
|
|
|
|
COMMENT?= Qt bindings to AppStream
|
|
|
|
|
|
|
|
LIB_DEPENDS= libappstream.so:devel/appstream
|
|
|
|
|
|
|
|
USES= qt:5
|
|
|
|
|
|
|
|
USE_QT= core buildtools:build qmake:build testlib:build
|
|
|
|
|
|
|
|
MESON_ARGS= -Dqt=true
|
|
|
|
|
|
|
|
MASTERDIR= ${.CURDIR}/../appstream
|
|
|
|
PLIST= ${.CURDIR}/pkg-plist
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
# remove files belonging to the master port
|
|
|
|
${XARGS} -L 1 -I % ${RM} -rf ${STAGEDIR}${PREFIX}/% < ${MASTERDIR}/pkg-plist
|
|
|
|
${FIND} ${STAGEDIR}${PREFIX} -empty -delete
|
|
|
|
${RM} -rf ${STAGEDIR}${PREFIX}/etc ${STAGEDIR}${PREFIX}/man
|
|
|
|
|
|
|
|
.include "${MASTERDIR}/Makefile"
|