Ticket #26454: Portfile-tovid.2.diff

File Portfile-tovid.2.diff, 3.6 KB (added by danielb@…, 14 years ago)
  • Portfile

    old new  
    11# -*- 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
    22# $Id: Portfile 71292 2010-09-07 23:24:52Z raimue@macports.org $
    33
    4 PortSystem          1.0
     4PortSystem        1.0
     5PortGroup         python26 1.0
    56
    6 name                tovid
    7 version             0.31
    8 revision        2
    9 categories          multimedia
    10 maintainers         shah.co.nz:macports
    11 description         a collection of GPL video disc authoring tools
    12 long_description    ${description}, tovid can help you create your own DVDs, \
    13                     VCDs, and SVCDs for playback on your home DVD player.
    14 homepage            http://tovid.wikia.com/
     7name              tovid
     8version           0.33
     9revision          0
     10categories        multimedia
     11maintainers       shah.co.nz:macports
     12description       a collection of GPL video disc authoring tools
     13long_description  ${description}, tovid can help you create your own DVDs, \
     14                  VCDs, and SVCDs for playback on your home DVD player.
     15homepage          http://tovid.wikia.com/
     16
     17platforms         darwin
     18
     19# Patch tovid scripts to use coreutils binaries: gdf, gdu, gsed, gmd5sum, gstat, and greadlink
     20# Patch ffmpeg pad flag(s), use sysctl instead of /proc/cpuinfo (contributed by drepper)
     21patchfiles        patch-libtovid-coreutils.diff \
     22                  patch-src-coreutils.diff \
     23                  patch-ffmpeg-pad-flag.diff \
     24                  patch-cpuinfo-tovid-init.in.diff \
     25                  patch-cpuinfo-tovid.diff
    1526
    16 platforms           darwin
    17 
    18 # Use mplayer-devel as mplayer does not build on Snow Leopard
    19 depends_lib         port:txt2tags \
     27depends_lib-append  port:txt2tags \
    2028                    path:bin/mplayer:mplayer-devel \
    2129                    port:ffmpeg \
    2230                    port:mjpegtools \
     
    2533                    port:dvdrw-tools \
    2634                    port:transcode \
    2735                    port:sox \
    28                     port:normalize
    29 
    30 master_sites        http://tovid.googlecode.com/files/
    31 
    32 checksums           md5 fc697e7d5aedae0ff427e7e2a1aa20e2 \
    33                     sha1 1c3ec16a7654e7f1248da2fc666b797efa29d0ae \
    34                     rmd160 c79e7fe566256699e65cc4bd94cf5a1f98503502
     36                    port:normalize \
     37                    port:vcdimager \
     38                    port:cdrdao \
     39                    port:proctools \
     40                    port:coreutils \
     41                    port:gsed \
     42                    port:py26-cairo \
     43                    port:py26-pil \
     44                    port:ghostscript
     45
     46python.link_binaries no
     47
     48post-destroot {
     49    ln -s ${python.prefix}/bin/tovid ${destroot}${prefix}/bin/
     50    ln -s ${python.prefix}/share/man/man1/tovid.1 \
     51        ${destroot}${prefix}/share/man/man1
     52               
     53    set py_scriptsdir ${python.prefix}/lib/tovid
     54    set scriptsdir ${prefix}/lib/tovid
     55
     56    xinstall -d ${destroot}${scriptsdir}
     57
     58    foreach fil {idvid makedvd makemenu makevcd makexml postproc \
     59        todisc todisc-fade-routine makempg tovid-batch tovid-init \
     60        tovid-interactive make_titlesets todiscgui tovid-stats \
     61        titleset-wizard tovid.gif tovid.ini} {
     62          ln -s ${py_scriptsdir}/${fil} \
     63              ${destroot}${scriptsdir}/${fil}
     64    }
     65}
     66
     67master_sites      http://tovid.googlecode.com/files/
     68
     69checksums         md5 078610cf7a5296d59bdd8c7cc88ffb77 \
     70                  sha1 7c6e4ca79b037ddadb80171cd9b8b0833753ed82 \
     71                  rmd160 057a05a4f4f1e61fde92a608a7c0d04780fac568