source: trunk/dports/textproc/tcl-dox/Portfile

Last change on this file was 103830, checked in by raimue@…, 5 years ago

textproc/tcl-dox:
Disable livecheck as the upstream project is dead.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 103830 2013-03-08 16:15:34Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            tcl-dox
6version         0.8.3
7revision        2
8categories      textproc
9platforms       darwin
10license         GPL-2+
11maintainers     raimue
12description     Tcl-Dox is a filter that you can use with Doxygen for documenting Tcl source code.
13long_description \
14    ${description}
15homepage        http://therowes.net/~greg/software/
16
17master_sites    http://therowes.net/~greg/download/tcl-doxygen-filter/
18
19checksums       md5     94d0befbb7b7734e17fd37379e649d2f \
20                sha1    b83a6f132ff6b8bec569f98e00c9041b37047777 \
21                rmd160  7be30d03f0ff66f1764dbd8492f35c91bf3422ae
22
23depends_build   bin:flex:flex
24
25
26patchfiles \
27    patch-0001-require-at-least-one-white-space-and-or-tab-after-a-.diff \
28    patch-0002-print-whitespace-after-namespace-declaration.diff \
29    patch-0003-if-we-match-a-at-start-of-file-we-look-for-a-matchin.diff \
30    patch-0004-recognize-package-require-provide-statements.diff \
31    patch-0005-consume-whole-content-of-a-proc-declaration.diff \
32    patch-0006-add-a-pattern-to-recognize-values-in-brackets-in-opt.diff \
33    patch-0007-consume-whole-lines-or-at-least-the-newline-characte.diff \
34    patch-0008-don-t-break-the-lexer-if-there-is-an-escaped-bracket.diff \
35    patch-0009-remove-commented-test-code.diff
36
37patch.args      -p1
38patch.dir       ${worksrcpath}/src
39
40use_configure   no
41# declare empty universal variant for get_canonical_archflags
42variant universal {}
43
44build.dir       ${worksrcpath}/src
45build.args      CC=${configure.cc}
46# First two flags come from the included Makefile
47build.args-append CFLAGS="-Wall -std=gnu99 ${configure.cflags} [get_canonical_archflags]"
48
49destroot {
50    # docs
51    set docdir ${prefix}/share/doc/${name}-${version}
52    xinstall -d ${destroot}${docdir}
53    xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING README ChangeLog ${destroot}${docdir}
54    file copy ${worksrcpath}/example ${destroot}${docdir}
55
56    # executable
57    xinstall -m 755 -W ${worksrcpath} src/${name} ${destroot}${prefix}/bin
58}
59
60livecheck.type none
Note: See TracBrowser for help on using the repository browser.