summaryrefslogtreecommitdiff
path: root/mail/roundcube-identity_smtp/Makefile
blob: 1b761aff7a6685e0e3b50d1914f81b85d10c3a04 (plain)
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
PORTNAME=	identity_smtp
PORTVERSION=	20170914
CATEGORIES=	mail
PKGNAMEPREFIX=	roundcube-
PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}

MAINTAINER=	meta@FreeBSD.org
COMMENT=	Roundcube plugin to setup different SMTP settings per identity

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=	php:flavors
NO_BUILD=	yes
NO_ARCH=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	deflomu
GH_PROJECT=	Roundcube-SMTP-per-Identity-Plugin
GH_TAGNAME=	b14e295

PLUGINDIR=	${WWWDIR:S,/${PORTNAME}$$,,}/roundcube/plugins/${PORTNAME}
RCDIR_REL=	${WWWDIR_REL:S,/${PORTNAME}$$,,}/roundcube
PLIST_SUB=	RCDIR_REL="${RCDIR_REL}"

do-install:
	${MKDIR} ${STAGEDIR}${PLUGINDIR}
	cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${PLUGINDIR}

.include <bsd.port.mk>