Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Mar 2018 10:44:18 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464783 - head/www/radicale
Message-ID:  <201803171044.w2HAiIjO059786@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Mar 17 10:44:18 2018
New Revision: 464783
URL: https://svnweb.freebsd.org/changeset/ports/464783

Log:
  Convert to options dependency helper
  
  - Fix indent
  - Add GitHub repository to WWW
  - Take maintainership

Modified:
  head/www/radicale/Makefile
  head/www/radicale/pkg-descr

Modified: head/www/radicale/Makefile
==============================================================================
--- head/www/radicale/Makefile	Sat Mar 17 10:44:12 2018	(r464782)
+++ head/www/radicale/Makefile	Sat Mar 17 10:44:18 2018	(r464783)
@@ -1,44 +1,39 @@
 # Created by: Mark Felder <feld@FreeBSD.org>
 # $FreeBSD$
 
-PORTNAME=		radicale
-PORTVERSION=		1.1.6
-CATEGORIES=		www python
-MASTER_SITES=		CHEESESHOP
-PKGNAMEPREFIX=		${PYTHON_PKGNAMEPREFIX}
-DISTNAME=		Radicale-${PORTVERSION}
+PORTNAME=	radicale
+PORTVERSION=	1.1.6
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	Radicale-${PORTVERSION}
 
-MAINTAINER=		ports@FreeBSD.org
-COMMENT=		Python based CalDAV/CardDAV server
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Python based CalDAV/CardDAV server
 
-LICENSE=		GPLv3
+LICENSE=	GPLv3
 
-USE_PYTHON=		autoplist distutils
+USE_PYTHON=	autoplist distutils
 
 NO_ARCH=	yes
 
-USERS=			radicale
-GROUPS=			radicale
-USE_RC_SUBR=		radicale
-SUB_LIST+=		USERS="${USERS}" PYTHON_CMD="${PYTHON_CMD}"
+USERS=		radicale
+GROUPS=		radicale
+USE_RC_SUBR=	radicale
+SUB_LIST=	USERS="${USERS}" PYTHON_CMD="${PYTHON_CMD}"
 
-OPTIONS_DEFINE=		HTTP LDAP
-HTTP_DESC=		HTTP authentication support
+OPTIONS_DEFINE=	HTTP LDAP
+HTTP_DESC=	HTTP authentication support
 
+HTTP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests1>=0:www/py-requests1@${FLAVOR}
+LDAP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ldap>=0:net/py-ldap@${FLAVOR}
+
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MHTTP} || ${PORT_OPTIONS:MLDAP}
 USES+=		python:2.7
 .else
 USES+=		python
-.endif
-
-.if ${PORT_OPTIONS:MHTTP}
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}requests1>=0:www/py-requests1@${FLAVOR}
-.endif
-
-.if ${PORT_OPTIONS:MLDAP}
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}ldap>=0:net/py-ldap@${FLAVOR}
 .endif
 
 post-patch:

Modified: head/www/radicale/pkg-descr
==============================================================================
--- head/www/radicale/pkg-descr	Sat Mar 17 10:44:12 2018	(r464782)
+++ head/www/radicale/pkg-descr	Sat Mar 17 10:44:18 2018	(r464783)
@@ -2,3 +2,4 @@ The Radicale Project is a complete CalDAV (calendar) a
 server solution.
 
 WWW: http://radicale.org/
+WWW: https://github.com/Kozea/Radicale



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