# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $ PortSystem 1.0 name ne version 1.42 categories editors maintainers nomaintainer@macports.org description ne - nice editor long_description \ ne is a free text editor that runs on (hopefully almost) any \ UN*X machine. ne is easy to use for the beginner, but powerful \ and fully configurable for the wizard, and most sparing in its \ resource usage. homepage http://ne.dsi.unimi.it/ master_sites ${homepage} checksums md5 1640268b2a425e0e59e3448af413a258 patch { reinplace "s|/usr|${prefix}|" ${worksrcpath}/src/makefile } configure {} build.dir ${worksrcpath}/src build.target destroot { xinstall -m 555 ${worksrcpath}/src/ne ${destroot}${prefix}/bin xinstall -m 444 ${worksrcpath}/doc/ne.1 ${destroot}${prefix}/share/man/man1 xinstall -d ${destroot}${prefix}/share/doc/ne xinstall -m 444 \ ${worksrcpath}/CHANGES \ ${worksrcpath}/COPYING \ ${worksrcpath}/README \ ${destroot}${prefix}/share/doc/ne foreach doc [glob -directory ${worksrcpath}/doc *] { xinstall -m 444 ${doc} ${destroot}${prefix}/share/doc/ne } }