1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/audio/mma/files/patch-mma.py
Nicola Vitale d2d112631b - Update to 12.02
- Remove http://nivi.interfree.it from MASTER_SITES
- Set USE_PYTHON to -2.7
- The man pages installation is independent from the value of NOPORTDOCS
2012-04-28 13:32:04 +00:00

14 lines
550 B
Python

$FreeBSD$
--- ./mma.py.orig 2012-04-28 14:45:21.000000000 +0200
+++ ./mma.py 2012-04-28 14:46:09.000000000 +0200
@@ -67,6 +67,9 @@
dirlist = ( sys.path[0], "/Users/Shared/mma",
"/usr/local/share/mma", "/usr/share/mma", '.' )
midiPlayer = ['open'] # 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!