Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Feb 2018 10:48:07 +0000 (UTC)
From:      Ben Woods <woodsb02@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r460695 - head/deskutils/calcurse
Message-ID:  <201802021048.w12Am7Bq089460@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: woodsb02
Date: Fri Feb  2 10:48:07 2018
New Revision: 460695
URL: https://svnweb.freebsd.org/changeset/ports/460695

Log:
  deskutils/calcurse: Update to 4.3.0 and add CALDAV option
  
  - Also fix the SHEBANG to work regardless of whether or not python is
    installed via the CALDAV option.
  
  PR:		225604
  Approved by:	culot (maintainer)

Modified:
  head/deskutils/calcurse/Makefile
  head/deskutils/calcurse/distinfo

Modified: head/deskutils/calcurse/Makefile
==============================================================================
--- head/deskutils/calcurse/Makefile	Fri Feb  2 10:09:19 2018	(r460694)
+++ head/deskutils/calcurse/Makefile	Fri Feb  2 10:48:07 2018	(r460695)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	calcurse
-PORTVERSION=	4.2.2
+PORTVERSION=	4.3.0
 CATEGORIES=	deskutils
 MASTER_SITES=	http://calcurse.org/files/
 
@@ -10,19 +10,27 @@ MAINTAINER=	culot@FreeBSD.org
 COMMENT=	Text-based calendar and scheduling application
 
 LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-OPTIONS_DEFINE=	DOCS NLS
+OPTIONS_DEFINE=	CALDAV DOCS NLS
+OPTIONS_DEFAULT=CALDAV
 OPTIONS_SUB=	yes
 
 USES=		gmake ncurses shebangfix
-SHEBANG_LANG=	python3
-SHEBANG_FILES=	contrib/caldav/calcurse-caldav.py
+SHEBANG_FILES=	contrib/caldav/calcurse-caldav \
+		contrib/caldav/calcurse-caldav.py
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--without-asciidoc
 
 DOCS_CONFIGURE_ENABLE=	docs
 NLS_CONFIGURE_ENABLE=	nls
 NLS_USES=	gettext
+
+CALDAV_DESC=		Support Calendaring Extensions to WebDAV
+CALDAV_USES=		python:3.4+
+CALDAV_USES_OFF=	python:3.4+,env
+CALDAV_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}httplib2>=0:www/py-httplib2@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}oauth2client>=0:security/py-oauth2client@${PY_FLAVOR}
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|^docdir = .*|docdir = ${DOCSDIR}|' ${WRKSRC}/doc/Makefile.in

Modified: head/deskutils/calcurse/distinfo
==============================================================================
--- head/deskutils/calcurse/distinfo	Fri Feb  2 10:09:19 2018	(r460694)
+++ head/deskutils/calcurse/distinfo	Fri Feb  2 10:48:07 2018	(r460695)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1501159906
-SHA256 (calcurse-4.2.2.tar.gz) = c6881ddbd1cc7fbd02898187ac0fb4c6d8ac4c2715909b1cf00fb7a90cf08046
-SIZE (calcurse-4.2.2.tar.gz) = 612456
+TIMESTAMP = 1517490109
+SHA256 (calcurse-4.3.0.tar.gz) = 31ecc3dc09e1e561502b4c94f965ed6b167c03e9418438c4a7ad5bad2c785f9a
+SIZE (calcurse-4.3.0.tar.gz) = 597490



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