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

Last change on this file since 23764 was 23764, checked in by mij@…, 14 years ago

Drop maintainership on my ports. This is mainly because a) I no longer
use most of these, and b) I don't really have the time to maintain them
anymore.

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