Ticket #2348: Portfile

File Portfile, 1.2 KB (added by dports@…, 20 years ago)

New Portfile

Line 
1# $Id: Portfile,v 1.3 2004/08/03 22:36:44 mww Exp $
2
3PortSystem 1.0
4
5name            scummvm
6version         0.6.1b
7platforms       darwin
8categories      emulators games
9maintainers     phw@opendarwin.org
10description     cross-platform interpreter for several adventure engines
11long_description        ScummVM is a cross-platform interpreter for several \
12                        point-and-click adventure engines. This includes all \
13                        SCUMM-based adventures by LucasArts, Simon the \
14                        Sorcerer by AdventureSoft, and Beneath a Steel Sky and \
15                        Broken Sword 2 by Revolution
16
17homepage        http://scummvm.org
18#distfiles      ${name}-${version}-src.tar.bz2
19master_sites    sourceforge
20use_bzip2       yes
21checksums       md5 143dd7cfe0995922c49e1f8a6cdf2055
22depends_lib     bin:sdl-config:libsdl \
23                lib:libmad:libmad \
24                lib:libogg:libogg \
25                lib:libvorbis:libvorbis \
26                lib:libvorbisfile:libvorbis \
27                lib:libmpeg2:libmpeg2
28
29configure.env   LDFLAGS="-L${prefix}/lib" \
30                CPPFLAGS="-I${prefix}/include"
31configure.pre_args
32post-configure  { reinplace "s|/sw|${prefix}|g" ${worksrcpath}/Makefile }
33build.env       ${configure.env}
34build.target    bundle
35destroot        {
36                xinstall -m 755 -d ${destroot}/Applications/DarwinPorts
37                file copy ${worksrcpath}/ScummVM.app \
38                                ${destroot}/Applications/DarwinPorts
39                 }