Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jul 2020 09:29:33 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r541184 - in head/mail: rainloop rainloop-community
Message-ID:  <202007040929.0649TXHo039858@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lwhsu
Date: Sat Jul  4 09:29:32 2020
New Revision: 541184
URL: https://svnweb.freebsd.org/changeset/ports/541184

Log:
  Flavorize
  
  PR:		247543
  Submitted by:	Yasuhiro KIMURA <yasu@utahime.org> (maintainer)

Modified:
  head/mail/rainloop-community/Makefile
  head/mail/rainloop/Makefile

Modified: head/mail/rainloop-community/Makefile
==============================================================================
--- head/mail/rainloop-community/Makefile	Sat Jul  4 09:26:58 2020	(r541183)
+++ head/mail/rainloop-community/Makefile	Sat Jul  4 09:29:32 2020	(r541184)
@@ -2,7 +2,7 @@
 
 PORTNAME=	rainloop
 DISTVERSIONPREFIX=	community-
-PKGNAMESUFFIX=	-community
+PKGNAMESUFFIX=	-community${PHP_PKGNAMESUFFIX}
 
 COMMENT=	Modern and interactive webmail - community edition
 

Modified: head/mail/rainloop/Makefile
==============================================================================
--- head/mail/rainloop/Makefile	Sat Jul  4 09:26:58 2020	(r541183)
+++ head/mail/rainloop/Makefile	Sat Jul  4 09:29:32 2020	(r541184)
@@ -4,26 +4,28 @@ 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007040929.0649TXHo039858>