aboutsummaryrefslogtreecommitdiffstats
path: root/mail/roundcube-air/Makefile
blob: 9eb81d5ab05c772ef8f48372cdb038e40e5b5261 (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
# Created by: Alexey V. Degtyarev
# $FreeBSD$

PORTNAME=   air
PORTVERSION=    1.4
CATEGORIES= mail
MASTER_SITES=   ftp://renatasystems.org/pub/FreeBSD/ports/distfiles/
PKGNAMEPREFIX=  roundcube-

MAINTAINER= ports@FreeBSD.org
COMMENT=    Theme for RoundCube Web Mail

RUN_DEPENDS=    roundcube>=0.3:${PORTSDIR}/mail/roundcube

NO_BUILD=   yes

WWWDIR?=    ${PREFIX}/www/roundcube/skins/air

# This target is only meant to be used by the port maintainer.
x-generate-plist: build
    cd ${WRKSRC}; \
    ${FIND} . ! -type d ! -name '*.orig' | ${SORT} | \
        ${SED} -e "s,^\.,%%WWWDIR%%," >${.CURDIR}/pkg-plist.tmp ; \
    ${FIND} . -type d | ${SORT} -r | ${SED} \
        -e "s,^\.$$,@dirrmtry %%WWWDIR%%," \
        -e "s,^\.,@dirrm %%WWWDIR%%," >>${.CURDIR}/pkg-plist.tmp

do-install:
    @${MKDIR} ${STAGEDIR}${WWWDIR}
    cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}${WWWDIR}

.include <bsd.port.mk>