Ticket #24567: Portfile-cdto-ryandesign

File Portfile-cdto-ryandesign, 1.4 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago)
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem          1.0
5PortGroup           xcode 1.0
6
7name                cdto
8version             2.3
9categories-append   sysutils
10maintainers         snc openmaintainer
11description         Finder Toolbar button to open a Terminal window
12long_description    Fast mini application that opens a Terminal.app \
13                    window cd'd to the front most finder window. This \
14                    app is designed (including its icon) to placed \
15                    in the finder window's toolbar.
16
17homepage            http://code.google.com/p/cdto
18
19master_sites        googlecode
20distname            ${name}_${version}
21use_zip             yes
22
23checksums           md5     4a6d3a9f6910d57df518e24003efccb9 \
24                    sha1    38b11bedc29cf3f31b78251eb5cfbfb95780401b \
25                    rmd160  9023b06666e3cc2119a7479e3d932bc5aa7145d0
26
27post-extract {
28    move "${workpath}/${name} dist" ${worksrcpath}
29}
30
31build.dir           ${worksrcpath}/src
32
33xcode.configuration Release
34
35post-destroot {
36    set docdir ${destroot}${prefix}/share/doc/${name}
37    xinstall -d ${docdir}
38    xinstall -m 644 -W ${worksrcpath} \
39        ACKNOWLEDGEMENTS \
40        CONTRIBUTORS \
41        LICENSE \
42        README \
43        ${docdir}
44}
45
46livecheck.regex     ${name}_(\\d+(\\.\\d+)+)