source: trunk/dports/aqua/HandBrake/Portfile @ 30218

Last change on this file since 30218 was 30218, checked in by jmpp@…, 13 years ago

nomaintainer address abstraction in aqua category.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.3 KB
Line 
1# $Id: Portfile 30218 2007-10-22 22:35:35Z jmpp@macports.org $
2
3PortSystem 1.0
4
5name            HandBrake
6version         0.7.1
7revision        1
8platforms       darwin
9categories      aqua multimedia
10maintainers     nomaintainer
11description     DVD to MPEG4 converter
12long_description        HandBrake is a GPL'd multi-platform, heavily \
13                        multithreaded DVD to MPEG-4 converter. \
14                        - Can encode directly from DVDs (even encrypted ones) \
15                        - Outputs MP4, AVI or OGM files \
16                        - Outputs AAC, MP3 or Vorbis audio \
17                        - Supports 2-pass encoding \
18                        - Supports encoding of two audio tracks \
19                        - Includes a bitrate calculator \
20                        - Supports picture cropping and scaling
21homepage        http://handbrake.m0k.org
22master_sites    http://download.m0k.org/handbrake/:h \
23                                http://download.m0k.org/handbrake/contrib/:c
24distfiles       HandBrake-${version}.tar.gz:h a52dec-0.7.4.tar.gz:c \
25                ffmpeg-20060201.tar.gz:c libdvdcss-1.2.9.tar.gz:c \
26                libdvdread-20050928.tar.gz:c faac-1.24.tar.gz:c \
27                lame-3.96.1.tar.gz:c mpeg4ip-1.3.tar.gz:c \
28                mpeg2dec-20051112.tar.gz:c libogg-1.1.2.tar.gz:c \
29                libsamplerate-0.1.2.tar.gz:c libvorbis-1.1.1.tar.gz:c \
30                x264-r401.tar.gz:c xvidcore-1.1.0.tar.gz:c
31checksums       \
32        HandBrake-0.7.1.tar.gz sha1 7b113bc09cb95877634305871c24594303b6fe19 \
33        a52dec-0.7.4.tar.gz sha1 7c406b9b5351cdec56279b6d02f3f556711424d2 \
34        ffmpeg-20060201.tar.gz sha1 0984667db8f6e54632af75ce8cfad616ee2ba8ac \
35        libdvdcss-1.2.9.tar.gz sha1 2a9b2642bc298d315bb0b6de45a45d9cb696cfc7 \
36        libdvdread-20050928.tar.gz sha1 f735156e9257ec9c863b2d63356eb386650b2991 \
37        faac-1.24.tar.gz sha1 fc47715e562b980a95b8cd3b2cc516214f8ec8c4 \
38        lame-3.96.1.tar.gz sha1 7efa3fe278fc4d4a16a217e973461591428c20c8 \
39        mpeg4ip-1.3.tar.gz sha1 3c5987f51d0bbd49775b45f667cf46a628c4f87a \
40        mpeg2dec-20051112.tar.gz sha1 f07fb2cee4bb7494d82f2b5920b53dcd3050bf7c \
41        libogg-1.1.2.tar.gz sha1 fd4e2c3ce6d98dcb684ed0a09c3b2315888e4442 \
42        libsamplerate-0.1.2.tar.gz sha1 677598eb121d892d04ac727cd0ec307a29cd2bc9 \
43        libvorbis-1.1.1.tar.gz sha1 b29438f0bc1992000037e375277cdbe095712e2a \
44        x264-r401.tar.gz sha1 c9ca8892c22e1d04d1da041c3fc969e9071af15a \
45        xvidcore-1.1.0.tar.gz sha1 f935492cf32a119c411e8b649ba6ebec1cf54454
46
47depends_build   bin:jam:jam
48
49extract.only    HandBrake-${version}.tar.gz
50set contrib             ${worksrcpath}/contrib
51post-extract {
52        file copy ${distpath}/a52dec-0.7.4.tar.gz ${contrib}/a52dec.tar.gz
53        file copy ${distpath}/ffmpeg-20060201.tar.gz ${contrib}/ffmpeg.tar.gz
54        file copy ${distpath}/libdvdcss-1.2.9.tar.gz ${contrib}/libdvdcss.tar.gz
55        file copy ${distpath}/libdvdread-20050928.tar.gz ${contrib}/libdvdread.tar.gz
56        file copy ${distpath}/faac-1.24.tar.gz ${contrib}/faac.tar.gz
57        file copy ${distpath}/lame-3.96.1.tar.gz ${contrib}/lame.tar.gz
58        file copy ${distpath}/mpeg4ip-1.3.tar.gz ${contrib}/mpeg4ip.tar.gz
59        file copy ${distpath}/mpeg2dec-20051112.tar.gz ${contrib}/mpeg2dec.tar.gz
60        file copy ${distpath}/libogg-1.1.2.tar.gz ${contrib}/libogg.tar.gz
61        file copy ${distpath}/libsamplerate-0.1.2.tar.gz ${contrib}/libsamplerate.tar.gz
62        file copy ${distpath}/libvorbis-1.1.1.tar.gz ${contrib}/libvorbis.tar.gz
63        file copy ${distpath}/x264-r401.tar.gz ${contrib}/x264.tar.gz
64        file copy ${distpath}/xvidcore-1.1.0.tar.gz ${contrib}/xvidcore.tar.gz
65}
66use_configure   yes
67build.cmd       jam
68build.target
69build.env       CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
70destroot        {
71        set appPath ${destroot}/Applications/MacPorts
72        xinstall -d -m 755 ${appPath}
73        file copy ${worksrcpath}/${name}.app ${appPath}/${name}.app
74}
Note: See TracBrowser for help on using the repository browser.