From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EE90113888F for ; Fri, 30 Oct 2015 14:01:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 627FA21C004; Fri, 30 Oct 2015 14:00:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E6F3A21C004 for ; Fri, 30 Oct 2015 14:00:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B8F4F340C0A for ; Fri, 30 Oct 2015 14:00:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E22BB1B06 for ; Fri, 30 Oct 2015 14:00:54 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1446213604.e612fbeb659c7e5eca0e01a6c93db37498d7d2cb.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bcpp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/bcpp/Manifest dev-util/bcpp/bcpp-20150811.ebuild X-VCS-Directories: dev-util/bcpp/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: e612fbeb659c7e5eca0e01a6c93db37498d7d2cb X-VCS-Branch: master Date: Fri, 30 Oct 2015 14:00:54 +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: 20b21478-ee4e-453d-a264-3299c8b22db6 X-Archives-Hash: 0bfe5a7921dcc2114806b7f007757806 commit: e612fbeb659c7e5eca0e01a6c93db37498d7d2cb Author: Sebastian Pipping gentoo org> AuthorDate: Fri Oct 30 13:57:46 2015 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Fri Oct 30 14:00:04 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e612fbeb dev-util/bcpp: 20150811 Package-Manager: portage-2.2.23 dev-util/bcpp/Manifest | 1 + dev-util/bcpp/bcpp-20150811.ebuild | 42 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-util/bcpp/Manifest b/dev-util/bcpp/Manifest index ec0f0ae..2db73d4 100644 --- a/dev-util/bcpp/Manifest +++ b/dev-util/bcpp/Manifest @@ -1,2 +1,3 @@ DIST bcpp-20050725.tgz 132649 SHA256 1a4b5e8e741d6be400eb68b7c4a3eebc6dabe29948a72a7a0bccb1db075eaa2a SHA512 0ada3aee998fa6748e7492bfe2e0d6e5417640eaa19aa3342637ee1d162c907d2af4fd2d1ab24661f36798d2d51fa017d9c113b8499b32bf4d521e130aa75323 WHIRLPOOL fff51c65b60351c9a7c55d060754e3e09383b905820ab79aa2f371a894a82d8a3fa5a00b00a066380909c49487e262f99a832022b5f214d564e43b8939fcbdcb DIST bcpp-20090630.tgz 138757 SHA256 27b46ab3cef53a658605f350e3982862e17b523e703f23617530a57180200a34 SHA512 660d11c0d8a8d3ccc2a4c14ccb60164a43647fface79ffd86b8d99519e227e32a882fc213a5fef64fd3aee1c409c4bb0a871dfd6d6a09a8ad35e253baef6496b WHIRLPOOL 1fa68efd9874933de2097b87aab0dd586cbc29cf7fc3d4ba6d80984ecb289f01d8093e82fbca3f8077300887a8d1b1b970ed5bcabb0a766489bdcb23704f7ac2 +DIST bcpp-20150811.tgz 145969 SHA256 6a18d68a09c4a0e8bf62d23d13ed7c8a62c98664a655f9d648bc466240ce97c3 SHA512 a11462574bd87cf66dc50ce23f188d335480aae5448b527694791d4b7ae5cde27c0e0c0850dc8899b2b66198c37a434985c833f95f7f2d2d88a3b7dfe4ff34a9 WHIRLPOOL 959677314ce1bbd361b3060f7f8f028ad89cce8d7167ecc169f6d49a854ecfadc50177be2dd2ffdac838252f67af72d2a4c341b2666208bc8cef1aadcee867db diff --git a/dev-util/bcpp/bcpp-20150811.ebuild b/dev-util/bcpp/bcpp-20150811.ebuild new file mode 100644 index 0000000..10ebb2c --- /dev/null +++ b/dev-util/bcpp/bcpp-20150811.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils + +DESCRIPTION="Indents C/C++ source code" +HOMEPAGE="http://invisible-island.net/bcpp/" +SRC_URI="ftp://invisible-island.net/bcpp/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_compile() { + emake CPPFLAGS='-DBCPP_CONFIG_DIR=\"/etc/bcpp/\"' +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc CHANGES MANIFEST README VERSION txtdocs/hirachy.txt \ + txtdocs/manual.txt || die "dodoc failed" + + # Install our configuration files. + insinto /etc/bcpp + doins bcpp.cfg indent.cfg || die "doins failed" +} + +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." +}