source: trunk/dports/textproc/txt2html/Portfile @ 4802

Last change on this file since 4802 was 4802, checked in by toby, 16 years ago

MORE master_sites foobage!

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1# $Id: Portfile,v 1.7 2004/01/17 22:45:30 toby Exp $
2
3PortSystem 1.0
4name            txt2html
5version         1.35
6categories      textproc
7maintainers     mij@opendarwin.org
8description     Convert ASCII text to HTML
9homepage        http://www.aigeek.com/txt2html/
10platforms       darwin
11
12long_description txt2html is a Perl program that converts plain text to \
13                 HTML.  It supports headings, lists, simple character \
14                 markup, hyperlinking, and is highly customizable.  It \
15                 recognizes some of the structure of the source document \
16                 (whitespace, typographic layout, etc.), and attempts to \
17                 mark that structure explicitly using HTML.
18
19master_sites     sourceforge
20
21extract.suffix  .tgz
22checksums       md5 ba007af9d0681b3f493c84869b147071
23
24configure       {}
25post-configure  { reinplace "s|/usr/share/misc|${prefix}/share/${portname}|g" \
26                    ${worksrcpath}/${portname}.pl }
27
28build           {}
29
30destroot        { system "install -m 755 -d ${destroot}${prefix}/bin"
31                  system "install -m 755 ${worksrcpath}/${portname}.pl \
32                    ${destroot}${prefix}/bin/${portname}"
33                  system "install -m 755 -d \
34                    ${destroot}${prefix}/share/${portname}"
35                  system "install -m 644 ${worksrcpath}/${portname}.dict \
36                    ${destroot}${prefix}/share/${portname}"
37                  system "install -m 755 -d \
38                    ${destroot}${prefix}/share/doc/${portname}"
39                  system "install -m 644 ${worksrcpath}/* \
40                    ${destroot}${prefix}/share/doc/${portname}"
41                  system "rm ${destroot}${prefix}/share/doc/${portname}/${portname}.*" }
Note: See TracBrowser for help on using the repository browser.