svn commit: r335879 - in head/audio/boodler: . files
Marcus von Appen
mva at FreeBSD.org
Sun Dec 8 12:48:42 UTC 2013
Author: mva
Date: Sun Dec 8 12:48:42 2013
New Revision: 335879
URL: http://svnweb.freebsd.org/changeset/ports/335879
Log:
- Fix the usage of 'python' to get rid of the implicit lang/python
dependency
- Limit the port to the supported python version
Approved by: portmgr (blanket)
Modified:
head/audio/boodler/Makefile (contents, props changed)
head/audio/boodler/files/patch-aa (contents, props changed)
Modified: head/audio/boodler/Makefile
==============================================================================
--- head/audio/boodler/Makefile Sun Dec 8 12:47:19 2013 (r335878)
+++ head/audio/boodler/Makefile Sun Dec 8 12:48:42 2013 (r335879)
@@ -16,7 +16,7 @@ RESTRICTED_FILES= boodler-snd-021902.tar
NO_STAGE= yes
USES= gmake
-USE_PYTHON= yes
+USE_PYTHON= 2
DRIVER?= oss
WRKSRC= ${WRKDIR}/${PORTNAME}
BHOME= ${PREFIX}/share/boodler
@@ -44,6 +44,7 @@ PIC= --PIC
.endif
post-patch:
+ ${REINPLACE_CMD} -e "s|python|${PYTHON_CMD}|" ${WRKSRC}/Makefile
${REINPLACE_CMD} -e "s|^booroot=.*|booroot=${PREFIX}/share/boodler|" ${WRKSRC}/wrapper/boodler
@${RMDIR} ${WRKDIR}/boodler-snd/string
Modified: head/audio/boodler/files/patch-aa
==============================================================================
--- head/audio/boodler/files/patch-aa Sun Dec 8 12:47:19 2013 (r335878)
+++ head/audio/boodler/files/patch-aa Sun Dec 8 12:48:42 2013 (r335879)
@@ -9,4 +9,4 @@ diff -ruN wrapper.orig/boodler wrapper/b
+export BOODLER_SOUND_PATH=${booroot}/boodler-snd/
+export BOODLER_EFFECTS_PATH=${booroot}/effects/
+
-+python ${booroot}/boodler.py "$@"
++python2 ${booroot}/boodler.py "$@"
More information about the svn-ports-head
mailing list