source: trunk/dports/editors/ne/Portfile @ 22478

Last change on this file since 22478 was 22478, checked in by pipping@…, 14 years ago
  • Spring-cleaning @opendarwin.org addresses

see #11465
see http://www.mail-archive.com/macports-dev@lists.macosforge.org/msg00309.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
2
3PortSystem 1.0
4name             ne
5version          1.42
6categories       editors
7maintainers      nomaintainer@macports.org
8description      ne - nice editor
9long_description \
10    ne is a free text editor that runs on (hopefully almost) any \
11    UN*X machine. ne is easy to use for the beginner, but powerful \
12    and fully configurable for the wizard, and most sparing in its \
13    resource usage.
14homepage         http://ne.dsi.unimi.it/
15
16master_sites     ${homepage}
17checksums        md5 1640268b2a425e0e59e3448af413a258
18
19patch {
20    reinplace "s|/usr|${prefix}|" ${worksrcpath}/src/makefile
21}
22
23configure        {}
24
25build.dir        ${worksrcpath}/src
26build.target
27
28destroot {
29    xinstall -m 555 ${worksrcpath}/src/ne ${destroot}${prefix}/bin
30    xinstall -m 444 ${worksrcpath}/doc/ne.1 ${destroot}${prefix}/share/man/man1
31
32        xinstall -d ${destroot}${prefix}/share/doc/ne
33        xinstall -m 444 \
34                ${worksrcpath}/CHANGES \
35                ${worksrcpath}/COPYING \
36                ${worksrcpath}/README \
37                ${destroot}${prefix}/share/doc/ne
38
39        foreach doc [glob -directory ${worksrcpath}/doc *] {
40                xinstall -m 444 ${doc} ${destroot}${prefix}/share/doc/ne
41        }
42}
Note: See TracBrowser for help on using the repository browser.