freebsd-ports/mail/roundcube-automatic_addressbook/Makefile
Mathieu Arnold 347bcbe270 flavorize mail/roundcube and plugins.
PR:		227715
Submitted by:	mat
Approved by:	maintainers
Sponsored by:	Absolight
2018-05-02 16:15:59 +00:00

33 lines
679 B
Makefile

# $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>