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 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup makefile 1.0 |
---|
5 | |
---|
6 | name m2vrequantiser |
---|
7 | version 1.1 |
---|
8 | categories multimedia |
---|
9 | platforms darwin |
---|
10 | license GPL-2+ |
---|
11 | maintainers {hotmail.com:amtor @RobK88} \ |
---|
12 | openmaintainer |
---|
13 | |
---|
14 | description M2VRequantiser requantizes MPEG-2 streams without \ |
---|
15 | recompressing. |
---|
16 | |
---|
17 | long_description M2VRequantiser accepts the raw MPEG2 \ |
---|
18 | video data (not VOB) from the standard input \ |
---|
19 | and writes the recompressed frames to the \ |
---|
20 | standard output. \ |
---|
21 | M2VRequantiser represents a good replacement for \ |
---|
22 | tcrequant, an obsolete utility provided by some \ |
---|
23 | versions of the transcode suite. |
---|
24 | |
---|
25 | homepage https://launchpad.net/m2vrequantiser |
---|
26 | master_sites https://launchpad.net/m2vrequantiser/trunk/${version}/+download/:tagone\ |
---|
27 | debian:d/${name}:tagtwo |
---|
28 | |
---|
29 | distfiles M2VRequantiser-v${version}.tar.gz:tagone \ |
---|
30 | ${name}_${version}-5.debian.tar.xz:tagtwo |
---|
31 | |
---|
32 | distname M2VRequantiser-v${version} |
---|
33 | worksrcdir M2VRequantiser-v${version} |
---|
34 | |
---|
35 | checksums ${distname}.tar.gz \ |
---|
36 | rmd160 d66b15c0949930849d50e6a9176c16618e21daa4 \ |
---|
37 | sha256 e537c7894edc4ae446d71e8f597aa1fcec85c3e76748ba0aaa289cc667c94209 \ |
---|
38 | size 34472 \ |
---|
39 | ${name}_${version}-5.debian.tar.xz \ |
---|
40 | rmd160 7efb849fd3c61b4167cb810dbebb16dba9db834a \ |
---|
41 | sha256 ef67b57442b3c2f21bb195885390497707e2abc5a54491f595f3fe8b6ff18a53 \ |
---|
42 | size 4948 \ |
---|
43 | |
---|
44 | depends_extract port:gnutar\ |
---|
45 | port:xz |
---|
46 | |
---|
47 | post-extract { |
---|
48 | system -W ${workpath} "xz -dc [shellescape ${distpath}/${name}_${version}-5.debian.tar.xz] | gnutar --no-same-owner -xf - " |
---|
49 | } |
---|
50 | |
---|
51 | patchfiles 1001-makefile.patch \ |
---|
52 | 1002-argc_sigsegv.patch \ |
---|
53 | 1003-typedef.patch |
---|
54 | |
---|
55 | destroot { |
---|
56 | xinstall -m 755 ${worksrcpath}/M2VRequantiser ${destroot}${prefix}/bin |
---|
57 | xinstall -m 755 ${workpath}/debian/manpage/${name}.1 ${destroot}${prefix}/share/man/man1 |
---|
58 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
59 | xinstall -m 644 ${worksrcpath}/README.txt ${destroot}${prefix}/share/doc/${name} |
---|
60 | } |
---|