aboutsummaryrefslogblamecommitdiff
path: root/x11/kanshi/Makefile
blob: d86391b6642566b868cadad47fbae8e86640dfd2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                      
                         
                     
                   
                                                                                                         




                                                         
                                 


                                                     
                                            









                                                   



                                                   
                      
PORTNAME=	kanshi
DISTVERSIONPREFIX=	v
PORTVERSION=	1.2.0
CATEGORIES=	x11
MASTER_SITES=	https://git.sr.ht/~emersion/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	Dynamic display configuration for Wayland

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libwayland-client.so:graphics/wayland

USES=		compiler:c11 meson pkgconfig
PLIST_FILES=	bin/${PORTNAME}

OPTIONS_DEFINE=	MANPAGES
OPTIONS_DEFAULT=MANPAGES

MANPAGES_BUILD_DEPENDS=	scdoc:textproc/scdoc
MANPAGES_MESON_ENABLED=	man-pages
MANPAGES_PLIST_FILES=	man/man1/${PORTNAME}.1.gz \
			man/man5/${PORTNAME}.5.gz

post-patch:
	@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
		${WRKSRC}/${PORTNAME}.5.scd

.include <bsd.port.mk>