1 | # $Id: Portfile 34004 2008-02-10 07:19:58Z ryandesign@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name noweb |
---|
6 | version 2.11b |
---|
7 | categories devel |
---|
8 | maintainers michael.grunewald@laposte.net |
---|
9 | description A Simple, Extensible Tool for Literate Programming |
---|
10 | long_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. |
---|
17 | homepage http://www.eecs.harvard.edu/nr/noweb/ |
---|
18 | platforms darwin |
---|
19 | master_sites ${homepage}dist/ |
---|
20 | extract.suffix .tgz |
---|
21 | checksums md5 1df580723497b2f2efde07646abf764c \ |
---|
22 | sha1 3b391c42f46dcb8a002b863fb2e483560a7da51d \ |
---|
23 | rmd160 01e4fbb636dfd0f6d117caa045cf105e49d25fca |
---|
24 | worksrcdir ${name}-${version}/src |
---|
25 | patchfiles patch-Makefile.diff |
---|
26 | |
---|
27 | depends_build port:icon |
---|
28 | depends_run port:icon |
---|
29 | |
---|
30 | universal_variant no |
---|
31 | |
---|
32 | post-patch { |
---|
33 | reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Makefile |
---|
34 | xinstall ${filespath}/configure.sh ${worksrcpath}/configure |
---|
35 | } |
---|
36 | |
---|
37 | livecheck.check regex |
---|
38 | livecheck.url ${homepage}dist/?C=M&O=D |
---|
39 | livecheck.regex ${name}-(\[0-9a-z.\]+)${extract.suffix} |
---|