From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0F777139694 for ; Mon, 12 Jun 2017 07:47:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71D11E0C3D; Mon, 12 Jun 2017 07:47:07 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 519E2E0C3D for ; Mon, 12 Jun 2017 07:47:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 949353419E7 for ; Mon, 12 Jun 2017 07:47:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7845E4C92 for ; Mon, 12 Jun 2017 07:47:03 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1497253615.4a4588e4108d0493879cabc47d08ef748a9baa7e.kensington@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bcpp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/bcpp/bcpp-20150811-r1.ebuild X-VCS-Directories: dev-util/bcpp/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 4a4588e4108d0493879cabc47d08ef748a9baa7e X-VCS-Branch: master Date: Mon, 12 Jun 2017 07:47:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0a9fca04-8b8c-4d3a-a81e-fb67257bdc26 X-Archives-Hash: 13c2217b955a9e171b31e1f5c3eaed23 commit: 4a4588e4108d0493879cabc47d08ef748a9baa7e Author: Michael Palimaka gentoo org> AuthorDate: Mon Jun 12 07:45:51 2017 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Mon Jun 12 07:46:55 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a4588e4 dev-util/bcpp: port to EAPI 6 and fix LICENSE Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-util/bcpp/bcpp-20150811-r1.ebuild | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/dev-util/bcpp/bcpp-20150811-r1.ebuild b/dev-util/bcpp/bcpp-20150811-r1.ebuild new file mode 100644 index 00000000000..bf4cc3ad2ba --- /dev/null +++ b/dev-util/bcpp/bcpp-20150811-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +DESCRIPTION="Indents C/C++ source code" +HOMEPAGE="http://invisible-island.net/bcpp/" +SRC_URI="ftp://invisible-island.net/bcpp/${P}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +src_compile() { + emake CPPFLAGS='-DBCPP_CONFIG_DIR=\"/etc/bcpp/\"' +} + +src_install() { + default + dodoc CHANGES MANIFEST README VERSION txtdocs/hirachy.txt \ + txtdocs/manual.txt + + insinto /etc/bcpp + doins bcpp.cfg indent.cfg +} + +pkg_postinst() { + elog "Check the documentation for more information on how to" + elog "Run bcpp. Please note that in order to get help for" + elog "bcpp, please run bcpp -h and not the command by itself." + elog "" + elog "Configuration files are at /etc/bcpp." + elog "To use them, use the -c option followed by the filename." +}