Ticket #24: Portfile.2

File Portfile.2, 964 bytes (added by mjhsieh@…, 20 years ago)

New Portfile

Line 
1# $Id: $
2
3PortSystem 1.0
4name            nl
5version         1.8
6categories      textproc
7maintainers     mjhsieh@yahoo.com
8description     The nl utility, a line numbering filter, conforms to POSIX.1 standard.
9long_description        The nl utility reads lines from the named file or the standard input if \
10                        the file argument is ommitted, applies a configurable line numbering fil- \
11                        ter operation and writes the result to the standard output. \
12                        This is from FreeBSD's source tree.
13master_sites    http://www.life.nthu.edu.tw/~mjhsieh/src
14homepage        http://www.freebsd.org/cgi/query-pr.cgi?pr=27078
15distname        ${portname}-${portversion}
16platforms       darwin
17checksums       md5 94d69307d59e89a09de6c04fe913fef4
18configure       {}
19destroot        {
20        xinstall -d -m 0755 ${destroot}${prefix}/bin
21        xinstall -d -m 0755 ${destroot}${prefix}/share/man/man1
22        xinstall -m 0755 ${worksrcpath}/nl ${destroot}${prefix}/bin
23        xinstall -m 0644 ${worksrcpath}/nl.1 ${destroot}${prefix}/share/man/man1
24}