blob: d65aba0e0d8a8462ed95ad483f3ab57fa70a925e (
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
34
35
|
# Created by: Mark Felder <feld@FreeBSD.org>
# $FreeBSD$
PORTNAME= veximaccountadmin
PORTVERSION= 0.1
PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://axel.sjostedt.no/misc/files/
PKGNAMEPREFIX= roundcube-
DISTNAME= rcube_plg_veximaccountadmin
MAINTAINER= feld@FreeBSD.org
COMMENT= Roundcube vexim account admin plugin
LICENSE= GPLv3
RUN_DEPENDS= roundcube>=0.9:${PORTSDIR}/mail/roundcube
NO_BUILD= yes
PLIST_SUB+= PLUGINDIR="${PLUGINDIR}"
WWWDIR= ${PREFIX}/www/roundcube
PLUGINDIR= ${WWWDIR}/plugins/${PORTNAME}
WRKSRC= ${WRKDIR}/veximaccountadmin
REINPLACE_ARGS=-i ''
post-patch:
@${REINPLACE_CMD} -e 's/new rcube_mdb2/new rcube_db/g' ${WRKSRC}/veximaccountadmin.php
do-install:
@${ECHO} "Installing in ${PLUGINDIR}"
${MKDIR} ${STAGEDIR}/${PLUGINDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${PLUGINDIR}
.include <bsd.port.mk>
|