ports/devel/appstream-compose/Makefile
2024-10-28 21:42:06 +03:00

26 lines
745 B
Makefile

PORTREVISION= 1
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 gdkpixbuf2 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"