aboutsummaryrefslogtreecommitdiffstats
path: root/mail/roundcube-automatic_addressbook/Makefile
blob: 9e8f275c6718d753f192b7fc278b3145b763648e (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
# $FreeBSD$

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

NO_BUILD=   yes
NO_ARCH=    yes

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>