# $Id: Portfile,v 1.5 2005/01/03 08:51:34 toby Exp $ PortSystem 1.0 name ne version 1.39 categories editors maintainers toby@opendarwin.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 316050979559dc18336dd592389c27cf 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 } }