1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/mail/rainloop/Makefile
Kurt Jaeger 29d4fcf7c3 mail/rainloop{-community}: 1.10.2 -> 1.10.3
- Fix translations missing for ckeditor (#1142)
- Change "Spam/Not Spam" icons
- Synchronize localizations from Transifex
- Update all third party libraries

PR:		211870
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
Approved by:	Loic Blot <loic.blot@unix-experience.fr> (maintainer)
2016-08-21 08:01:47 +00:00

60 lines
1.7 KiB
Makefile

# $FreeBSD$
PORTNAME= rainloop
PORTVERSION= 1.10.3
CATEGORIES?= mail www
MASTER_SITES= http://repository.rainloop.net/v2/webmail/${PORTVERSION}/
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}.${RBUILD}-${RHASH}
MAINTAINER= loic.blot@unix-experience.fr
COMMENT= Modern and interactive webmail
.if !defined(PKGNAMESUFFIX)
LICENSE= RainLoop
LICENSE_NAME= RainLoop Software License
LICENSE_TEXT= License can be found at: http://www.rainloop.net/licensing/
LICENSE_PERMS= auto-accept
.endif
.if !defined(PKGNAMESUFFIX)
# Refresh using info from http://repository.rainloop.net/v2/core.stable.json
RHASH= c60080cb65e25169eeabc32e3a537848
.endif
.if defined(PKGNAMESUFFIX)
# Refresh using info from http://repository.rainloop.net/v2/core.open.json
RHASH= aa8d0c41baec166a35bb9855ee3d07b9
.endif
# Refresh using info from http://repository.rainloop.net/v2/core.(stable|open).json
RBUILD= 151
.if !defined(PKGNAMESUFFIX)
RESTRICTED= Redistribution in any form is prohibited
.endif
USES= php:web zip
NO_BUILD= yes
NO_ARCH= yes
NO_WRKSUBDIR= yes
USE_PHP= curl iconv json xml dom openssl pcre spl zlib
RVER= ${PORTVERSION}.${RBUILD}
PLIST_SUB= VER="${RVER}" WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
OPTIONS_RADIO= DB
OPTIONS_RADIO_DB= MYSQL PGSQL SQLITE
OPTIONS_DEFAULT= SQLITE
MYSQL_USE= PHP=pdo_mysql
PGSQL_USE= PHP=pdo_pgsql
SQLITE_USE= PHP=pdo_sqlite
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}/data
${INSTALL_DATA} ${WRKSRC}/data/* ${STAGEDIR}${WWWDIR}/data
${INSTALL_DATA} ${WRKSRC}/index.php ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} rainloop ${STAGEDIR}${WWWDIR})
# Prune empty dirs
@${FIND} ${STAGEDIR}${WWWDIR}/${PORTNAME}/v/${RVER} -type d -empty -delete
.include <bsd.port.mk>