aboutsummaryrefslogtreecommitdiffstats
path: root/devel/appstream-compose/Makefile
blob: 0b85584d9b030d89d2707d9f45bf881b2a72a253 (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
25
26
PORTREVISION=	0
PKGNAMESUFFIX=	Compose

COMMENT?=	AppStream Compose application and library

LIB_DEPENDS=	libappstream.so:devel/appstream \
		libfreetype.so:print/freetype2 \
		libfontconfig.so:x11-fonts/fontconfig \
		libyaml.so:textproc/libyaml
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"