svn commit: r475107 - head/graphics/zathura-ps

Thomas Zander riggs at FreeBSD.org
Sun Jul 22 13:47:06 UTC 2018


Author: riggs
Date: Sun Jul 22 13:47:05 2018
New Revision: 475107
URL: https://svnweb.freebsd.org/changeset/ports/475107

Log:
  Fix staging error, make paths consistent with other zathura-* ports
  
  PR:		229934
  Submitted by:	mike.d.ft402 at gmail.com (maintainer)

Modified:
  head/graphics/zathura-ps/Makefile

Modified: head/graphics/zathura-ps/Makefile
==============================================================================
--- head/graphics/zathura-ps/Makefile	Sun Jul 22 12:30:11 2018	(r475106)
+++ head/graphics/zathura-ps/Makefile	Sun Jul 22 13:47:05 2018	(r475107)
@@ -12,8 +12,6 @@ COMMENT=	PostScript support for Zathura PDF viewer
 LICENSE=	ZLIB
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN=		fails to stage
-
 LIB_DEPENDS=	libspectre.so:print/libspectre
 BUILD_DEPENDS=	zathura:graphics/zathura
 RUN_DEPENDS=	zathura:graphics/zathura
@@ -25,7 +23,10 @@ PLIST_FILES=	lib/zathura/libps.so \
 		share/applications/org.pwmt.zathura-ps.desktop \
 		share/appdata/org.pwmt.zathura-ps.metainfo.xml
 
+pre-configure:
+	${REINPLACE_CMD} "s:join_paths(datadir, 'metainfo'):join_paths(datadir, 'appdata'):" ${WRKSRC}/meson.build
+
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/zathura/ps.so
+	@${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/zathura/libps.so
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list