Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jul 2018 13:47:05 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r475107 - head/graphics/zathura-ps
Message-ID:  <201807221347.w6MDl5oo058611@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807221347.w6MDl5oo058611>