diff options
Diffstat (limited to 'dev-util/bcpp')
| -rw-r--r-- | dev-util/bcpp/Manifest | 1 | ||||
| -rw-r--r-- | dev-util/bcpp/bcpp-20150811-r1.ebuild | 6 | ||||
| -rw-r--r-- | dev-util/bcpp/bcpp-20210108.ebuild | 34 |
3 files changed, 38 insertions, 3 deletions
diff --git a/dev-util/bcpp/Manifest b/dev-util/bcpp/Manifest index 20396938c7bc..c31b8dc2d74e 100644 --- a/dev-util/bcpp/Manifest +++ b/dev-util/bcpp/Manifest @@ -1 +1,2 @@ DIST bcpp-20150811.tgz 145969 BLAKE2B c7cdb21b6c07599c93c6f3fdf6ca4f5e825d4ae5f955e1c969d744a9ff2594bf3c7dcded1582dff695201f6e7e8ed57d5796883b63c5c57476c6601da6a49717 SHA512 a11462574bd87cf66dc50ce23f188d335480aae5448b527694791d4b7ae5cde27c0e0c0850dc8899b2b66198c37a434985c833f95f7f2d2d88a3b7dfe4ff34a9 +DIST bcpp-20210108.tgz 150080 BLAKE2B 5614b1e9957d63532ed6ba6d4588ae8b899201c363984bc99726bf48ae49ee9d16a71c407e3988fdeb715fef5e67343bc56c94eb1c8e977a14a6c2b08ee6668a SHA512 46a8fff766bbca4833c898d550ce4f0ac5e6ea64a2e05e63e4680186345a080aa30e54a4a5a3d22d47df8e8c8cbc4e738578fd59ec647d305c32a228d3b01e73 diff --git a/dev-util/bcpp/bcpp-20150811-r1.ebuild b/dev-util/bcpp/bcpp-20150811-r1.ebuild index 983e05a2945e..bf4a9d304e7a 100644 --- a/dev-util/bcpp/bcpp-20150811-r1.ebuild +++ b/dev-util/bcpp/bcpp-20150811-r1.ebuild @@ -1,15 +1,15 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" DESCRIPTION="Indents C/C++ source code" HOMEPAGE="https://invisible-island.net/bcpp/" -SRC_URI="ftp://invisible-island.net/bcpp/${P}.tgz" +SRC_URI="ftp://ftp.invisible-island.net/bcpp/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="" src_compile() { diff --git a/dev-util/bcpp/bcpp-20210108.ebuild b/dev-util/bcpp/bcpp-20210108.ebuild new file mode 100644 index 000000000000..2ef7dd6cee6c --- /dev/null +++ b/dev-util/bcpp/bcpp-20210108.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Indents C/C++ source code" +HOMEPAGE="https://invisible-island.net/bcpp/" +SRC_URI="ftp://ftp.invisible-island.net/bcpp/${P}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +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 ${EPREFIX}/etc/bcpp." + elog "To use them, use the -c option followed by the filename." +} |
