source: trunk/dports/textproc/txt2html/Portfile

Last change on this file was 103749, checked in by jmr@…, 5 years ago

txt2html: license, noarch

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