2013-01-02 22:53:22 +01:00
|
|
|
# Created by: Alexander Moisseev <moiseev@mezonplus.ru>
|
2011-11-06 15:42:37 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= thunderbird_labels
|
2016-01-06 22:34:33 +01:00
|
|
|
PORTVERSION= 1.1.3
|
|
|
|
DISTVERSIONPREFIX= v
|
2011-11-06 15:42:37 +01:00
|
|
|
CATEGORIES= mail
|
|
|
|
PKGNAMEPREFIX= roundcube-
|
|
|
|
|
2014-08-10 14:41:32 +02:00
|
|
|
MAINTAINER= moiseev@mezonplus.ru
|
2011-11-06 15:42:37 +01:00
|
|
|
COMMENT= Thunderbird Labels plugin for RoundCube webmail
|
|
|
|
|
2016-01-06 22:34:33 +01:00
|
|
|
LICENSE= BSD2CLAUSE
|
2011-11-06 15:42:37 +01:00
|
|
|
|
|
|
|
RUN_DEPENDS= roundcube>=0.5:${PORTSDIR}/mail/roundcube
|
|
|
|
|
2014-08-10 14:41:32 +02:00
|
|
|
USES= tar:bzip2
|
2011-11-06 15:42:37 +01:00
|
|
|
NO_BUILD= yes
|
2016-01-06 22:34:33 +01:00
|
|
|
NO_ARCH= yes
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= mike-kfed
|
|
|
|
GH_PROJECT= rcmail-thunderbird-labels
|
2011-11-06 15:42:37 +01:00
|
|
|
|
2014-08-10 14:41:32 +02:00
|
|
|
PLUGINDIR= ${WWWDIR:S,/${PORTNAME}$$,,}/roundcube/plugins/${PORTNAME}
|
|
|
|
PLUGINDIR_REL= ${WWWDIR_REL:S,/${PORTNAME}$$,,}/roundcube/plugins/${PORTNAME}
|
|
|
|
PLIST_SUB= PLUGINDIR_REL="${PLUGINDIR_REL}"
|
2011-11-06 15:42:37 +01:00
|
|
|
|
|
|
|
# This target is only meant to be used by the port maintainer.
|
|
|
|
x-generate-plist: build
|
2014-08-10 14:41:32 +02:00
|
|
|
make makeplist | \
|
|
|
|
${SED} \
|
|
|
|
-e "s,^\(%%PLUGINDIR_REL%%/config\.inc\.php\.sample$$\),@sample \1," \
|
|
|
|
>${.CURDIR}/pkg-plist.tmp
|
|
|
|
|
2011-11-06 15:42:37 +01:00
|
|
|
do-install:
|
2014-08-10 14:41:32 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${PLUGINDIR}
|
|
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${PLUGINDIR}
|
|
|
|
cd ${STAGEDIR}${PLUGINDIR} && \
|
2016-01-06 22:34:33 +01:00
|
|
|
${MV} config.inc.php config.inc.php.sample
|
2011-11-06 15:42:37 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|