svn commit: r315291 - head/audio/shntool
Baptiste Daroussin
bapt at FreeBSD.org
Tue Mar 26 14:00:53 UTC 2013
Author: bapt
Date: Tue Mar 26 14:00:52 2013
New Revision: 315291
URL: http://svnweb.freebsd.org/changeset/ports/315291
Log:
Fix after conversion to new options framework
Approved by: miwi
Modified:
head/audio/shntool/Makefile
Modified: head/audio/shntool/Makefile
==============================================================================
--- head/audio/shntool/Makefile Tue Mar 26 13:02:02 2013 (r315290)
+++ head/audio/shntool/Makefile Tue Mar 26 14:00:52 2013 (r315291)
@@ -32,14 +32,14 @@ RDEP= AIFF:sox SHN:shorten FLAC APE:mac
.include <bsd.port.options.mk>
-.for i in ${RDEP}
-o= ${i:C/:.*//}
-. if ${PORT_OPTIONS:M${o}}
-b= ${i:C/^[A-Z]*://:C/:.*//:L}
-p= ${i:C/^[A-Z]*://:C/.*://:L}
+.for o in ${PORT_OPTIONS}
+m= ${RDEP:M${o}*}
+.if ${m}
+b= ${m:C/^[A-Z]*://:C/:.*//:L}
+p= ${m:C/^[A-Z]*://:C/.*://:L}
RUN_DEPENDS+= ${b}:${PORTSDIR}/audio/${p}
RUN_DEPENDS:= ${RUN_DEPENDS}
-. endif
+.endif
.endfor
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list