source: trunk/dports/editors/nvi/Portfile

Last change on this file was 139469, checked in by jmr@…, 2 years ago

ncurses: update to 6.0, rev bump dependents due to new ABI

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 139469 2015-08-18 01:10:17Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            nvi
6version         1.81.6
7revision        2
8categories      editors
9license         BSD
10maintainers     toby
11description     A vi/ex clone
12
13long_description \
14    Nvi is an implementation of the ex/vi text editor originally \
15    distributed as part of the Fourth Berkeley Software Distribution \
16    (4BSD), by the University of California, Berkeley.
17
18homepage        http://www.bostic.com/vi/
19platforms       darwin
20master_sites    http://www.kotnet.org/~skimo/nvi/devel/
21checksums       md5 88d1e23115ee9f2961186b62e55f5704
22use_bzip2       yes
23
24configure.dir   ${worksrcpath}/dist
25build.dir       ${configure.dir}
26
27set my_db_version db47
28
29depends_lib     port:ncurses port:${my_db_version}
30
31patchfiles \
32    patch-common__db.h \
33    patch-common__key.h \
34    patch-dist__port.h.in \
35    patch-ex_script.c.diff
36
37configure.args \
38    --program-prefix=n \
39    --without-x \
40    --mandir=${prefix}/share/man \
41    vi_cv_path_preserve=/var/tmp/vi.recover
42
43configure.cppflags-append \
44    -I${prefix}/include/${my_db_version}
45configure.ldflags-append \
46    -L${prefix}/lib/${my_db_version}
47
48variant x11 {
49    configure.args-delete --without-x
50    configure.args-append --with-x
51}
Note: See TracBrowser for help on using the repository browser.