Ticket #16420: Portfile

File Portfile, 1.5 KB (added by reg.macports@…, 16 years ago)
Line 
1# $Id$
2
3PortSystem      1.0
4
5name            cdargs
6version         1.35
7categories      sysutils
8maintainers     reg.macports@entropy.ch
9description     Bookmarks for the shell
10long_description \
11    CDargs heavily enhances the navigation of the common unix \
12    file-system inside the shell. It plugs into the shell built-in \
13    cd-command (via a shell function or an alias) and thus adds \
14    bookmarks and a browser to it. It enables you to move to a very \
15    distant place in the file-system with just a few keystrokes. \
16    This is the kind of thing that power shell users invent when even \
17    the almighty and wonderful TAB-completion is too much typing. \
18    \
19    Note that you should source the ${prefix}/etc/profile.d/cdargs-bash.sh \
20    file in your shell's startup script file.
21
22homepage        http://www.skamphausen.de/cgi-bin/ska/CDargs
23
24platforms       darwin
25
26master_sites    http://www.skamphausen.de/downloads/cdargs/
27
28checksums       md5 50be618d67f0b9f2439526193c69c567 \
29                sha1 20017d09d3259fcd1385754554a3e17a1c975f9b \
30                rmd160 44cbe35281ab29fa48149792c34afa61d117e33d
31
32configure.args  --prefix=${prefix} \
33                --mandir=${prefix}/share/man
34
35post-destroot {
36    # Install helper files not installed by the Makefile
37    file mkdir ${destroot}${prefix}/etc/profile.d
38    file copy ${worksrcpath}/contrib/cdargs-bash.sh ${destroot}${prefix}/etc/profile.d
39    file copy ${worksrcpath}/contrib/cdargs-tcsh.csh ${destroot}${prefix}/etc/profile.d
40}