source: trunk/dports/textproc/man2html/Portfile

Last change on this file was 111119, checked in by cal@…, 4 years ago

man, man2html: mark as conflicting, #38254, maintainer timeout

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