mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
64 lines
1.7 KiB
Tcl
64 lines
1.7 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
|
|
name tcl2doxy
|
|
version 0-2
|
|
checksums rmd160 fb746ebbbfbf6bd03cec44c94f8bb1854f4d00a6 \
|
|
sha256 f230d9099941b3cc907313df9af1b87674ec09a823654a57c1d7548331c596f5
|
|
|
|
categories textproc
|
|
platforms any
|
|
license BSD
|
|
maintainers nomaintainer
|
|
supported_archs noarch
|
|
|
|
description \
|
|
Tcl/Tk input filter for doxygen Tcl2doxy translates Tcl/Tk source code into \
|
|
C-like code which doxygen is able to parse and generate a documentation \
|
|
for.
|
|
long_description {*}${description}
|
|
|
|
depends_run port:tcl
|
|
|
|
homepage http://tcl2doxy.sourceforge.net/
|
|
master_sites sourceforge:${name}/Beta
|
|
use_zip yes
|
|
extract.mkdir yes
|
|
|
|
post-extract {
|
|
xinstall -m 0644 ${filespath}/tcl2doxy ${workpath}
|
|
}
|
|
post-patch {
|
|
reinplace -E "s|@PREFIX@|${prefix}|g" ${workpath}/tcl2doxy
|
|
}
|
|
|
|
use_configure no
|
|
build {}
|
|
|
|
destroot {
|
|
set libexecdir ${destroot}${prefix}/libexec/${name}
|
|
set docdir ${destroot}${prefix}/share/doc/${name}
|
|
set bindir ${destroot}${prefix}/bin
|
|
xinstall -d -m 0755 $libexecdir
|
|
xinstall -W ${worksrcpath}/src -m 0644 \
|
|
"lexer.tcl" \
|
|
"parser.tab.tcl" \
|
|
"parser.tcl" \
|
|
"syntree.tcl" \
|
|
$libexecdir
|
|
xinstall -W ${worksrcpath}/src -m 0755 \
|
|
"tcl2doxy.tcl" \
|
|
$libexecdir
|
|
|
|
xinstall -d -m 0755 $docdir
|
|
xinstall -W ${worksrcpath} -m 0644 \
|
|
"LICENSE" \
|
|
"README" \
|
|
$docdir
|
|
|
|
xinstall -m 0755 ${workpath}/tcl2doxy ${destroot}${prefix}/bin
|
|
}
|
|
|
|
livecheck.type none
|