aboutsummaryrefslogblamecommitdiff
path: root/graphics/zathura-ps/Makefile
blob: aadd636dc0303362c7529be5843802c9e6ee79b4 (plain) (tree)
1
2
3
4
5
6
7
8
9
                          

                     
                        
                                                                               
 
                                 

                                                         
                    
                                 
 


                                              
 
                                                                               
                            
 


                                                                
 
              

                                                                                              
 
             
                                                                  

                      
PORTNAME=	zathura-ps
DISTVERSION=	0.2.6
PORTREVISION=	4
CATEGORIES=	graphics
MASTER_SITES=	https://git.pwmt.org/pwmt/${PORTNAME}/-/archive/${DISTVERSION}/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	PostScript support for Zathura PDF viewer

LICENSE=	ZLIB
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libspectre.so:print/libspectre
BUILD_DEPENDS=	zathura:graphics/zathura
RUN_DEPENDS=	zathura:graphics/zathura

USES=		compiler:c11 desktop-file-utils gnome meson ninja pkgconfig ssl
USE_GNOME=	glib20 gtk30

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/libps.so

.include <bsd.port.mk>