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

Last change on this file since 3173 was 3173, checked in by jkh, 17 years ago

Mass-merge of destroot target changes. Before committing this, I also
laid down a PRE_DESTROOT_TARGET so we can easily compare the before and
after photos (or, in extremis, revert this change). I doubt that will be
necessary, however, since things appear to be working quite well with this
change and it's better to do it sooner rather than later since it changes the
rules about what commands/variables to use in new ports.

Approved by: fkr

  • Property svn:eol-style set to native
File size: 1.1 KB
[3173]1# $Id: Portfile,v 1.4 2003/08/05 09:29:40 jkh Exp $
[1385]3PortSystem 1.0
4name            txt2html
5version         1.35
6categories      textproc
8description     Convert ASCII text to HTML
[1385]10platforms       darwin
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.
21extract.sufx    .tgz
22checksums       md5 ba007af9d0681b3f493c84869b147071
24configure       {}
25build           {}
[3173]27destroot        { system "install -o root -m 755 -d ${destroot}${prefix}/bin"
[1820]28                  system "install -o root -m 755 ${worksrcpath}/ \
29                    ${destroot}${prefix}/bin/txt2html"
30                  system "install -o root -m 755 -d \
31                    ${destroot}${prefix}/share/${portname}"
[1385]32                  system "install -o root -m 644 ${worksrcpath}/txt2html.dict \
[1820]33                    ${destroot}${prefix}/share/${portname}" }
Note: See TracBrowser for help on using the repository browser.