Ticket #64083: Portfile

File Portfile, 2.3 KB (added by RobK88, 2 years ago)

portfile with bug

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
3PortSystem          1.0
4PortGroup           makefile 1.0
5
6name                m2vrequantiser
7version             1.1
8categories          multimedia
9platforms           darwin
10license             GPL-2+
11maintainers         {hotmail.com:amtor @RobK88} \
12                    openmaintainer
13
14description         M2VRequantiser requantizes MPEG-2 streams without \
15                    recompressing.
16
17long_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
25homepage            https://packages.qa.debian.org/m/m2vrequantiser.html
26master_sites        debian:d/${name}/
27
28distfiles           ${name}_${version}.orig.tar.gz:tagone\
29                    ${name}_${version}-5.debian.tar.xz:tagtwo
30
31distname            ${name}_${version}.orig
32worksrcdir          M2VRequantiser-v${version}
33
34checksums           ${name}_${version}.orig.tar.gz \
35                         rmd160  d66b15c0949930849d50e6a9176c16618e21daa4 \
36                         sha256  e537c7894edc4ae446d71e8f597aa1fcec85c3e76748ba0aaa289cc667c94209 \
37                         size    34472 \
38                    ${name}_${version}-5.debian.tar.xz \
39                         rmd160  7efb849fd3c61b4167cb810dbebb16dba9db834a \
40                         sha256  ef67b57442b3c2f21bb195885390497707e2abc5a54491f595f3fe8b6ff18a53 \
41                         size    4948 \
42
43use_xz              yes:tagtwo
44
45patchfiles          1001-makefile.patch \
46                    1002-argc_sigsegv.patch \
47                    1003-makefile.patch \
48                    1004-typedef.patch
49
50destroot {
51    xinstall -m 755 ${worksrcpath}/M2VRequantiser ${destroot}${prefix}/bin
52    xinstall -m 755 ${worksrcpath}/debian/manpage/${name}.1 ${destroot}${prefix}/share/man/man1
53    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
54    xinstall -m 644 ${worksrcpath}/README.txt ${destroot}${prefix}/share/doc/${name}
55}