Ticket #14459: Portfile

File Portfile, 1.3 KB (added by michipili (Michael Grünewald), 17 years ago)
Line 
1# $Id: Portfile 34004 2008-02-10 07:19:58Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name                    noweb
6version                 2.11b
7categories              devel
8maintainers             michael.grunewald@laposte.net
9description             A Simple, Extensible Tool for Literate Programming
10long_description        Literate programming is the art of preparing programs \
11                        for human readers.\
12                        noweb is designed to meet the needs of literate \
13                        programmers while remaining as simple as possible. \
14                        Its primary advantages are simplicity, extensibility, \
15                        and language-independence---especially noticeable \
16                        when compared with other literate-programming tools.
17homepage                http://www.eecs.harvard.edu/nr/noweb/
18platforms               darwin
19master_sites            ${homepage}dist/
20extract.suffix          .tgz
21checksums               md5 1df580723497b2f2efde07646abf764c \
22                        sha1 3b391c42f46dcb8a002b863fb2e483560a7da51d \
23                        rmd160 01e4fbb636dfd0f6d117caa045cf105e49d25fca
24worksrcdir              ${name}-${version}/src
25patchfiles              patch-Makefile.diff
26
27depends_build           port:icon
28depends_run             port:icon
29
30universal_variant       no
31
32post-patch {
33    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Makefile
34    xinstall ${filespath}/configure.sh ${worksrcpath}/configure
35}
36
37livecheck.check         regex
38livecheck.url           ${homepage}dist/?C=M&O=D
39livecheck.regex         ${name}-(\[0-9a-z.\]+)${extract.suffix}