aboutsummaryrefslogtreecommitdiff
path: root/mail/roundcube-automatic_addressbook/Makefile
blob: 9225d8ae606e5093b6011b83d8f75485bbc3537c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $FreeBSD$

PORTNAME=	automatic_addressbook
PORTVERSION=	0.4.1
CATEGORIES=	mail
PKGNAMEPREFIX=	roundcube-

MAINTAINER=	anes@anes.su
COMMENT=	Roundcube webmail automatic addressbook plugin

LICENSE=	GPLv3

RUN_DEPENDS=	roundcube>=0.8:${PORTSDIR}/mail/roundcube

NO_BUILD=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	sblaisot
GH_PROJECT=	automatic_addressbook

RCDIR=		${PREFIX}/www/roundcube
WWWDIR=		${RCDIR}/plugins/automatic_addressbook

SUB_FILES=	pkg-message
SUB_LIST=	RCDIR=${RCDIR} PLUGINDIR=${WWWDIR}

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

.include <bsd.port.mk>