aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-01-03 17:50:13 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-01-03 17:50:13 +0000
commit7e27b4338380903868b7765ae33e805b681b542f (patch)
tree065144885e426be9ce75804531cb20686398b794 /deskutils
parent9a3c297cae9fb617b5f27e6f24b0bfad92d3bf22 (diff)
downloadports-7e27b4338380903868b7765ae33e805b681b542f.tar.gz
ports-7e27b4338380903868b7765ae33e805b681b542f.zip
- Add LICENSE_FILE
- Use USE_GITHUB=yes - Bump PORTREVISION for package change
Notes
Notes: svn path=/head/; revision=405171
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/todo/Makefile9
-rw-r--r--deskutils/todo/distinfo4
2 files changed, 8 insertions, 5 deletions
diff --git a/deskutils/todo/Makefile b/deskutils/todo/Makefile
index 9f761f36f1a4..24e09c7d9b6e 100644
--- a/deskutils/todo/Makefile
+++ b/deskutils/todo/Makefile
@@ -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
diff --git a/deskutils/todo/distinfo b/deskutils/todo/distinfo
index 44765519d4fa..e2d7b80268b0 100644
--- a/deskutils/todo/distinfo
+++ b/deskutils/todo/distinfo
@@ -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