Ticket #2439: Portfile.2

File Portfile.2, 1.1 KB (added by reilles@…, 19 years ago)

The real portfile, this time

Line 
1
2PortSystem 1.0
3
4name            ledit
5version         1.11
6categories      editors
7maintainers     reilles@loria.fr
8description     A line editor to be used with interactive commands.
9long_description    The command ledit allows to edit lines one by\
10  one when  running  an  interactive command. When typing a line,\
11  some keys with control or meta are  interpreted:  it  is  possible\
12  to insert  characters  in  the  middle  of  the line, go to the\
13  beginning or the end of  the  line,  get  a  previous  line,\
14  search for a line with a pattern, etc.
15homepage      http://cristal.inria.fr/~ddr/ 
16master_sites    ftp://ftp.inria.fr/INRIA/Projects/cristal/Daniel.de_Rauglaudre/Tools/
17checksums       md5   a2d38ba641682509c1e964ad699a9dd2
18depends_build   bin:ocamlc:ocaml
19configure {
20  cd ${worksrcpath}
21  reinplace "s|BINDIR=/usr/local/bin|BINDIR=${destroot}${prefix}/bin|" Makefile
22  reinplace "s|LIBDIR=/usr/local/lib|LIBDIR=${destroot}${prefix}/lib/ledit|" Makefile
23  reinplace "s|MANDIR=/usr/man/manl|MANDIR=${destroot}${prefix}/share/man/man1|" Makefile
24  reinplace "s|(MANDIR)/ledit.l|(MANDIR)/ledit.1|" Makefile
25}
26