net-p2p/bitcoinxtd: minor code cleanup
authorAnthony G. Basile <blueness@gentoo.org>
Sun, 13 Dec 2015 07:19:02 +0000 (02:19 -0500)
committerAnthony G. Basile <blueness@gentoo.org>
Sun, 13 Dec 2015 07:19:02 +0000 (02:19 -0500)
Package-Manager: portage-2.2.24

net-p2p/bitcoinxtd/bitcoinxtd-0.11.0d.ebuild

index 8a112d4d9db2019f672854dc008185d6c257bfd0..cb87a52c70783bb207cbd87ff4f097be94b12626 100644 (file)
@@ -16,14 +16,13 @@ SRC_URI="https://github.com/bitcoinxt/bitcoinxt/archive/v${My_PV}.tar.gz -> ${P}
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE="+doc +ssl +logrotate +upnp +wallet"
+IUSE="+doc +logrotate +ssl +upnp +wallet"
 
 OPENSSL_DEPEND="dev-libs/openssl:0[-bindist]"
 WALLET_DEPEND="media-gfx/qrencode sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]"
 
 RDEPEND="
        app-shells/bash:0
-       sys-apps/sed
        dev-libs/boost[threads(+)]
        dev-libs/glib:2
        dev-libs/crypto++
@@ -98,8 +97,8 @@ src_install() {
        if [ -f "${ROOT}${my_data}/bitcoin.conf" ]; then
                elog "${EROOT}${my_data}/bitcoin.conf already installed - not overwriting it"
        else
+               doins "${FILESDIR}/bitcoin.conf"
                elog "default ${EROOT}${my_data}/bitcoin.conf installed - you will need to edit it"
-               newins "${FILESDIR}/bitcoin.conf" bitcoin.conf
                fowners bitcoinxt:bitcoinxt "${my_data}/bitcoin.conf"
                fperms 400 "${my_data}/bitcoin.conf"
        fi