1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/mail/roundcube-mobilecube/Makefile
Mathieu Arnold 347bcbe270 flavorize mail/roundcube and plugins.
PR:		227715
Submitted by:	mat
Approved by:	maintainers
Sponsored by:	Absolight
2018-05-02 16:15:59 +00:00

35 lines
903 B
Makefile

# Created by: Alexey V. Degtyarev <alexey@renatasystems.org>
# $FreeBSD$
PORTNAME= mobilecube
PORTVERSION= ${THEME_VERSION}.${THEME_BUILD}
CATEGORIES= mail
MASTER_SITES= SF/${PORTNAME}/${THEME_VERSION}%20Beta/Build%20%23${THEME_BUILD}/
PKGNAMEPREFIX= roundcube-
DISTNAME= MobileCubeBeta%23${THEME_BUILD}
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Theme for RoundCube Web Mail
RUN_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=0.3:mail/roundcube@${PHP_FLAVOR}
THEME_VERSION?= 3.1.0
THEME_BUILD?= 030110A
USES= php:flavors zip
NO_BUILD= yes
NO_ARCH= yes
WRKSRC= ${WRKDIR}/MobileCubeBeta\#${THEME_BUILD}
WWWDIR?= ${PREFIX}/www/roundcube/skins/MobileCube
post-patch:
${FIND} ${WRKSRC} -type f -name '*.orig' -or -name '.DS_Store' -delete
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
cd ${WRKSRC}/MobileCube && ${PAX} -r -w . ${STAGEDIR}${WWWDIR}
.include <bsd.port.mk>