Ticket #13960: patch-Portfile

File patch-Portfile, 2.5 KB (added by tow@…, 16 years ago)

patch for Portfile

Line 
1--- Portfile.orig       2008-01-16 22:26:06.000000000 +0000
2+++ Portfile    2008-01-16 22:19:27.000000000 +0000
3@@ -1,55 +1,29 @@
4-# $Id$
5+# $Id: Portfile 30219 2007-10-22 22:40:35Z jmpp@macports.org $
6 PortSystem             1.0
7 name                   libsdl_sound
8 version                        1.0.1
9-revision               3
10+revision               4
11 categories             audio devel
12 maintainers            nomaintainer
13 description            handles decoding of several popular sound file formats
14 long_description       SDL_sound is a library that handles the decoding of \
15-                                       several popular sound file formats, such as .WAV and \
16-                                       .MP3. It is meant to make the programmer's sound \
17-                                       playback tasks simpler.
18+                       several popular sound file formats, such as .WAV and \
19+                       .MP3. It is meant to make the programmer's sound \
20+                       playback tasks simpler.
21 platforms              macosx
22 homepage               http://icculus.org/SDL_sound/
23-master_sites   http://icculus.org/SDL_sound/downloads/
24+master_sites           http://icculus.org/SDL_sound/downloads/
25 distname               SDL_sound-${version}
26 checksums              md5 49e197ef7c8ab623d0640dc74be43160
27-depends_lib            bin:sdl-config:libsdl \
28-                               bin:smpeg-config:smpeg \
29-                               bin:libmikmod-config:libmikmod \
30-                               lib:libvorbis.0:libvorbis
31+depends_lib            port:libsdl port:smpeg port:libmikmod port:libvorbis \
32+                       port:flac port:speex port:physfs
33 
34-depends_build  bin:glibtoolize:libtool \
35-                               bin:automake:automake \
36-                               bin:autoconf:autoconf
37+configure.args         --disable-modplug
38 
39-patchfiles             patch-acinclude.m4
40-
41-pre-configure {
42-       ui_info "Initial preparation...this can take awhile, so sit tight..."
43-       system "cd ${worksrcpath} && aclocal"
44-       system "cd ${worksrcpath} && glibtoolize --automake --copy --force"
45-       system "cd ${worksrcpath} && autoheader"
46-       system "cd ${worksrcpath} && automake --foreign --add-missing --copy"
47-       system "cd ${worksrcpath} && autoconf"
48-       ui_info "Ready to run ./configure ..."
49-}
50-configure.args --disable-sdltest \
51-                               --disable-smpegtest
52+patchfiles             patch-Makefile.in patch-configure patch-decoders-flac.c
53 
54 post-destroot  {
55-       xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}
56-       xinstall -m 0644 -W ${worksrcpath} CHANGELOG COPYING CREDITS README TODO \
57+               xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}
58+               xinstall -m 0644 -W ${worksrcpath} CHANGELOG COPYING CREDITS README TODO \
59                ${destroot}${prefix}/share/doc/${name}
60 }
61-
62-platform darwin 6 {
63-       depends_lib-append      lib:libdl:dlcompat
64-}
65-
66-platform darwin 8 {
67-  if { ${xcodeversion} == "2.1"} {
68-     patchfiles patch-acinclude.m4.xcode21 patch-aclocal.m4.xcode21 patch-configure.xcode21
69-  }
70-}