source: trunk/dports/sysutils/cocoa-tlassemble/Portfile @ 103967

Last change on this file since 103967 was 103967, checked in by g5pw@…, 6 years ago

sysutils/cocoa-tlassemble:

new port

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4
2# $Id: Portfile 103967 2013-03-11 07:54:30Z g5pw@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        dbridges cocoa-tlassemble 0.1
8fetch.type          git
9git.branch          736594e7f181d13f7dc130843ba1c602dd97f438
10maintainers         g5pw openmaintainer
11
12categories          sysutils
13description         tlassemble is a simple Mac OS X command line utility \
14                    that combines a sequence of images into a movie.
15long_description    ${description}
16
17platforms           macosx
18license             BSD
19
20variant universal   {}
21
22patch {
23    reinplace "s/clang/\$(CC)/g" ${worksrcpath}/makefile
24}
25
26build.env-append    CC="${configure.cc} [get_canonical_archflags cc]"
27
28use_configure       no
29
30if {${os.major} < 10} {
31    pre-fetch {
32        return -code error "${name} only works on Mac OS X 10.6 and newer."
33    }
34}
35
36destroot {
37    xinstall -m 775 ${worksrcpath}/tlassemble ${destroot}${prefix}/bin
38    xinstall -d ${destroot}${prefix}/share/${name}/doc
39    xinstall -m 664 ${worksrcpath}/README.md ${destroot}${prefix}/share/${name}/doc
40}
Note: See TracBrowser for help on using the repository browser.