| 1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
|---|
| 2 | # $Id: Portfile 127296 2014-10-25 02:52:42Z larryv@macports.org $ |
|---|
| 3 | |
|---|
| 4 | PortSystem 1.0 |
|---|
| 5 | PortGroup python 1.0 |
|---|
| 6 | PortGroup github 1.0 |
|---|
| 7 | |
|---|
| 8 | set appname doxyqml |
|---|
| 9 | |
|---|
| 10 | github.setup agateau ${appname} 0.2.0 |
|---|
| 11 | |
|---|
| 12 | name py-${appname} |
|---|
| 13 | python.versions 27 |
|---|
| 14 | |
|---|
| 15 | categories-append textproc |
|---|
| 16 | license BSD |
|---|
| 17 | maintainers gmail.com:rjvbertin |
|---|
| 18 | |
|---|
| 19 | description a filter for Doxygen to document QML files |
|---|
| 20 | long_description Doxyqml is an input filter for Doxygen, a documentation system for C++ and a few other languages. \ |
|---|
| 21 | Doxyqml makes it possible to use Doxygen to document QML code. |
|---|
| 22 | homepage http://agateau.com/projects/doxyqml/ |
|---|
| 23 | |
|---|
| 24 | platforms darwin |
|---|
| 25 | supported_archs noarch |
|---|
| 26 | |
|---|
| 27 | distname ${appname}-${version} |
|---|
| 28 | extract.suffix .tgz |
|---|
| 29 | |
|---|
| 30 | checksums rmd160 e4b78906a3fcc0926ab5c83ca49eb834341f1411 \ |
|---|
| 31 | sha256 c0d0fbd57f9b7a7e041ebfca8bcbcbf35940e1b1d9455bebf12b5d31b47c47f8 |
|---|
| 32 | |
|---|
| 33 | depends_run port:doxygen |
|---|
| 34 | |
|---|
| 35 | # doxyqml supports only Python 2.7 so there's no reason to hide it from other software |
|---|
| 36 | # that might want to call it by appending a Python version to its name |
|---|
| 37 | post-destroot { |
|---|
| 38 | file rename ${destroot}${prefix}/bin/${appname}-2.7 ${destroot}${prefix}/bin/${appname} |
|---|
| 39 | } |
|---|