1 | PortSystem 1.0 |
---|
2 | |
---|
3 | name nvi |
---|
4 | version 1.81.6 |
---|
5 | revision 7 |
---|
6 | categories editors |
---|
7 | license BSD |
---|
8 | maintainers nomaintainer |
---|
9 | description A vi/ex clone |
---|
10 | |
---|
11 | long_description \ |
---|
12 | Nvi is an implementation of the ex/vi text editor originally \ |
---|
13 | distributed as part of the Fourth Berkeley Software Distribution \ |
---|
14 | (4BSD), by the University of California, Berkeley. |
---|
15 | |
---|
16 | homepage http://www.bostic.com/vi/ |
---|
17 | platforms darwin |
---|
18 | master_sites ftp://ftp.stack.nl/pub/users/johans/nvi/ |
---|
19 | checksums md5 88d1e23115ee9f2961186b62e55f5704 \ |
---|
20 | rmd160 0db8568bea96392d9a027044177c60317c8ade36 \ |
---|
21 | sha256 3441b8e3247b2b6dd19b5fd38355fe6593b2a92e960ecb3dd00d676f63d06b59 |
---|
22 | use_bzip2 yes |
---|
23 | |
---|
24 | #configure.compiler macports-clang-9.0 |
---|
25 | |
---|
26 | #use_autoreconf yes |
---|
27 | #autoreconf.args --install --verbose --force |
---|
28 | |
---|
29 | configure.dir ${worksrcpath}/dist |
---|
30 | build.dir ${configure.dir} |
---|
31 | |
---|
32 | set my_db_version db48 |
---|
33 | |
---|
34 | depends_lib port:ncurses port:${my_db_version} |
---|
35 | |
---|
36 | patchfiles \ |
---|
37 | patch-common__db.h \ |
---|
38 | patch-common__key.h \ |
---|
39 | patch-dist__port.h.in \ |
---|
40 | patch-ex_script.c.diff \ |
---|
41 | patch-includes.diff \ |
---|
42 | patch-common_msg.c \ |
---|
43 | patch-powerof2.diff \ |
---|
44 | patch-configure.diff |
---|
45 | |
---|
46 | configure.args \ |
---|
47 | --program-prefix=n \ |
---|
48 | --without-x \ |
---|
49 | --mandir=${prefix}/share/man \ |
---|
50 | vi_cv_path_preserve=/var/tmp/vi.recover \ |
---|
51 | --disable-dependency-tracking \ |
---|
52 | CC="\$CC -Wno-implicit-function-declaration" |
---|
53 | |
---|
54 | configure.cppflags-append \ |
---|
55 | -I${prefix}/include/${my_db_version} |
---|
56 | configure.ldflags-append \ |
---|
57 | -L${prefix}/lib/${my_db_version} |
---|
58 | |
---|
59 | variant x11 { |
---|
60 | configure.args-delete --without-x |
---|
61 | configure.args-append --with-x |
---|
62 | } |
---|