diff --git a/dports/textproc/asciidoc/Portfile b/dports/textproc/asciidoc/Portfile
index 394cdaf..2f266a1 100644
a
|
b
|
PortSystem 1.0 |
5 | 5 | |
6 | 6 | name asciidoc |
7 | 7 | version 8.6.9 |
8 | | revision 1 |
| 8 | revision 2 |
9 | 9 | checksums sha256 78db9d0567c8ab6570a6eff7ffdf84eadd91f2dfc0a92a2d0105d323cab4e1f0 \ |
10 | 10 | rmd160 f19936593e3bed2755d77d38dd78a4769f77c7fa |
11 | 11 | |
… |
… |
supported_archs noarch |
28 | 28 | homepage http://www.methods.co.nz/asciidoc/ |
29 | 29 | master_sites sourceforge |
30 | 30 | |
| 31 | depends_lib port:python27 |
31 | 32 | depends_run port:docbook-xml-4.5 \ |
32 | 33 | port:fop \ |
33 | 34 | port:libxml2 |
34 | 35 | |
35 | | variant python25 conflicts python26 python27 description {Use python 2.5} { |
36 | | depends_lib-append port:python25 |
37 | | configure.python ${prefix}/bin/python2.5 |
| 36 | configure.python ${prefix}/bin/python2.7 |
38 | 37 | |
39 | | post-destroot { |
40 | | reinplace "s:#!/usr/bin/env python:#!${prefix}/bin/python2.5:" \ |
41 | | ${destroot}${prefix}/bin/asciidoc \ |
42 | | ${destroot}${prefix}/bin/a2x |
43 | | } |
44 | | } |
45 | | |
46 | | variant python26 conflicts python25 python27 description {Use python 2.6} { |
47 | | depends_lib-append port:python26 |
48 | | configure.python ${prefix}/bin/python2.6 |
| 38 | destroot.target install docs vimdir=${prefix}/share/vim/vimfiles/ |
49 | 39 | |
50 | | post-destroot { |
51 | | reinplace "s:#!/usr/bin/env python:#!${prefix}/bin/python2.6:" \ |
52 | | ${destroot}${prefix}/bin/asciidoc \ |
53 | | ${destroot}${prefix}/bin/a2x |
54 | | } |
| 40 | pre-destroot { |
| 41 | xinstall -d ${destroot}${prefix}/share/vim/vimfiles |
55 | 42 | } |
56 | 43 | |
57 | | variant python27 conflicts python25 python26 description {Use python 2.7} { |
58 | | depends_lib-append port:python27 |
59 | | configure.python ${prefix}/bin/python2.7 |
60 | | |
61 | | post-destroot { |
| 44 | post-destroot { |
62 | 45 | reinplace "s:#!/usr/bin/env python:#!${prefix}/bin/python2.7:" \ |
63 | 46 | ${destroot}${prefix}/bin/asciidoc \ |
64 | 47 | ${destroot}${prefix}/bin/a2x |
65 | | } |
66 | | } |
67 | | |
68 | | if {![variant_isset python25] && ![variant_isset python26]} { |
69 | | default_variants +python27 |
70 | | } |
71 | | |
72 | | destroot.target install docs vimdir=${prefix}/share/vim/vimfiles/ |
73 | | |
74 | | pre-destroot { |
75 | | xinstall -d ${destroot}${prefix}/share/vim/vimfiles |
76 | 48 | } |
77 | 49 | |
78 | 50 | platform darwin { |