1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

graphics/zathura-{pdf-poppler,ps}: fix metainfo

Removing pre-configure target fixes directory of metainfo.xml files.
Remove unneeded STRIP_CMD.

PR:		280989
Approved by:	submitter is maintainer
This commit is contained in:
mew14930xvi 2024-08-23 19:13:46 +02:00 committed by Zsolt Udvari
parent 33f0b7845b
commit 9a13649530
2 changed files with 6 additions and 14 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= zathura-pdf-poppler
DISTVERSION= 0.3.3
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://pwmt.org/projects/zathura-pdf-poppler/download/
@ -23,10 +24,7 @@ USE_GNOME= cairo glib20
CONFLICTS_INSTALL= zathura-pdf-mupdf
PLIST_FILES= lib/zathura/libpdf-poppler.so \
share/appdata/org.pwmt.zathura-pdf-poppler.metainfo.xml \
share/applications/org.pwmt.zathura-pdf-poppler.desktop
pre-configure:
@${REINPLACE_CMD} "s:join_paths(datadir, 'metainfo'):join_paths(datadir, 'appdata'):" ${WRKSRC}/meson.build
share/applications/org.pwmt.zathura-pdf-poppler.desktop \
share/metainfo/org.pwmt.zathura-pdf-poppler.metainfo.xml
.include <bsd.port.mk>

View File

@ -1,5 +1,6 @@
PORTNAME= zathura-ps
DISTVERSION= 0.2.8
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://pwmt.org/projects/zathura-ps/download/
@ -21,14 +22,7 @@ USES= compiler:c11 desktop-file-utils gnome meson ninja pkgconfig \
USE_GNOME= cairo
PLIST_FILES= lib/zathura/libps.so \
share/appdata/org.pwmt.zathura-ps.metainfo.xml \
share/applications/org.pwmt.zathura-ps.desktop
pre-configure:
${REINPLACE_CMD} "s:join_paths(datadir, 'metainfo'):join_paths(datadir, 'appdata'):" \
${WRKSRC}/meson.build
post-install:
@${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/zathura/libps.so
share/applications/org.pwmt.zathura-ps.desktop \
share/metainfo/org.pwmt.zathura-ps.metainfo.xml
.include <bsd.port.mk>