diff --git a/dports/math/glpk/Portfile b/dports/math/glpk/Portfile
index 6cefd47..a737a96 100644
a
|
b
|
PortSystem 1.0 |
4 | 4 | PortGroup muniversal 1.0 |
5 | 5 | |
6 | 6 | name glpk |
7 | | version 4.39 |
| 7 | version 4.41 |
8 | 8 | categories math lang |
9 | 9 | platforms darwin |
10 | 10 | maintainers fastmail.fm:lutz.horn |
… |
… |
long_description \ |
20 | 20 | homepage http://www.gnu.org/software/${name}/ |
21 | 21 | master_sites gnu |
22 | 22 | |
23 | | checksums md5 95f276ef6c94c6de1eb689f161f525f3 \ |
24 | | sha1 99d8d0e576fee63fa0d411d92c7c70a7be090ec6 \ |
25 | | rmd160 ffb8b7214bba04c387ce67837ca05664ee7a53f8 |
| 23 | checksums md5 55026a855035d0caf550db69d29d4959 \ |
| 24 | sha1 2699e10b79b2c72c9eb4d373e3b3060dcf80f468 \ |
| 25 | rmd160 1fb60f0803e2707f7c7772981e859efa629c5a39 |
26 | 26 | |
27 | 27 | depends_lib port:gmp port:zlib |
28 | 28 | |
… |
… |
post-patch { |
47 | 47 | ${worksrcpath}/src/Makefile.in |
48 | 48 | } |
49 | 49 | |
50 | | variant examples description {install examples} { |
51 | | post-destroot { |
52 | | set examplesdir ${destroot}${prefix}/share/doc/${name}/examples |
53 | | xinstall -m 755 -d ${examplesdir} |
54 | | foreach fl [glob -tails -directory ${worksrcpath}/examples *.{c,mod,lp,mps,dat}] { |
55 | | xinstall -m 644 -W ${worksrcpath}/examples $fl ${examplesdir} |
56 | | } |
57 | | xinstall -m 755 -d ${examplesdir}/sql |
58 | | foreach fl [glob -tails -directory ${worksrcpath}/examples/sql *.{mod,sql}] { |
59 | | xinstall -m 644 -W ${worksrcpath}/examples/sql $fl ${examplesdir}/sql |
60 | | } |
61 | | } |
| 50 | post-destroot { |
| 51 | set examplesdir ${destroot}${prefix}/share/doc/${name}/examples |
| 52 | xinstall -d ${examplesdir} |
| 53 | eval xinstall -m 644 \ |
| 54 | [glob -directory ${worksrcpath}/examples *.{c,mod,lp,mps,dat}] \ |
| 55 | ${examplesdir} |
| 56 | |
| 57 | xinstall -d ${examplesdir}/sql |
| 58 | eval xinstall -m 644 \ |
| 59 | [glob -directory ${worksrcpath}/examples/sql *.{mod,sql}] \ |
| 60 | ${examplesdir}/sql |
62 | 61 | } |
63 | 62 | |
64 | 63 | variant doc description {build and install documentation} { |
… |
… |
variant doc description {build and install documentation} { |
66 | 65 | path:${prefix}/bin/texi2pdf:texinfo |
67 | 66 | post-destroot { |
68 | 67 | set docdir ${destroot}${prefix}/share/doc/${name} |
69 | | xinstall -m 755 -d ${docdir} |
| 68 | xinstall -d ${docdir} |
70 | 69 | system "cd ${worksrcpath}/doc && ${prefix}/bin/pdflatex glpk.tex && ${prefix}/bin/pdflatex glpk.tex" |
71 | 70 | system "cd ${worksrcpath}/doc && ${prefix}/bin/texi2pdf gmpl.texi" |
72 | 71 | xinstall -m 644 -W ${worksrcpath}/doc glpk.pdf gmpl.pdf glpk_faq.txt ${docdir} |
… |
… |
variant mysql description {enable MathProg MySQL support} { |
96 | 95 | ${worksrcpath}/configure |
97 | 96 | } |
98 | 97 | } |
99 | | |
100 | | livecheck.type regex |
101 | | livecheck.url http://ftp.gnu.org/gnu/${name}/?C=M&O=D |
102 | | livecheck.regex ${name}-(\\d+\\.\\d+) |