PORTNAME=	cinny
DISTVERSIONPREFIX=	v
DISTVERSION=	4.8.1
CATEGORIES=	www
MASTER_SITES=	https://github.com/ajbura/${PORTNAME}/releases/download/v${PORTVERSION}/

MAINTAINER=	ashish@FreeBSD.org
COMMENT=	Yet another Matrix client for the web
WWW=		https://cinny.in/

LICENSE=	MIT

USES=		cpe

CPE_VENDOR=	cinny_project

NO_ARCH=	yes
NO_BUILD=	yes
SUB_FILES=	pkg-message
WRKSRC=		${WRKDIR}/dist

do-install:
	@${MKDIR} ${STAGEDIR}${WWWDIR}
	cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
	${MV} ${STAGEDIR}${WWWDIR}/config.json ${STAGEDIR}${WWWDIR}/config.json.example

.include <bsd.port.mk>
