summaryrefslogtreecommitdiff
path: root/mail/roundcube-automatic_addressbook/Makefile
blob: 5c238493f10f05f7094175b54cdcd583e1d526ee (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
32
33
PORTNAME=	automatic_addressbook
PORTVERSION=	0.4.3
CATEGORIES=	mail
PKGNAMEPREFIX=	roundcube-
PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}

MAINTAINER=	andrej@ebert.su
COMMENT=	Roundcube webmail automatic addressbook plugin

LICENSE=	GPLv3

RUN_DEPENDS=	roundcube${PHP_PKGNAMESUFFIX}>=0.8:mail/roundcube@${PHP_FLAVOR}

USES=		php:flavors
USE_GITHUB=	yes
GH_ACCOUNT=	sblaisot
IGNORE_WITH_PHP=	81 82

WWWDIR=		${RCDIR}/plugins/automatic_addressbook
NO_ARCH=	yes
NO_BUILD=	yes

RCDIR=		${PREFIX}/www/roundcube

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

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

.include <bsd.port.mk>