# Created by: Anes Muhametov <anes@anes.su>
# $FreeBSD: tags/RELEASE_11_2_0/mail/roundcube-sieverules/Makefile 465860 2018-03-29 01:09:53Z yuri $

PORTNAME=	sieverules
DISTVERSION=	2.3
PORTEPOCH=	1
CATEGORIES=	mail
PKGNAMEPREFIX=	roundcube-

MAINTAINER=	ports@bsdserwis.com
COMMENT=	Roundcube webmail sieve plugin

LICENSE=	GPLv3

BUILD_DEPENDS=	roundcube>=1.0:mail/roundcube
RUN_DEPENDS=	roundcube>=1.0:mail/roundcube

USE_GITHUB=	yes
GH_ACCOUNT=	johndoh
GH_PROJECT=	roundcube-sieverules
NO_BUILD=	yes
NO_ARCH=	yes

WWWDIR=		${PREFIX}/www/roundcube/plugins/${PORTNAME}

do-install:
	@${MKDIR} ${STAGEDIR}${WWWDIR}
	cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}${WWWDIR}

.include <bsd.port.mk>
