source: trunk/dports/textproc/uni2html/Portfile @ 20486

Last change on this file since 20486 was 20486, checked in by blair@…, 14 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 978 bytes
RevLine 
[20486]1# $Id: Portfile 20486 2006-11-03 15:39:02Z blair@macports.org $
[10217]2
3PortSystem 1.0
4
5name                    uni2html
6version                 1.1
7categories              textproc
8platforms               darwin
9maintainers             mww@opendarwin.org
10description             converts UTF-8 to corresponding HTML hexadecimal entities
11long_description        uni2html is a program that reads UTF-8 Unicode from \
12                                standard input and displays the result of a conversion in \
13                                which every Unicode character above the 7-bit ASCII range is \
14                                converted into the corresponding HTML hexadecimal numeric \
15                                character entity.
16
17homepage                http://www.cis.upenn.edu/~wjposer/uni2html.html
18master_sites    http://www.cis.upenn.edu/~wjposer/.downloads/
19distfiles               uni2html.py
20checksums               md5 7c299fdc9a814185fc9f527e3cad6e59
21
22depends_run             bin:python:python24
23
24extract {
25        file mkdir ${worksrcpath}
26        file copy ${distpath}/uni2html.py ${worksrcpath}
27}
28
29use_configure   no
30
31build                   {}
32
33destroot        {
34        xinstall -m 755 ${worksrcpath}/uni2html.py ${destroot}${prefix}/bin
35        system "cd ${destroot}${prefix}/bin && ln -s uni2html.py uni2html"
36}
Note: See TracBrowser for help on using the repository browser.