source: trunk/dports/lang/tcldoc/Portfile

Last change on this file was 70583, checked in by ryandesign@…, 7 years ago

use supported_archs unconditionally, since MacPorts 1.9 has been out for awhile now

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1018 bytes
Line 
1# $Id: Portfile 70583 2010-08-14 13:56:39Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            tcldoc
6version         0.3
7revision        1
8categories      lang
9maintainers     nomaintainer
10description     Generates HTML pages of API documentation from Tcl source files
11long_description        \
12        TclDoc parses the declarations and documentation comments in a set of Tcl source files and \
13        produces a corresponding set of HTML pages describing procedure declarations.
14homepage        http://wiki.tcl.tk/5598
15platforms       darwin
16supported_archs noarch
17master_sites     http://tcl.jtang.org/tcldoc/
18checksums       md5 3bd2033e109ad0e9e251e99f6c83ff0e                    \
19                sha1 637ee971e01157db540f24655e1b796422efbe58
20
21use_configure   no
22build.target    all tcldoc
23destroot {
24        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
25        foreach file [glob ${worksrcpath}/${name}/*.html] {
26                copy $file ${destroot}${prefix}/share/doc/${name}
27        }
28        foreach file [glob ${worksrcpath}/*.tcl] {
29                copy $file ${destroot}${prefix}/bin
30        }
31        ln -s ${name}.tcl  ${destroot}${prefix}/bin/${name}
32}
Note: See TracBrowser for help on using the repository browser.