svn commit: r464783 - head/www/radicale

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Mar 17 10:44:20 UTC 2018


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 at 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 at FreeBSD.org
-COMMENT=		Python based CalDAV/CardDAV server
+MAINTAINER=	sunpoet at 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


More information about the svn-ports-all mailing list