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

Last change on this file since 22478 was 22478, checked in by pipping@…, 13 years ago
  • Spring-cleaning @opendarwin.org addresses

see #11465
see http://www.mail-archive.com/macports-dev@lists.macosforge.org/msg00309.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 985 bytes
Line 
1# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
2
3PortSystem 1.0
4
5name                    uni2html
6version                 1.1
7categories              textproc
8platforms               darwin
9maintainers             nomaintainer@macports.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.