aboutsummaryrefslogtreecommitdiffstats
path: root/devel/appstream-qt/Makefile
blob: 59d2e5c50303656adeddcc5d2e5aae20c4d0bd07 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PORTREVISION=	0
PKGNAMESUFFIX=	Qt6

COMMENT?=	Qt bindings to AppStream

LIB_DEPENDS=	libappstream.so:devel/appstream

USES=		qt:6
USE_QT=		base

MESON_ARGS=		-Dqt=true -Dqt-versions='6'

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}/share/man

.include	"${MASTERDIR}/Makefile"