Ticket #24: Portfile

File Portfile, 1.1 KB (added by mjhsieh@…, 20 years ago)

new port for textproc/nl/

Line 
1# $Id: Portfile,v 1.4 2004/01/18 04:54:50 toby Exp $
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 8433e98dda1a3ad15cb77361c65c7306
18configure       {}
19set instprog    "/usr/bin/install -m 755"
20set instman     "/usr/bin/install -m 644"
21destroot        {
22        system "${instprog} -d ${destroot}${prefix}/bin"
23        system "${instprog} -d ${destroot}${prefix}/share/man/man1"
24        system "${instprog}  \
25          ${worksrcpath}/nl ${destroot}${prefix}/bin"
26        system "${instman}  \
27          ${worksrcpath}/*.1 ${destroot}${prefix}/share/man/man1" }