source: trunk/dports/multimedia/smpeg/Portfile @ 10597

Last change on this file since 10597 was 10597, checked in by rshaw, 15 years ago

Add --disable-sdltest configure arg (without this, it will attempt to
build and execute an SDL program, which will fail if you are building
from a remote connection or terminal that does not have access to X11
or MacOSX Aqua).

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1# $Id: Portfile,v 1.2 2005/01/24 19:33:34 rshaw Exp $
2
3PortSystem 1.0
4name            smpeg
5version         0.4.4
6revision        3
7categories      multimedia
8maintainers     mww@opendarwin.org
9platforms       darwin
10description     a general purpose MPEG video/audio player/library
11long_description        smpeg is a general purpose MPEG video/audio player and \
12                        library programmed by Loki entertainment and others
13
14homepage        http://www.lokigames.com/development/smpeg.php3
15master_sites    ftp://ftp.lokigames.com/pub/open-source/smpeg/ \
16                opendarwin::lt
17distfiles-append        ltconfig13:lt \
18                        ltmain13:lt
19extract.only    ${distname}${extract.suffix}
20
21checksums       ${distname}${extract.suffix} \
22                        md5 59c76ac704088ef5539210190c4e1fe3 \
23                ltconfig13 md5 ea53f42a550c9f9e653758a8ed91574e \
24                ltmain13 md5 e094ae92724c4015dbab97de151c2525
25
26depends_lib     lib:libSDL:libsdl
27
28post-patch {
29        file copy -force ${distpath}/ltconfig13 ${worksrcpath}/ltconfig
30        file copy -force ${distpath}/ltmain13 ${worksrcpath}/ltmain.sh
31}
32
33configure.args  --without-x \
34                --disable-gtktest \
35                --disable-gtk-player \
36                --disable-static \
37                --disable-sdltest \
38                --mandir=${prefix}/share/man
39
40post-configure  {
41        reinplace "s|gcc|g++|g" ${worksrcpath}/Makefile
42}
43
44build.target
Note: See TracBrowser for help on using the repository browser.