Changeset 80093
- Timestamp:
- 07/03/11 22:36:43 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/textproc/asciidoc/Portfile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/textproc/asciidoc/Portfile
r74207 r80093 4 4 5 5 name asciidoc 6 version 8.6. 36 version 8.6.5 7 7 categories textproc 8 8 maintainers boeyms openmaintainer … … 23 23 master_sites sourceforge 24 24 25 checksums md5 1ef39786ee1b4c8a788584e73db2c55a\26 sha1 96ac2a3593cd0787627288359d629f8b7e69f03f\27 rmd160 4ec1a9e1363ffa68b357455e5db9bda9472f5a1f25 checksums md5 9247724283501ec1cfb27d5eae9e5eaf \ 26 sha1 520cbf7f8b8695a3c033c183cee5802f36d0127e \ 27 rmd160 9828f2a8cc6f0971b4ed829f47fc1b9ecbf1c62c 28 28 29 depends_run port:python26 \ 30 port:docbook-xml-4.5 \ 31 port:fop 29 depends_run port:docbook-xml-4.5 \ 30 port:fop 31 32 variant python25 conflicts python26 python27 description {Use python 2.5} { 33 configure.python ${prefix}/bin/python2.5 34 35 post-destroot { 36 reinplace "s:#!/usr/bin/env python:#!${prefix}/bin/python25:" \ 37 ${destroot}${prefix}/bin/asciidoc \ 38 ${destroot}${prefix}/bin/a2x 39 } 40 } 41 42 variant python26 conflicts python25 python27 description {Use python 2.6} { 43 configure.python ${prefix}/bin/python2.6 44 45 post-destroot { 46 reinplace "s:#!/usr/bin/env python:#!${prefix}/bin/python26:" \ 47 ${destroot}${prefix}/bin/asciidoc \ 48 ${destroot}${prefix}/bin/a2x 49 } 50 } 51 52 variant python27 conflicts python25 python26 description {Use python 2.7} { 53 configure.python ${prefix}/bin/python2.7 54 55 post-destroot { 56 reinplace "s:#!/usr/bin/env python:#!${prefix}/bin/python27:" \ 57 ${destroot}${prefix}/bin/asciidoc \ 58 ${destroot}${prefix}/bin/a2x 59 } 60 } 61 62 if {![variant_isset python25] && ![variant_isset python26]} { 63 default_variants +python27 64 } 32 65 33 66 destroot.target install docs vimdir=${prefix}/share/vim/vimfiles/ … … 37 70 } 38 71 39 post-destroot {40 reinplace "s:#!/usr/bin/env python:#!${prefix}/bin/python2.6:" \41 ${destroot}${prefix}/bin/asciidoc \42 ${destroot}${prefix}/bin/a2x43 }44 45 72 platform darwin { 46 73 # Avoid hidden dependency on gsed
Note: See TracChangeset
for help on using the changeset viewer.

