Changeset 99599
- Timestamp:
- Nov 11, 2012, 3:58:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/office/todotxt/Portfile
r93991 r99599 27 27 destroot { 28 28 xinstall -m 755 ${worksrcpath}/todo.sh ${destroot}${prefix}/bin/$name 29 xinstall -m 644 ${worksrcpath}/todo.cfg ${destroot}${prefix}/etc/todo.cfg-dist 29 xinstall -d -m 755 ${destroot}${prefix}/share/${name} 30 xinstall -m 644 ${worksrcpath}/todo.cfg ${destroot}${prefix}/share/${name}/todo.cfg-dist 30 31 } 31 32 32 notes " 33 You will need to copy and then edit the default configuration\ 34 (${prefix}/etc/todo.cfg-dist) in your home directory. 35 " 33 patch { 34 # default cfg will try to write in $prefix/bin, since this isn't obvious from the config 35 # file we help the user avoiding this 36 reinplace "s|TODO_DIR=`dirname \"\$0\"`|TODO_DIR=\"\$HOME\"/.todo|" ${worksrcpath}/todo.cfg 37 } 38 39 notes "Copy the default configuration file from ${prefix}/etc/todo.cfg-dist \ 40 to ~/.todo/config and customize it."
Note: See TracChangeset
for help on using the changeset viewer.