1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

audio/mbrolavox: Fix options generation to get sane defaults

This commit is contained in:
Chris Rees 2013-05-04 12:52:28 +00:00
parent 7685842f89
commit 5e1f5eeddc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317312
2 changed files with 4 additions and 3 deletions

View File

@ -63,7 +63,7 @@ Makefile.options.unsorted: ${VOICESCONF}
${ECHO_CMD} "$${opt}_DESC= $$define" >> ${.TARGET}; \
${ECHO_CMD} "FILE_$${opt}= $$file" >> ${.TARGET}; \
case $$default in \
on) optdefault="$$optdefault $$opt" ;; \
[Oo][Nn]) optdefault="$$optdefault $$opt" ;; \
*) ;; \
esac; \
done < ${.ALLSRC}; \
@ -71,6 +71,6 @@ Makefile.options.unsorted: ${VOICESCONF}
${SED} 's,^[[:space:]]*,OPTIONS_DEFINE+= ,;s,[[:space:]]*$$,,' >> ${.TARGET}; \
[ -z "$$optdefault" ] || \
${ECHO_CMD} $$optdefault | /usr/bin/fold -sw 50 | \
${SED} 's,^,OPTIONS_DEFAULT+= ,' >> ${.TARGET}
${SED} 's,^[[:space:]]*,OPTIONS_DEFAULT+= ,' >> ${.TARGET}
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
# $FreeBSD$
# Autogenerated from /usr/home/crees/mbrolavox/voices.conf using make Makefile.options
# Autogenerated from /usr/ports/workspace/mbrolavox/voices.conf using make Makefile.options
FILE_af1= af1.zip
FILE_ar1= ar1-981103.zip
FILE_ar2= ar2-001015.zip
@ -72,6 +72,7 @@ FILE_us1= us1-980512.zip
FILE_us2= us2-980812.zip
FILE_us3= us3-990208.zip
FILE_vz1= vz1.zip
OPTIONS_DEFAULT+= nl1 us1
OPTIONS_DEFINE+= af1 ar1 ar2 br1 br2 br3 bz1 ca1 ca2 cr1 cz1 cz2
OPTIONS_DEFINE+= de1 de2 de3 de4 de5 de6 de7 de8 ee1 en1 es1 es2
OPTIONS_DEFINE+= es4 fr1 fr2 fr3 fr4 fr5 fr6 fr7 gr1 gr2 hb1 hb2