source: trunk/dports/textproc/man2html/Portfile @ 2128

Last change on this file since 2128 was 2128, checked in by mij, 17 years ago

Add CVS Id tags.

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# $Id: Portfile,v 1.4 2003/03/03 07:26:03 mij Exp $
2
3PortSystem 1.0
4name            man2html
5version         3.0.1
6categories      textproc
7maintainers     mij@opendarwin.org
8description     Convert nroff man pages to HTML
9homepage        http://www.oac.uci.edu/indiv/ehood/man2html.html
10platforms       darwin
11
12long_description man2html is a utility to convert UNIX nroff manual \
13                 pages into HTML format.
14
15master_sites    http://www.oac.uci.edu/indiv/ehood/tar/ \
16                ftp://ftp.gpad.ac.ru/pub/FreeBSD/distfiles/ \
17                http://soupnazi.org/OSX/dports/distfiles/
18
19distname        ${portname}${portversion}
20checksums       md5 1c0d28c83225d0ebc845f2386c8f8384
21
22patchfiles      patch-man.cgi
23
24configure       {}
25
26post-configure  { reinplace "s|/usr/local/bin/perl|/usr/bin/perl|" \
27                    ${worksrcpath}/man2html
28                  reinplace "s|/usr/local/bin/perl|/usr/bin/perl|" \
29                    ${worksrcpath}/man.cgi }
30
31build           {}
32
33install         { system "install -o root -m 755 -d ${destroot}${prefix}/bin"
34                  system "install -o root -m 755 ${worksrcpath}/man2html \
35                    ${prefix}/bin"
36                  system "install -o root -m 755 -d \
37                    ${destroot}${prefix}/man/man1"
38                  system "install -o root -m 644 ${worksrcpath}/doc/man2html.1 \
39                    ${destroot}${prefix}/man/man1"
40                  system "install -o root -m 755 -d \
41                    ${destroot}/Library/WebServer/CGI-Executables"
42                  system "install -o root -m 755 ${worksrcpath}/man.cgi \
43                    ${destroot}/Library/WebServer/CGI-Executables" }
Note: See TracBrowser for help on using the repository browser.