Ticket #3007: Portfile

File Portfile, 1.0 KB (added by filippo.natali@…, 20 years ago)

multimedia/mjpegtools Portfile

Line 
1# $Id: $
2
3PortSystem 1.0
4name            mjpegtools
5version         1.6.2   
6categories      multimedia
7maintainers     filippo.natali@gmail.com       
8platforms       darwin
9description     Set of tools to record/playback/edit videos in MPEG format     
10long_description        Programs for MJPEG recording and playback and simple cut-and-paste \
11                        editing and MPEG compression of audio and video.
12
13homepage        http://mjpeg.sourceforge.net/   
14master_sites    sourceforge:mjpeg       
15
16checksums       md5 01c0120b0182de67f182ef99ad855daa
17
18depends_lib     lib:libpng:libpng lib:libjpeg:jpeg
19
20configure.args  --mandir=${prefix}/share/man   --disable-glibtest --disable-gtktest --disable-sdltest
21
22configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
23                CFLAGS="-L${prefix}/lib"
24
25variant gtk {
26        configure.args-delete   --disable-glibtest --disable-gtktest
27        depends_lib-append      lib:libgtk.1:gtk1
28}
29
30variant sdl {
31        configure.args-delete   --disable-sdltest
32        depends_lib-append      lib:libSDL:libsdl
33}
34
35variant libdv {
36        depends_lib-append      lib:libdv:libdv
37}
38
39variant pal requires libdv {
40        configure.args-append   --with-dv-yv12
41}