[71443] trunk/dports/games/sounddecompress
ryandesign at macports.org
ryandesign at macports.org
Mon Sep 13 01:42:07 PDT 2010
Revision: 71443
http://trac.macports.org/changeset/71443
Author: ryandesign at macports.org
Date: 2010-09-13 01:42:06 -0700 (Mon, 13 Sep 2010)
Log Message:
-----------
sounddecompress: avoid too many open files issue when running with libhsplasma 627:bbc03b474261 or later
Modified Paths:
--------------
trunk/dports/games/sounddecompress/Portfile
Added Paths:
-----------
trunk/dports/games/sounddecompress/files/sounddecompress.py.in
Modified: trunk/dports/games/sounddecompress/Portfile
===================================================================
--- trunk/dports/games/sounddecompress/Portfile 2010-09-13 08:26:47 UTC (rev 71442)
+++ trunk/dports/games/sounddecompress/Portfile 2010-09-13 08:42:06 UTC (rev 71443)
@@ -5,6 +5,7 @@
name sounddecompress
version 1.11
+revision 1
platforms darwin
categories games audio sysutils
maintainers ryandesign
@@ -44,6 +45,10 @@
extract.mkdir yes
+post-extract {
+ copy ${filespath}/sounddecompress.py.in ${workpath}/sounddecompress.py
+}
+
patchfiles patch-wxSoundDecompress.py.diff
post-patch {
@@ -56,10 +61,14 @@
use_configure no
-build {}
+build {
+ reinplace "s|@PREFIX@|${prefix}|g" ${workpath}/sounddecompress.py
+}
destroot {
- xinstall ${worksrcpath}/sounddecompress.py ${destroot}${prefix}/bin
+ xinstall ${workpath}/sounddecompress.py ${destroot}${prefix}/bin
+ xinstall -d ${destroot}${prefix}/libexec/${name}
+ xinstall ${worksrcpath}/sounddecompress.py ${destroot}${prefix}/libexec/${name}
# xinstall ${worksrcpath}/wxSoundDecompress.py ${destroot}${prefix}/bin
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${docdir}
Added: trunk/dports/games/sounddecompress/files/sounddecompress.py.in
===================================================================
--- trunk/dports/games/sounddecompress/files/sounddecompress.py.in (rev 0)
+++ trunk/dports/games/sounddecompress/files/sounddecompress.py.in 2010-09-13 08:42:06 UTC (rev 71443)
@@ -0,0 +1,7 @@
+#!/bin/sh
+# $Id$
+
+# http://code.google.com/p/libhsplasma/issues/detail?id=63
+ulimit -n 2000
+
+"@PREFIX@/libexec/sounddecompress/sounddecompress.py" "$@"
Property changes on: trunk/dports/games/sounddecompress/files/sounddecompress.py.in
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100913/3de31459/attachment-0001.html>
More information about the macports-changes
mailing list