diff options
Diffstat (limited to 'net-fs/samba/samba-3.0.20a.ebuild')
-rw-r--r-- | net-fs/samba/samba-3.0.20a.ebuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/net-fs/samba/samba-3.0.20a.ebuild b/net-fs/samba/samba-3.0.20a.ebuild index 339c59b04a3e..be989c2bf744 100644 --- a/net-fs/samba/samba-3.0.20a.ebuild +++ b/net-fs/samba/samba-3.0.20a.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.0.20a.ebuild,v 1.1 2005/10/06 14:55:45 satya Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.0.20a.ebuild,v 1.1.1.1 2005/11/30 09:45:51 chriswhite Exp $ inherit eutils versionator IUSE_LINGUAS="ja pl" -IUSE="acl async automount cups doc kerberos ldap mysql pam postgres python quotas - readline syslog winbind xml xml2 libclamav oav selinux" +IUSE="acl async automount cups doc examples kerberos ldap mysql pam postgres + python quotas readline syslog winbind xml xml2 libclamav oav selinux" RESTRICT="test" VSCAN_VER=0.3.6 @@ -241,14 +241,15 @@ src_install() { # docs dodoc ${FILESDIR}/README.gentoo dodoc ${S2}/{COPYING,Manifest,README,Roadmap,WHATSNEW.txt} - docinto examples dodoc ${CONFDIR}/nsswitch.conf-wins use winbind && dodoc ${CONFDIR}/nsswitch.conf-winbind - cp -pPR ${S2}/examples/* ${D}/usr/share/doc/${PF}/examples - - chmod -R 755 `find ${D}/usr/share/doc/${PF}/examples -type d` - chmod -R 644 `find ${D}/usr/share/doc/${PF}/examples ! -type d` + if use examples; then + docinto examples + cp -pPR ${S2}/examples/* ${D}/usr/share/doc/${PF}/examples + chmod -R 755 `find ${D}/usr/share/doc/${PF}/examples -type d` + chmod -R 644 `find ${D}/usr/share/doc/${PF}/examples ! -type d` + fi if use oav; then docinto ${PFVSCAN} |