source: trunk/dports/textproc/html2text/Portfile @ 10489

Last change on this file since 10489 was 10489, checked in by matt, 15 years ago

Submitted by: toby@
Reviewed by: matt@
Approved by: matt@

Make use of a fairly unique string instead of /opt/local

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1# $Id: Portfile,v 1.3 2005/01/20 00:12:28 matt Exp $
2
3PortSystem 1.0
4name                    html2text
5version                 1.3.2a
6categories              textproc
7platforms               darwin
8maintainers             matt@opendarwin.org
9homepage                http://userpage.fu-berlin.de/~mbayer/tools/html2text.html
10description             Utility to convert HTML documents into plain text.
11
12long_description        html2text is a command line utility, written in C++, that converts \
13                        HTML documents into plain text. \
14                        Each HTML document is loaded from a location indicated by a URI or \
15                        read  from standard input, and formatted into a stream of plain text \
16                        characters that  is written to standard output or into an output-file. \
17                        The input-URI may  specify a remote site, from that the documents are \
18                        loaded via the Hypertext  Transfer Protocol (HTTP).
19                       
20master_sites            http://userpage.fu-berlin.de/~mbayer/tools/ \
21                        ftp://ftp.ibiblio.org/pub/linux/apps/www/converters/
22
23checksums               md5 6097fe07b948e142315749e6620c9cfc
24
25patchfiles              patch-configure.diff
26
27pre-configure           { reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/configure }
28
29configure.env           CC="gcc3" \
30                        CXX="g++3"
31
32destroot {              file copy ${worksrcpath}/html2text ${destroot}${prefix}/bin
33                        file copy ${worksrcpath}/html2text.1.gz ${destroot}${prefix}/share/man/man1
34                        file copy ${worksrcpath}/html2textrc.5.gz ${destroot}${prefix}/share/man/man5
35                        file mkdir ${destroot}${prefix}/share/doc/${name}
36                        xinstall -m 644 -v -W ${worksrcpath} \
37                                CHANGES COPYING CREDITS KNOWN_BUGS README RELEASE_NOTES TODO \
38                                ${destroot}${prefix}/share/doc/${name}
39                        }
40
Note: See TracBrowser for help on using the repository browser.