1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/audio/mma/files/patch-mma.py
Nicola Vitale d76a490735 - Update to 1.7
- Add do-build, post-install targets to Makefile
- Add files/patch-mma.py
- Install all files without using the cp-install script
- Remove files/patch-cp-install
2011-02-27 13:46:17 +00:00

13 lines
536 B
Python

--- ./mma.py.orig 2011-02-27 11:14:24.000000000 +0100
+++ ./mma.py 2011-02-27 11:17:00.000000000 +0100
@@ -67,6 +67,9 @@
dirlist = ( sys.path[0], "/Users/Shared/mma",
"/usr/local/share/mma", "/usr/share/mma", '.' )
midiPlayer = [''] # must be a list!
+elif platform == 'FreeBSD':
+ dirlist = ( sys.path[0], '%%DATADIR%%', '.' )
+ midiPlayer = ['timidity', 'playmidi']
else:
dirlist = ( sys.path[0], "/usr/local/share/mma", "/usr/share/mma", '.' )
midiPlayer = ["aplaymidi"] # Must be a list!