| 1 | # $Id: Portfile,v 1.4 2004/01/18 04:54:50 toby Exp $ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | name nl |
|---|
| 5 | version 1.8 |
|---|
| 6 | categories textproc |
|---|
| 7 | maintainers mjhsieh@yahoo.com |
|---|
| 8 | description The nl utility, a line numbering filter, conforms to POSIX.1 standard. |
|---|
| 9 | long_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. |
|---|
| 13 | master_sites http://www.life.nthu.edu.tw/~mjhsieh/src |
|---|
| 14 | homepage http://www.freebsd.org/cgi/query-pr.cgi?pr=27078 |
|---|
| 15 | distname ${portname}-${portversion} |
|---|
| 16 | platforms darwin |
|---|
| 17 | checksums md5 8433e98dda1a3ad15cb77361c65c7306 |
|---|
| 18 | configure {} |
|---|
| 19 | set instprog "/usr/bin/install -m 755" |
|---|
| 20 | set instman "/usr/bin/install -m 644" |
|---|
| 21 | destroot { |
|---|
| 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" } |
|---|