[88966] trunk/dports/office/todotxt/Portfile
snc at macports.org
snc at macports.org
Sun Jan 15 07:41:01 PST 2012
Revision: 88966
http://trac.macports.org/changeset/88966
Author: snc at macports.org
Date: 2012-01-15 07:40:57 -0800 (Sun, 15 Jan 2012)
Log Message:
-----------
todotxt:
* use github portgroup
* suffix default config file with -dist
Modified Paths:
--------------
trunk/dports/office/todotxt/Portfile
Modified: trunk/dports/office/todotxt/Portfile
===================================================================
--- trunk/dports/office/todotxt/Portfile 2012-01-15 14:26:02 UTC (rev 88965)
+++ trunk/dports/office/todotxt/Portfile 2012-01-15 15:40:57 UTC (rev 88966)
@@ -2,7 +2,9 @@
# $Id$
PortSystem 1.0
+PortGroup github 1.0
+github.setup ginatrapani todo.txt-cli v2.8
name todotxt
version 2.8
categories office
@@ -13,29 +15,20 @@
long_description A simple and extensible shell script for managing your \
todo.txt file.
-homepage http://ginatrapani.github.com/todo.txt-cli/
-
platforms darwin
-master_sites http://github.com/downloads/ginatrapani/todo.txt-cli
-distname todo.txt_cli-${version}
+checksums rmd160 ce30f41d4e0e7e8874a97bbe00a648e11cf211e1 \
+ sha256 9c3a84babb5d1e58fa6090933b8d1d2b70ec3b22366277bea88fc32b0f09ea09
-checksums rmd160 55d31bc3c139b95127bc5ff20e9c8352a962c1d6 \
- sha256 848c5ccd48cf7580730bf2caf91fbe5516c547b24f4d1cecb92c55c31284f135
-
use_configure no
build {}
destroot {
xinstall -m 755 ${worksrcpath}/todo.sh ${destroot}${prefix}/bin/$name
- xinstall -m 644 ${worksrcpath}/todo.cfg ${destroot}${prefix}/etc/todo.cfg
+ xinstall -m 644 ${worksrcpath}/todo.cfg ${destroot}${prefix}/etc/todo.cfg-dist
}
notes \
"You will need to copy and then edit the default configuration
-(${prefix}/etc/todo.cfg) in your home directory."
-
-livecheck.type regex
-livecheck.url http://github.com/ginatrapani/todo.txt-cli/downloads
-livecheck.regex "todo\\.txt_cli-(\\d+\\.\\d+(\\.\\d+)?)"
+(${prefix}/etc/todo.cfg-dist) in your home directory."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120115/ab4a31e5/attachment.html>
More information about the macports-changes
mailing list