Ticket #33897: Portfile

File Portfile, 1.5 KB (added by paumard, 13 years ago)

yorick-mpeg Portfile

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 91475 2012-04-02 21:53:40Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7set uname           mpeg
8github.setup        dhmunro yorick-${uname} CVS-final
9version             0.1
10categories          science multimedia
11platforms           darwin
12maintainers         users.sourceforge.net:paumard openmaintainer
13description         Write MPEG-1 movies from Yorick
14long_description    This is a standalone mpeg movie encoder for Yorick. \
15                    In contrast to yorick-av, yorick-mpeg has no external \
16                    dependency: it is therefore easy to install and won't \
17                    break with every change of the FFmpeg API. On the other \
18                    hand, it can only produce MPEG-1 movies.
19homepage            https://github.com/dhmunro/yorick-mpeg
20
21checksums           rmd160  8344dcac33aa6ae08374fa2e23dce5000db57596 \
22                    sha256  eb073ac8ff7d3894977693816c8cdf99b1a8a540c74eb2ac9870e30a51823136
23
24depends_lib-append  path:bin/yorick:yorick
25
26universal_variant   no
27
28configure.cmd       ${prefix}/bin/yorick
29configure.pre_args
30configure.args      -batch make.i
31post-configure {
32    reinplace "s/undef HAVE_OSX/define HAVE_OSX/" ${worksrcpath}/config.h
33}
34
35build.pre_args      PKG_DEPLIBS=libavcodec/libavcodec.a
36build.args          yompeg.so
37
38destroot.pre_args-append   PKG_I_EXTRA=mpgtest.i