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

Last change on this file since 10217 was 10217, checked in by mww, 15 years ago

new port textproc/uni2html

  • Property svn:eol-style set to native
File size: 1023 bytes
Line 
1# $Id: Portfile,v 1.1 2005/01/04 22:56:31 mww Exp $
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.