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

COMMENT?=	AppStream Compose application and library

LIB_DEPENDS=	libappstream.so:devel/appstream \
		libfyaml.so:textproc/libfyaml
RUN_DEPENDS=	optipng:graphics/optipng \
		ffprobe:multimedia/ffmpeg

USE_GNOME=	cairo gdkpixbuf librsvg2 pango

MESON_ARGS=	-Dcompose=true

MASTERDIR=	${.CURDIR}/../../devel/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"