Ticket #49811: Portfile

File Portfile, 1.4 KB (added by RJVB (René Bertin), 9 years ago)
Line 
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
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           github 1.0
7
8set appname         doxyqml
9
10github.setup        agateau ${appname} 0.2.0
11
12name                py-${appname}
13python.versions     27
14
15categories-append   textproc
16license             BSD
17maintainers         gmail.com:rjvbertin
18
19description         a filter for Doxygen to document QML files
20long_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.
22homepage            http://agateau.com/projects/doxyqml/
23
24platforms           darwin
25supported_archs     noarch
26
27distname            ${appname}-${version}
28extract.suffix      .tgz
29
30checksums           rmd160  e4b78906a3fcc0926ab5c83ca49eb834341f1411 \
31                    sha256  c0d0fbd57f9b7a7e041ebfca8bcbcbf35940e1b1d9455bebf12b5d31b47c47f8
32
33depends_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
37post-destroot {
38    file rename ${destroot}${prefix}/bin/${appname}-2.7 ${destroot}${prefix}/bin/${appname}
39}