diff options
author | lwhsu <lwhsu@FreeBSD.org> | 2014-03-17 01:45:47 +0800 |
---|---|---|
committer | lwhsu <lwhsu@FreeBSD.org> | 2014-03-17 01:45:47 +0800 |
commit | 608895ea5d611bed121de05d3bf5be0c01cf4c4c (patch) | |
tree | 6693efae8f487df2214a833f14a081dca17fd372 /deskutils | |
parent | f8aa360db5f38bfee677953e206e34864466d3bf (diff) | |
download | freebsd-ports-gnome-608895ea5d611bed121de05d3bf5be0c01cf4c4c.tar.gz freebsd-ports-gnome-608895ea5d611bed121de05d3bf5be0c01cf4c4c.tar.zst freebsd-ports-gnome-608895ea5d611bed121de05d3bf5be0c01cf4c4c.zip |
- Update to 2.4.2
PR: ports/187619
Submitted by: Lawrence "The Dreamer" Chen <beastie@tardisi.com>
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/gcalcli/Makefile | 42 | ||||
-rw-r--r-- | deskutils/gcalcli/distinfo | 4 |
2 files changed, 33 insertions, 13 deletions
diff --git a/deskutils/gcalcli/Makefile b/deskutils/gcalcli/Makefile index 5a708574e1a7..d67685d2d656 100644 --- a/deskutils/gcalcli/Makefile +++ b/deskutils/gcalcli/Makefile @@ -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> diff --git a/deskutils/gcalcli/distinfo b/deskutils/gcalcli/distinfo index 1c8b96dd8984..5c7ba38f12bf 100644 --- a/deskutils/gcalcli/distinfo +++ b/deskutils/gcalcli/distinfo @@ -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 |