Lines 2-25
Link Here
|
2 |
# $FreeBSD: head/mail/roundcube-thunderbird_labels/Makefile 364533 2014-08-10 12:41:32Z marino $ |
2 |
# $FreeBSD: head/mail/roundcube-thunderbird_labels/Makefile 364533 2014-08-10 12:41:32Z marino $ |
3 |
|
3 |
|
4 |
PORTNAME= thunderbird_labels |
4 |
PORTNAME= thunderbird_labels |
5 |
PORTVERSION= 1.0.0 |
5 |
PORTVERSION= 1.1.3 |
6 |
CATEGORIES= mail |
6 |
CATEGORIES= mail |
7 |
MASTER_SITES= https://googledrive.com/host/ |
|
|
8 |
PKGNAMEPREFIX= roundcube- |
7 |
PKGNAMEPREFIX= roundcube- |
9 |
DISTNAME= 0B7cAkeuoAZKaMGVieHl4LTdEbWM |
|
|
10 |
EXTRACT_SUFX= |
11 |
|
8 |
|
12 |
MAINTAINER= moiseev@mezonplus.ru |
9 |
MAINTAINER= moiseev@mezonplus.ru |
13 |
COMMENT= Thunderbird Labels plugin for RoundCube webmail |
10 |
COMMENT= Thunderbird Labels plugin for RoundCube webmail |
14 |
|
11 |
|
15 |
LICENSE= GPLv2 |
12 |
LICENSE= BSD2CLAUSE |
16 |
|
13 |
|
17 |
RUN_DEPENDS= roundcube>=0.5:${PORTSDIR}/mail/roundcube |
14 |
RUN_DEPENDS= roundcube>=0.5:${PORTSDIR}/mail/roundcube |
18 |
|
15 |
|
19 |
USES= tar:bzip2 |
16 |
USES= tar:bzip2 |
20 |
NO_BUILD= yes |
17 |
NO_BUILD= yes |
|
|
18 |
NO_ARCH= yes |
19 |
|
20 |
USE_GITHUB= YES |
21 |
GH_ACCOUNT= mike-kfed |
22 |
GH_PROJECT= rcmail-thunderbird-labels |
23 |
GH_TAGNAME= v${PORTVERSION} |
21 |
|
24 |
|
22 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
|
|
23 |
PLUGINDIR= ${WWWDIR:S,/${PORTNAME}$$,,}/roundcube/plugins/${PORTNAME} |
25 |
PLUGINDIR= ${WWWDIR:S,/${PORTNAME}$$,,}/roundcube/plugins/${PORTNAME} |
24 |
PLUGINDIR_REL= ${WWWDIR_REL:S,/${PORTNAME}$$,,}/roundcube/plugins/${PORTNAME} |
26 |
PLUGINDIR_REL= ${WWWDIR_REL:S,/${PORTNAME}$$,,}/roundcube/plugins/${PORTNAME} |
25 |
PLIST_SUB= PLUGINDIR_REL="${PLUGINDIR_REL}" |
27 |
PLIST_SUB= PLUGINDIR_REL="${PLUGINDIR_REL}" |
Lines 29-42
Link Here
|
29 |
make makeplist | \ |
31 |
make makeplist | \ |
30 |
${SED} \ |
32 |
${SED} \ |
31 |
-e "s,^\(%%PLUGINDIR_REL%%/config\.inc\.php\.sample$$\),@sample \1," \ |
33 |
-e "s,^\(%%PLUGINDIR_REL%%/config\.inc\.php\.sample$$\),@sample \1," \ |
32 |
-e "/^%%PLUGINDIR_REL%%\/config\.inc\.php$$/d" \ |
|
|
33 |
-e "s,^\(@dirrm\)try\( %%PLUGINDIR_REL%%/\),\1\2," \ |
34 |
>${.CURDIR}/pkg-plist.tmp |
34 |
>${.CURDIR}/pkg-plist.tmp |
35 |
|
35 |
|
36 |
do-install: |
36 |
do-install: |
37 |
${MKDIR} ${STAGEDIR}${PLUGINDIR} |
37 |
${MKDIR} ${STAGEDIR}${PLUGINDIR} |
38 |
cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${PLUGINDIR} |
38 |
cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${PLUGINDIR} |
39 |
cd ${STAGEDIR}${PLUGINDIR} && \ |
39 |
cd ${STAGEDIR}${PLUGINDIR} && \ |
40 |
${CP} config.inc.php config.inc.php.sample |
40 |
${MV} config.inc.php config.inc.php.sample |
41 |
|
41 |
|
42 |
.include <bsd.port.mk> |
42 |
.include <bsd.port.mk> |