aboutsummaryrefslogblamecommitdiff
path: root/mail/roundcube-larry/Makefile
blob: 008bea429375d4e4b491039ca896aebece7af732 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                     
                                                   

























                                                                                 
PORTNAME=	larry
DISTVERSION=	1.6.0
CATEGORIES?=	mail www
PKGNAMEPREFIX=	roundcube-
PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}

MAINTAINER=	brnrd@FreeBSD.org
COMMENT=	Larry skin/theme for Rouncube webmail
WWW=		https://github.com/roundcube/larry/

LICENSE=	GPLv3+

USES=		cpe php:flavors

RUN_DEPENDS=	roundcube${PHP_PKGNAMESUFFIX}>=1.6.0:mail/roundcube@${PHP_FLAVOR}
NO_ARCH=	yes
NO_BUILD=	yes

CPE_PRODUCT=	webmail
CPE_VENDOR=	roundcube

IGNORE_WITH_PHP=82

WWWDIR=		${PREFIX}/www/${PKGNAMEPREFIX:S/-//}/skins/${PORTNAME}

USE_GITHUB=	yes
GH_ACCOUNT=	${PKGNAMEPREFIX:S/-//}

do-install:
	@${MKDIR} ${STAGEDIR}${WWWDIR}
	@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
	@(cd ${WRKSRC}; ${FIND} . -not -type d) | ${SORT} | \
		${SED} -e 's,^\.,${WWWDIR_REL},' >> ${TMPPLIST}

.include <bsd.port.mk>