source: trunk/dports/multimedia/MP4Joiner/Portfile

Last change on this file was 148836, checked in by devans@…, 14 months ago

MP4Joiner: add missing build dependency on pkgconfig.

  • 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:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 148836 2016-05-19 19:14:49Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           wxWidgets 1.0
6
7name                MP4Joiner
8version             2.2
9revision            1
10categories          multimedia aqua
11platforms           darwin
12maintainers         ryandesign openmaintainer
13license             GPL-2
14
15description         simple tool to join multiple MP4 files into one
16
17long_description    ${name} is a ${description}.
18
19homepage            http://www.mp4joiner.org/
20master_sites        sourceforge:project/mp4joiner/MP4Joiner/${version}/
21use_bzip2           yes
22
23checksums           rmd160  b219127b0e30ff99d039a868b0751b763452ea4f \
24                    sha256  39428a63bb234c90800a261b3c1a7a19d887045bf8611ec185c1c7bdabfcaddf
25
26wxWidgets.use       wxWidgets-3.0
27
28depends_build       port:pkgconfig
29
30depends_lib         path:lib/libavcodec.dylib:ffmpeg \
31                    port:gpac \
32                    port:wxsvg \
33                    port:${wxWidgets.port}
34
35# gpac is not universal but we only use its MP4Box program not its libraries
36depends_skip_archcheck gpac
37
38patchfiles          patch-Makefile.in.diff
39
40configure.args      --with-wxdir=${wxWidgets.wxdir}
41
42build.target        ${name}.app
43
44post-build {
45    ln -s ${prefix}/bin/ffmpeg ${worksrcpath}/${name}.app/Contents/MacOS
46    ln -s ${prefix}/bin/MP4Box ${worksrcpath}/${name}.app/Contents/MacOS
47}
48
49destroot {
50    copy ${worksrcpath}/${name}.app ${destroot}${applications_dir}
51
52    set docdir ${prefix}/share/doc/${subport}
53    xinstall -d ${destroot}${docdir}
54    xinstall -m 644 -W ${worksrcpath} \
55        AUTHORS \
56        COPYING \
57        ChangeLog \
58        README \
59        ${destroot}${docdir}
60}
61
62livecheck.regex     /${name}/(\[0-9.\]+)/
Note: See TracBrowser for help on using the repository browser.