aboutsummaryrefslogtreecommitdiff
path: root/mail/rainloop
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2020-07-04 09:29:32 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2020-07-04 09:29:32 +0000
commitd1f204218fec6c7241d681fb462dfc7e64063d5e (patch)
tree25f6c8a6831e212514e664f3dd1f4f3532d0976f /mail/rainloop
parent8ac8c23b93bb18bf82f1f184848f21c40623a994 (diff)
Notes
Diffstat (limited to 'mail/rainloop')
-rw-r--r--mail/rainloop/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/mail/rainloop/Makefile b/mail/rainloop/Makefile
index ca9389548edd..40cb3c37aa51 100644
--- a/mail/rainloop/Makefile
+++ b/mail/rainloop/Makefile
@@ -4,27 +4,29 @@ PORTNAME= rainloop
PORTVERSION= 1.14.0
CATEGORIES= mail www
MASTER_SITES= https://github.com/RainLoop/rainloop-webmail/releases/download/v${PORTVERSION}/
+PKGNAMESUFFIX?= ${PHP_PKGNAMESUFFIX}
MAINTAINER= yasu@utahime.org
COMMENT?= Modern and interactive webmail
-.if !defined(PKGNAMESUFFIX)
+.if "${PKGNAMESUFFIX"} == "${PHP_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)
-RESTRICTED= Redistribution in any form is prohibited
-.endif
-USES= php:web zip
+USES= php:web,flavors zip
NO_BUILD= yes
NO_ARCH= yes
NO_WRKSUBDIR= yes
USE_PHP= curl iconv json xml dom openssl pcre spl zlib
PLIST_SUB= VER="${PORTVERSION}" WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
+.if "${PKGNAMESUFFIX}" == "${PHP_PKGNAMESUFFIX}"
+RESTRICTED= Redistribution in any form is prohibited
+.endif
+
OPTIONS_RADIO= DB
OPTIONS_RADIO_DB= MYSQL PGSQL SQLITE
OPTIONS_DEFAULT= SQLITE