Update mail/roundcube-sauserprefs to version 1.10
[dports.git] / mail / roundcube-sauserprefs / Makefile
1 # Created by: Stefan Bethke <stb@lassitu.de>
2 # $FreeBSD: mail/roundcube-sauserprefs/Makefile 319333 2013-05-29 00:38:53Z miwi $
3
4 PORTNAME=       sauserprefs
5 PORTVERSION=    1.10
6 CATEGORIES=     mail
7 MASTER_SITES=   http://www.tehinterweb.co.uk/roundcube/plugins/
8 PKGNAMEPREFIX=  roundcube-
9 DISTNAME=       ${PORTNAME}
10
11 MAINTAINER=     stb@lassitu.de
12 COMMENT=        Roundcube plugin to manage SpamAssassin prefs
13
14 LICENSE=        GPLv3
15
16 RUN_DEPENDS=    roundcube>=0.8:${PORTSDIR}/mail/roundcube
17
18 NO_BUILD=       yes
19
20 WWWDIR=         ${PREFIX}/www/roundcube/plugins/sauserprefs
21
22 # This target is only meant to be used by the port maintainer.
23 x-generate-plist: build
24         cd ${WRKSRC}; \
25         ${FIND} . ! -type d ! -name '*.orig' | ${SORT} | \
26                 ${SED} -e "s,^\.,%%WWWDIR%%," >${.CURDIR}/pkg-plist.tmp ; \
27         ${FIND} . -type d | ${SORT} -r | ${SED} \
28                 -e "s,^\.$$,@dirrmtry %%WWWDIR%%," \
29                 -e "s,^\.,@dirrm %%WWWDIR%%," >>${.CURDIR}/pkg-plist.tmp
30
31 do-install:
32         ${MKDIR} ${WWWDIR}
33         cd ${WRKSRC} && ${PAX} -r -w . ${WWWDIR}
34
35 .include <bsd.port.mk>