Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2016 17:50:14 +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: r405171 - head/deskutils/todo
Message-ID:  <201601031750.u03HoEp3084774@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Jan  3 17:50:13 2016
New Revision: 405171
URL: https://svnweb.freebsd.org/changeset/ports/405171

Log:
  - Add LICENSE_FILE
  - Use USE_GITHUB=yes
  - Bump PORTREVISION for package change

Modified:
  head/deskutils/todo/Makefile
  head/deskutils/todo/distinfo

Modified: head/deskutils/todo/Makefile
==============================================================================
--- head/deskutils/todo/Makefile	Sun Jan  3 17:50:09 2016	(r405170)
+++ head/deskutils/todo/Makefile	Sun Jan  3 17:50:13 2016	(r405171)
@@ -4,15 +4,14 @@
 PORTNAME=	todo
 PORTVERSION=	2.10
 DISTVERSIONPREFIX=	v
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	deskutils
-MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${PORTVERSION}/
-DISTNAME=	todo.txt_cli-${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Todo.txt Manager
 
 LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
 
@@ -28,9 +27,13 @@ PLIST_FILES=	bin/todo \
 
 GH_ACCOUNT=	ginatrapani
 GH_PROJECT=	todo.txt-cli
+USE_GITHUB=	yes
 
 SHEBANG_FILES=	todo.sh todo_completion
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|@DEV_VERSION@|${PORTVERSION}|' ${WRKSRC}/todo.sh
+
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/todo.sh ${STAGEDIR}${PREFIX}/bin/todo
 	${INSTALL_DATA} ${WRKSRC}/todo.cfg ${STAGEDIR}${PREFIX}/etc/todo.cfg

Modified: head/deskutils/todo/distinfo
==============================================================================
--- head/deskutils/todo/distinfo	Sun Jan  3 17:50:09 2016	(r405170)
+++ head/deskutils/todo/distinfo	Sun Jan  3 17:50:13 2016	(r405171)
@@ -1,2 +1,2 @@
-SHA256 (todo.txt_cli-2.10.tar.gz) = b59417a26feeafd811e0f1ff17e85e69ac5bcb1a0544b736f539ffb8fe27f6a9
-SIZE (todo.txt_cli-2.10.tar.gz) = 14349
+SHA256 (ginatrapani-todo.txt-cli-v2.10_GH0.tar.gz) = 55b6b86a970c25efcd05b24b37e8141bab623ddfa681638d49fd6fd6907eda2c
+SIZE (ginatrapani-todo.txt-cli-v2.10_GH0.tar.gz) = 56509



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