1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update to 2.4.2

PR:		ports/187619
Submitted by:	Lawrence "The Dreamer" Chen <beastie@tardisi.com>
This commit is contained in:
Li-Wen Hsu 2014-03-16 17:45:47 +00:00
parent 1b0da5778a
commit 126fddb802
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348422
2 changed files with 33 additions and 13 deletions

View File

@ -2,30 +2,50 @@
# $FreeBSD$
PORTNAME= gcalcli
PORTVERSION= 2.1
PORTREVISION= 1
PORTVERSION= 2.4.2
CATEGORIES= deskutils
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
EXTRACT_SUFX= .tgz
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= Google Calendar Command Line Interface
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gdata/__init__.py:${PORTSDIR}/devel/py-gdata \
${PYTHON_PKGNAMEPREFIX}dateutil>=0:${PORTSDIR}/devel/py-dateutil \
${PYTHON_PKGNAMEPREFIX}vobject>=0.4.8:${PORTSDIR}/deskutils/py-vobject
${PYTHON_PKGNAMEPREFIX}dateutil>=0:${PORTSDIR}/devel/py-dateutil
USE_GITHUB= yes
GH_ACCOUNT= insanum
GH_PROJECT= gcalcli
GH_TAGNAME= v${PORTVERSION}
GH_COMMIT= a0fc61a
USE_PYTHON= yes
NO_WRKSUBDIR= yes
NO_BUILD= yes
PORTDOCS= README.md gcalcli_?.png
PLIST_FILES= bin/gcalcli
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s,/usr/bin/python2,${SETENV} python," ${WRKSRC}/${PORTNAME}
OPTIONS_DEFINE= DOCS FUZZYDATES ICS_VCAL SIMPLEJSON
OPTIONS_DEFAULT= ICS_VCAL
ICS_VCAL_DESC= enable importing of ics/vcal files
SIMPLEJSON_DESC= use simplejson for url shortening
FUZZYDATES_DESC= use parsedatetime for fuzzy date parsing
ICS_VCAL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vobject>=0.4.8:${PORTSDIR}/deskutils/py-vobject
SIMPLEJSON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>=0:${PORTSDIR}/devel/py-simplejson
FUZZYDATES_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}parsedatetime>=0:${PORTSDIR}/devel/py-parsedatetime
.include <bsd.port.options.mk>
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${MKDIR} ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}/${DOCSDIR}
(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.endif
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (gcalcli-2.1.tgz) = 6007a7134f7ba4c21dd8f73916ae99b0601213b26f004034936d2bfb28788932
SIZE (gcalcli-2.1.tgz) = 12099
SHA256 (gcalcli-2.4.2.tar.gz) = f20237400567383a614424485998d7f315f9ff819c84fab5d7d97f5f22daf00e
SIZE (gcalcli-2.4.2.tar.gz) = 1667781