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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | set uname mpeg |
---|
8 | github.setup dhmunro yorick-${uname} CVS-final |
---|
9 | version 0.1 |
---|
10 | categories science multimedia |
---|
11 | platforms darwin |
---|
12 | maintainers users.sourceforge.net:paumard openmaintainer |
---|
13 | description Write MPEG-1 movies from Yorick |
---|
14 | long_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. |
---|
19 | homepage https://github.com/dhmunro/yorick-mpeg |
---|
20 | |
---|
21 | checksums rmd160 8344dcac33aa6ae08374fa2e23dce5000db57596 \ |
---|
22 | sha256 eb073ac8ff7d3894977693816c8cdf99b1a8a540c74eb2ac9870e30a51823136 |
---|
23 | |
---|
24 | depends_lib-append path:bin/yorick:yorick |
---|
25 | |
---|
26 | universal_variant no |
---|
27 | |
---|
28 | configure.cmd ${prefix}/bin/yorick |
---|
29 | configure.pre_args |
---|
30 | configure.args -batch make.i |
---|
31 | post-configure { |
---|
32 | reinplace "s/undef HAVE_OSX/define HAVE_OSX/" ${worksrcpath}/config.h |
---|
33 | } |
---|
34 | |
---|
35 | build.pre_args PKG_DEPLIBS=libavcodec/libavcodec.a |
---|
36 | build.args yompeg.so |
---|
37 | |
---|
38 | destroot.pre_args-append PKG_I_EXTRA=mpgtest.i |
---|