Ticket #23306: Portfile

File Portfile, 1.8 KB (added by stefan.van.der.eijk@…, 15 years ago)
Line 
1PortSystem                      1.0
2
3name                            x264transcode
4version                         0.2.4a
5categories                      multimedia
6platforms                       darwin
7maintainers                     gmail.com:stefan.van.der.eijk openmaintainer
8
9description                     Automated DVD/VOB/M2TS to MKV system with subs/audio tracks/chapters
10long_description                Script for automated backup of DVDs, SD vob and HD m2ts files for GNU/Linux and MacOS X. It works in _completely unattended mode_ and is designed to run in the background. It rips ALL subtitles and ALL audio tracks and transcodes video to x264, profile 3.1, crf mode, with b-frames. Video stream is cropped to get rid of black borders. Chapters work. The container is MKV.
11                               
12homepage                        http://www.networkedmediatank.com/showthread.php?tid=11790
13master_sites                    https://files.warwick.ac.uk/grok/files/
14worksrcdir                      ${name}
15                                       
16depends_lib                     port:crswallow \
17                                port:giflib \
18                                port:lsdvd \
19                                port:mkvtoolnix \
20                                port:mplayer-devel \
21                                port:ogmtools
22
23checksums           md5     5307a7d4531b706687e4c64b637307df \
24                    sha1    19958babf726d1ad7f308d5bd110fd4aa2038ac2 \
25                    rmd160  17b3c73441cc29d61f6fb9ee30b07d5a5c38b7cb
26
27use_configure no
28build {}
29
30destroot {
31file mkdir -p ${destroot}${prefix}/etc
32xinstall ${worksrcpath}/autoripper.conf ${destroot}${prefix}/etc/
33file mkdir -p ${destroot}${prefix}/bin
34xinstall ${worksrcpath}/autorip.py ${destroot}${prefix}/bin/
35xinstall ${worksrcpath}/crippler.sh ${destroot}${prefix}/bin/
36xinstall ${worksrcpath}/monitor.sh ${destroot}${prefix}/bin/
37xinstall ${worksrcpath}/ripper.sh ${destroot}${prefix}/bin/
38xinstall ${worksrcpath}/x264transcode.sh ${destroot}${prefix}/bin/
39file mkdir -p ${destroot}${prefix}/share/doc/${name}
40xinstall ${worksrcpath}/CHANGELOG ${destroot}${prefix}/share/doc/${name}/
41xinstall ${worksrcpath}/COPYING ${destroot}${prefix}/share/doc/${name}/
42xinstall ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}/
43}