--- bacula-5.2.12.ebuild.orig 2013-02-14 11:34:18.635330806 +0100 +++ bacula-5.2.12.ebuild 2013-02-14 11:29:35.877788105 +0100 @@ -19,7 +19,7 @@ LICENSE="AGPL-3" SLOT="0" KEYWORDS="amd64 ~hppa ppc sparc x86" -IUSE="acl bacula-clientonly bacula-nodir bacula-nosd ipv6 logwatch mysql postgres python qt4 readline +sqlite3 ssl static tcpd vim-syntax X" +IUSE="acl bacula-clientonly bacula-nodir bacula-nosd examples ipv6 logwatch mysql postgres python qt4 readline +sqlite3 ssl static tcpd vim-syntax X" DEPEND=" dev-libs/gmp @@ -299,6 +299,12 @@ # documentation dodoc ChangeLog ReleaseNotes SUPPORT technotes + # install examples + if use examples; then + docinto examples/ + dodoc -r examples/* + fi + # vim-files if use vim-syntax; then insinto /usr/share/vim/vimfiles/syntax