Lines 9-15
USE_RUBY="ruby23 ruby24"
Link Here
|
9 |
|
9 |
|
10 |
RUBY_FAKEGEM_EXTRAINSTALL="locales" |
10 |
RUBY_FAKEGEM_EXTRAINSTALL="locales" |
11 |
|
11 |
|
12 |
inherit xemacs-elisp-common eutils user ruby-fakegem versionator |
12 |
inherit eutils user ruby-fakegem versionator |
13 |
|
13 |
|
14 |
DESCRIPTION="A system automation and configuration management software." |
14 |
DESCRIPTION="A system automation and configuration management software." |
15 |
HOMEPAGE="https://puppet.com/" |
15 |
HOMEPAGE="https://puppet.com/" |
Lines 46-53
ruby_add_rdepend "
Link Here
|
46 |
# >=dev-ruby/webmock-1.24:0 |
46 |
# >=dev-ruby/webmock-1.24:0 |
47 |
# )" |
47 |
# )" |
48 |
|
48 |
|
49 |
DEPEND+=" ${DEPEND} |
|
|
50 |
xemacs? ( app-editors/xemacs )" |
51 |
RDEPEND+=" ${RDEPEND} |
49 |
RDEPEND+=" ${RDEPEND} |
52 |
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] ) |
50 |
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] ) |
53 |
selinux? ( |
51 |
selinux? ( |
Lines 106-118
all_ruby_prepare() {
Link Here
|
106 |
} |
104 |
} |
107 |
|
105 |
|
108 |
all_ruby_compile() { |
106 |
all_ruby_compile() { |
109 |
if use xemacs ; then |
107 |
: |
110 |
# Create a separate version for xemacs to be able to install |
|
|
111 |
# emacs and xemacs in parallel. |
112 |
mkdir ext/xemacs |
113 |
cp ext/emacs/* ext/xemacs/ |
114 |
xemacs-elisp-compile ext/xemacs/puppet-mode.el |
115 |
fi |
116 |
} |
108 |
} |
117 |
|
109 |
|
118 |
each_ruby_install() { |
110 |
each_ruby_install() { |
Lines 150-160
all_ruby_install() {
Link Here
|
150 |
fowners -R :puppet /etc/puppetlabs |
142 |
fowners -R :puppet /etc/puppetlabs |
151 |
fowners -R :puppet /var/lib/puppet |
143 |
fowners -R :puppet /var/lib/puppet |
152 |
|
144 |
|
153 |
if use xemacs ; then |
|
|
154 |
xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el* |
155 |
xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
156 |
fi |
157 |
|
158 |
if use ldap ; then |
145 |
if use ldap ; then |
159 |
insinto /etc/openldap/schema; doins ext/ldap/puppet.schema |
146 |
insinto /etc/openldap/schema; doins ext/ldap/puppet.schema |
160 |
fi |
147 |
fi |
Lines 187-196
pkg_postinst() {
Link Here
|
187 |
elog |
174 |
elog |
188 |
fi |
175 |
fi |
189 |
done |
176 |
done |
190 |
|
|
|
191 |
use xemacs && xemacs-elisp-site-regen |
192 |
} |
193 |
|
194 |
pkg_postrm() { |
195 |
use xemacs && xemacs-elisp-site-regen |
196 |
} |
177 |
} |
197 |
- |
|
|