Ticket #9131: Portfile

File Portfile, 1.1 KB (added by ecronin (Eric Cronin), 18 years ago)

Portfile

Line 
1# $Id: $
2
3PortSystem 1.0
4name            txt2man
5version         1.4.8
6categories      textproc
7maintainers     ecronin@gizmolabs.org
8description     Converts flat ASCII text to man page format
9long_description \
10        Txt2man converts flat ASCII text into the man page format. \
11        This allows man pages to be authored without knowledge of \
12        nroff macros. It is a shell script that uses GNU awk, and \
13        it should run on any Unix-like system.
14homepage        http://mvertes.free.fr/
15platforms       darwin
16
17master_sites    http://mvertes.free.fr/download/
18
19checksums       md5 2ee6d7cc38c42b98f4d8c1eb815bd888 \
20                sha1 aa3989546b31c05ad09d14b895bf5a1777beefe9
21
22configure       {}
23build           {}
24
25destroot        { system "install -m 755 -d ${destroot}${prefix}/bin"
26                  system "install -m 755 -d ${destroot}${prefix}/man/man1"
27                  system "install -m 755 ${worksrcpath}/${portname} \
28                    ${destroot}${prefix}/bin/${portname}"
29                  system "install -m 644 ${worksrcpath}/${portname}.1 \
30                    ${destroot}${prefix}/man/man1/${portname}.1"}