source: trunk/dports/devel/appledoc/Portfile

Last change on this file was 136045, checked in by g5pw@…, 2 years ago

devel/appledoc

Update to 2.2.1 (closes #45735)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8::et:sw=4:ts=4:sts=4
2# $Id: Portfile 136045 2015-05-11 08:49:58Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           xcode 1.0
7
8github.setup        tomaz appledoc 2.2.1
9maintainers         g5pw openmaintainer
10categories          devel
11description         ${name} is a documentation generator for Xcode
12long_description    ${name} is command line tool that helps Objective-C \
13                    developers generate Apple-like source code documentation \
14                    from specially formatted source code comments. It\'s designed \
15                    to take as readable source code comments as possible for the \
16                    input and use comments as well as surrounding source code to \
17                    generate visually appealing documentation in the form of \
18                    HTML as well as fully indexed and browsable Xcode \
19                    documentation set.
20homepage            http://gentlebytes.com/${name}/
21license             BSD
22
23checksums           rmd160  cb9b0d31660246899edaddabd7b4f5dd9d093d99 \
24                    sha256  e3112b23fd409824069a3a49c6dd753f9fbc2dd1c06ff2bef8d86649941cd1db
25
26xcode.target        appledoc
27xcode.configuration Release
28xcode.destroot.path ${prefix}/bin
29
30xcode.destroot.settings \
31                    OTHER_CFLAGS='-DCOMPILE_TIME_DEFAULT_TEMPLATE_PATH=@\"${destroot}${prefix}/share/${name}/Templates\"'
32
33pre-fetch {
34    if {${os.platform} eq "darwin" && ${os.major} < 11} {
35        ui_error "${name} is only supported on OS X 10.7 Lion or later."
36        return -code error "unsupported platform version"
37    }
38}
39
40post-destroot {
41    xinstall -d ${destroot}${prefix}/share/${name}
42    copy ${worksrcpath}/Templates ${destroot}${prefix}/share/${name}/
43}
Note: See TracBrowser for help on using the repository browser.