aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-06-10 21:47:43 +0800
committerbapt <bapt@FreeBSD.org>2013-06-10 21:47:43 +0800
commitaa61cb784387ff17578a92bc7afd733c9f1e4901 (patch)
treecb5c1b9300177846cc8d3455ef3edacc4663232c /Mk
parent6e7c6d989fd00e8ca125c927f342cd5a7edf81e2 (diff)
downloadfreebsd-ports-gnome-aa61cb784387ff17578a92bc7afd733c9f1e4901.tar.gz
freebsd-ports-gnome-aa61cb784387ff17578a92bc7afd733c9f1e4901.tar.zst
freebsd-ports-gnome-aa61cb784387ff17578a92bc7afd733c9f1e4901.zip
Simplify the creation of the options part of the pkgng manifest
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.pkgng.mk42
1 files changed, 1 insertions, 41 deletions
diff --git a/Mk/bsd.pkgng.mk b/Mk/bsd.pkgng.mk
index acc220f7f253..422807b84de5 100644
--- a/Mk/bsd.pkgng.mk
+++ b/Mk/bsd.pkgng.mk
@@ -83,53 +83,13 @@ fake-pkg:
.endfor
@${ECHO_CMD} "]" >> ${MANIFESTF}
@${ECHO_CMD} -n "options: {" >> ${MANIFESTF}
-.for opt in ${ALL_OPTIONS}
+.for opt in ${COMPLETE_OPTIONS_LIST}
.if empty(PORT_OPTIONS:M${opt})
@${ECHO_CMD} -n "${opt}: off," >> ${MANIFESTF}
.else
@${ECHO_CMD} -n "${opt}: on," >> ${MANIFESTF}
.endif
.endfor
-.for multi in ${OPTIONS_MULTI}
-. for opt in ${OPTIONS_MULTI_${multi}}
-. if empty(PORT_OPTIONS:M${opt})
- @${ECHO_MSG} -n "${opt}: off, " >> ${MANIFESTF}
-. else
- @${ECHO_MSG} -n "${opt}: on, " >> ${MANIFESTF}
-. endif
-. endfor
-.endfor
-.for single in ${OPTIONS_SINGLE}
-. for opt in ${OPTIONS_SINGLE_${single}}
-. if empty(PORT_OPTIONS:M${opt})
- @${ECHO_MSG} -n "${opt}: off, " >> ${MANIFESTF}
-. else
- @${ECHO_MSG} -n "${opt}: on, " >> ${MANIFESTF}
-. endif
-. endfor
-.endfor
-.for radio in ${OPTIONS_RADIO}
-. for opt in ${OPTIONS_RADIO_${radio}}
-. if empty(PORT_OPTIONS:M${opt})
- @${ECHO_MSG} -n "${opt}: off, " >> ${MANIFESTF}
-. else
- @${ECHO_MSG} -n "${opt}: on, " >> ${MANIFESTF}
-. endif
-. endfor
-.endfor
-.for group in ${OPTIONS_GROUP}
-. for opt in ${OPTIONS_GROUP_${group}}
-. if empty(PORT_OPTIONS:M${opt})
- @${ECHO_MSG} -n "${opt}: off, " >> ${MANIFESTF}
-. else
- @${ECHO_MSG} -n "${opt}: on, " >> ${MANIFESTF}
-. endif
-. endfor
-.endfor
-.undef multi
-.undef single
-.undef radio
-.undef group
.undef opt
@${ECHO_CMD} "}" >> ${MANIFESTF}
@[ -f ${PKGINSTALL} ] && ${CP} ${PKGINSTALL} ${METADIR}/+INSTALL; \