source: trunk/dports/textproc/tcl2doxy/Portfile

Last change on this file was 132403, checked in by cal@…, 3 years ago

tcl2doxy: fix livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 132403 2015-01-31 17:03:01Z ryandesign@macports.org $
2# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
3
4PortSystem          1.0
5
6name                tcl2doxy
7version             0-2
8checksums           rmd160  fb746ebbbfbf6bd03cec44c94f8bb1854f4d00a6 \
9                    sha256  f230d9099941b3cc907313df9af1b87674ec09a823654a57c1d7548331c596f5
10
11categories          textproc
12platforms           darwin
13license             BSD
14maintainers         cal openmaintainer
15supported_archs     noarch
16
17description         \
18    Tcl/Tk input filter for doxygen Tcl2doxy translates Tcl/Tk source code into \
19    C-like code which doxygen is able to parse and generate a documentation \
20    for.
21long_description    ${description}
22
23depends_run         port:tcl
24
25homepage            http://tcl2doxy.sourceforge.net/
26master_sites        sourceforge:${name}/Beta
27use_zip             yes
28extract.mkdir       yes
29
30post-extract {
31    xinstall -m 0644 ${filespath}/tcl2doxy ${workpath}
32}
33post-patch {
34    reinplace -E "s|@PREFIX@|${prefix}|g" ${workpath}/tcl2doxy
35}
36
37use_configure       no
38build {}
39
40destroot {
41    set libexecdir ${destroot}${prefix}/libexec/${name}
42    set docdir     ${destroot}${prefix}/share/doc/${name}
43    set bindir     ${destroot}${prefix}/bin
44    xinstall -d -m 0755 $libexecdir
45    xinstall -W ${worksrcpath}/src -m 0644 \
46        "lexer.tcl" \
47        "parser.tab.tcl" \
48        "parser.tcl" \
49        "syntree.tcl" \
50        $libexecdir
51    xinstall -W ${worksrcpath}/src -m 0755 \
52        "tcl2doxy.tcl" \
53        $libexecdir
54
55    xinstall -d -m 0755 $docdir
56    xinstall -W ${worksrcpath} -m 0644 \
57        "LICENSE" \
58        "README" \
59        $docdir
60
61    xinstall -m 0755 ${workpath}/tcl2doxy ${destroot}${prefix}/bin
62}
63
64livecheck.regex     "[quotemeta ${name}]-(\\d+(-\\d+)*)[quotemeta ${extract.suffix}]"
Note: See TracBrowser for help on using the repository browser.