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

Last change on this file since 111042 was 111042, checked in by jmr@…, 7 years ago

man2html: license, noarch

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