diff options
author | Markus Ullmann <jokey@gentoo.org> | 2006-10-18 23:36:16 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2006-10-18 23:36:16 +0000 |
commit | 1b94fb97adef2c2807ccc2836ac2ae3ac8d8c67c (patch) | |
tree | c14396fa3cbc22d885fec47a0469c9d01f3c7aad /app-misc/lcdproc | |
parent | inherit games last (diff) | |
download | gentoo-2-1b94fb97adef2c2807ccc2836ac2ae3ac8d8c67c.tar.gz gentoo-2-1b94fb97adef2c2807ccc2836ac2ae3ac8d8c67c.tar.bz2 gentoo-2-1b94fb97adef2c2807ccc2836ac2ae3ac8d8c67c.zip |
loop to output EXTRA_DRIVERS instead of hard coding them
(Portage version: 2.1.2_pre3-r4)
Diffstat (limited to 'app-misc/lcdproc')
-rw-r--r-- | app-misc/lcdproc/ChangeLog | 5 | ||||
-rw-r--r-- | app-misc/lcdproc/lcdproc-0.5.1.ebuild | 27 |
2 files changed, 24 insertions, 8 deletions
diff --git a/app-misc/lcdproc/ChangeLog b/app-misc/lcdproc/ChangeLog index 4b3f77c93065..db55289e6327 100644 --- a/app-misc/lcdproc/ChangeLog +++ b/app-misc/lcdproc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-misc/lcdproc # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/ChangeLog,v 1.35 2006/10/16 21:51:47 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/ChangeLog,v 1.36 2006/10/18 23:36:16 jokey Exp $ + + 18 Oct 2006; Markus Ullmann <jokey@gentoo.org> lcdproc-0.5.1.ebuild: + loop to output EXTRA_DRIVERS instead of hard coding them *lcdproc-0.5.1 (16 Oct 2006) diff --git a/app-misc/lcdproc/lcdproc-0.5.1.ebuild b/app-misc/lcdproc/lcdproc-0.5.1.ebuild index 69e81a369405..c57031307fa2 100644 --- a/app-misc/lcdproc/lcdproc-0.5.1.ebuild +++ b/app-misc/lcdproc/lcdproc-0.5.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/lcdproc-0.5.1.ebuild,v 1.1 2006/10/16 21:51:47 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/lcdproc-0.5.1.ebuild,v 1.2 2006/10/18 23:36:16 jokey Exp $ inherit eutils flag-o-matic @@ -34,7 +34,7 @@ RDEPEND=${DEPEND} USE_DRIVERS="curses g15 glcdlib irman lirc svga ula200 xosd" EXTRA_DRIVERS="bayrad CFontz CFontz633 CFontzPacket CwLnx EyeboxOne \ glk hd44780 icp_a106 imon IOWarrior joy lb216 lcdm001 \ - lcterm ms6931 mtc_s16209x MtxOrb NoritakeVFD pyramid sed1330 \ + lcterm MD8800 ms6931 mtc_s16209x MtxOrb NoritakeVFD pyramid sed1330 \ sed1520 serialVFD sli stv5730 t6963 text tyan " ALL_DRIVERS="${USE_DRIVERS} ${EXTRA_DRIVERS}" @@ -61,10 +61,23 @@ pkg_setup() { einfo "You can also set this variable in your make.conf." echo einfo "Possible choices for LCDPROC_DRIVERS are:" - einfo " bayrad CFontz CFontz633 CFontzPacket CwLnx EyeboxOne glk " - einfo " hd44780 icp_a106 imon IOWarrior joy lb216 lcdm001 lcterm " - einfo " MD8800 ms6931 mtc_s16209x MtxOrb NoritakeVFD pyramid sed1330 " - einfo " sed1520 serialVFD sli stv5730 t6963 text tyan" + + # Nice Output of EXTRA_DRIVERS + local LINE=" " + local ELEM=0 + for driver in ${EXTRA_DRIVERS}; do + ELEM=$((${ELEM}+1)) + LINE="${LINE} ${driver}" + if [ "${ELEM}" = 8 ]; then + einfo "${LINE}" + ELEM=0 + LINE=" " + fi + done + if [ ! "${ELEM}" = 0 ]; then + einfo "${LINE}" + fi + einfo " 'all' if you want to include all drivers (default)." einfo " 'none' will not include any extra drivers." echo @@ -75,7 +88,7 @@ pkg_setup() { FILTERED_DRIVERS="${FILTERED_DRIVERS} ${driver}" else eerror "The extra driver '${driver}' is not available or has to be enabled by a USE flag." - eerror "Please check your LCDPROC_DRIVERS-variable!" + eerror "Please check your LCDPROC_DRIVERS variable!" echo fi done |