1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name wcd |
---|
7 | version 5.2.5 |
---|
8 | categories sysutils |
---|
9 | maintainers gmail.com:mschamschula openmaintainer |
---|
10 | platforms darwin |
---|
11 | description Wcd is a command-line program to change directory fast. |
---|
12 | long_description Wcd is a command-line program to change directory fast. It saves\ |
---|
13 | time typing at the keyboard. One needs to type only a part of a directory\ |
---|
14 | name and wcd will jump to it. Wcd has a fast selection method in case of\ |
---|
15 | multiple matches and allows aliasing and banning of directories. Wcd also\ |
---|
16 | includes a full screen interactive directory tree browser with speed\ |
---|
17 | search. |
---|
18 | |
---|
19 | homepage http://waterlan.home.xs4all.nl/ |
---|
20 | master_sites ${homepage} |
---|
21 | |
---|
22 | license GPL-2 |
---|
23 | |
---|
24 | checksums rmd160 c44dd74c7c42fd1e0db1378d8057a161d849f892 \ |
---|
25 | sha256 e2b32766c100355b6b31c61a1ebf480b7d5785928cf4bc915b626b0f9a611648 |
---|
26 | |
---|
27 | worksrcdir ${distname}/src |
---|
28 | |
---|
29 | depends_lib port:ncurses |
---|
30 | |
---|
31 | use_configure no |
---|
32 | |
---|
33 | variant universal {} |
---|
34 | |
---|
35 | build.args CC="${configure.cc} [get_canonical_archflags cc]" |
---|
36 | |
---|
37 | eval destroot.args ${build.args} |
---|
38 | |
---|
39 | pre-build { |
---|
40 | reinplace "s|\$(DESTDIR)/usr/|\$(DESTDIR)${prefix}/|g" \ |
---|
41 | ${worksrcpath}/Makefile |
---|
42 | reinplace "s|/usr|${prefix}/|g" \ |
---|
43 | ${worksrcpath}/Makefile |
---|
44 | } |
---|
45 | |
---|
46 | post-destroot { |
---|
47 | file rename ${destroot}${prefix}/bin/wcd.exe ${destroot}${prefix}/bin/wcd |
---|
48 | } |
---|
49 | |
---|