summaryrefslogtreecommitdiff
path: root/dev-util/bcpp
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/bcpp')
-rw-r--r--dev-util/bcpp/Manifest3
-rw-r--r--dev-util/bcpp/bcpp-20240917.ebuild40
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-util/bcpp/Manifest b/dev-util/bcpp/Manifest
index 95adca05da48..95932c3d5c30 100644
--- a/dev-util/bcpp/Manifest
+++ b/dev-util/bcpp/Manifest
@@ -2,6 +2,9 @@ DIST bcpp-20230130.tgz 155972 BLAKE2B f51ae04ef75125d2040f9ef2ab9fb5513ad83fc609
DIST bcpp-20230130.tgz.asc 729 BLAKE2B ffd6266919c8598067b09ac9f855c3b1d93dbd4d6536dbd68a12ccbc5f8cc62e10315e44376fc72d40881e43dfa51676a1af46400aed66bf4c2ac1d4a17b499c SHA512 b52cfa95115726ec7b9575ef8a813fc5d1eb8dc7083b19508d5058b80d41203e70d3cd61a18eea4f35755f77e92ce15c2a1f24db0befb3b62dab3b71065a3955
DIST bcpp-20240111.tgz 156659 BLAKE2B 9bcb986bd434e8c574a25d5e6a4dab08f5aec342bd60e46110902e7f5d924fff4295fc23ee5fc9190ef10c36fa89b19d9f2baff79150899f7618c06df543ae88 SHA512 e5211f484de3de4b6172d01fa9af50e2ed060cfb81d366575581480c1903dccb13b1e247809e17ae9a3cebc49d52b180b928a6abcad5f5b67b2af745b035e249
DIST bcpp-20240111.tgz.asc 729 BLAKE2B c9933393c10b77bbeefcef315b6ae8d3df75fc3ee1d1880a661775ca11cd2965864191beae23a51b78be2db995d75f3e9cd0ac44b465905a19a21c7eb8463722 SHA512 50e28e55e533ce9641b2b6c95ae937a546f32ebc41a4c77a336cfb1c3528ba0c9e193fd0320cb145c31e31c941661c9c4dfae5eb1c5aa964af11f891907493a6
+DIST bcpp-20240917.tgz 158130 BLAKE2B f07998d42fd65c4b8f57b2d0873caca26bf8d63909ee3c5830a6e20d32235915f3090aac4b5f09e7f4694de9650bcad04c4aed3dc1b49e2e6db0d252ea7a09b0 SHA512 f18c36da9d6f94c887df6b9fc47fa704d6f3ea02c613056111deafe629e63196ce1c4e316ea67c14bb1561d35ef7e895fae5d10905a1241c7c53599f0d0e893b
+DIST bcpp-20240917.tgz.asc 729 BLAKE2B c02339ac449bef2f69509697b87239c944bd9055f51dd31563e1b8589daf4c3dc4aa67cca6525ee792bc022c427dd42d858b038ddbd0b09eb258a2d887b19a20 SHA512 9148f262bda8a55b23f6813b1b40d66eebd02dc2183f9aa4104ef2eae42d90eb42a48b94a06c56ef795630869a1c0833cae51e84380cfb996568fcdc2f5a9e08
EBUILD bcpp-20230130.ebuild 1147 BLAKE2B 360ee828f24246357d4044eab88d6008af981c161699b492edae1e7e44e7b881e34c4a75dc5576151fffd4013d7b3170e74328dec5b9a99975d7b5d61d71ef72 SHA512 fa71cc44db2176a662a39be65fd43f37bf303151aa846ffd3e9fbd5ff952e6f530d411669cb8dc3002a58d26a6fa18c48824822d9b4e2ab2cabd873dc5a7c0cc
EBUILD bcpp-20240111.ebuild 1161 BLAKE2B 285f50a800dab06439dce165fbe9d6208bef7b8b992171195f747b1cf25b341b3f2698124447a27af806e911896dafed0f17089ed4eda8272590f0d7534c43a3 SHA512 a8ee9f52be2d767a608e4d8e5b53ab9121d80195405dcbd24f352649ed4ac4ae02445e8da54a0d37dc5a3228a0f1d2b2f33a6f78c71effb3e21140c9ecefad59
+EBUILD bcpp-20240917.ebuild 1161 BLAKE2B 285f50a800dab06439dce165fbe9d6208bef7b8b992171195f747b1cf25b341b3f2698124447a27af806e911896dafed0f17089ed4eda8272590f0d7534c43a3 SHA512 a8ee9f52be2d767a608e4d8e5b53ab9121d80195405dcbd24f352649ed4ac4ae02445e8da54a0d37dc5a3228a0f1d2b2f33a6f78c71effb3e21140c9ecefad59
MISC metadata.xml 327 BLAKE2B 98cfc008c1157e6c7bf26938ee9cb85afed7b4ca15f625a6bfb4f10a4a7ec9b7ad101c38c6b5bde51ac8ff8f6ebc15ca0cdd2903db65f1d691c13f534f5783e1 SHA512 ebaa5a7e3f02bc91337c50366007ffb65ef5a8a5604c43872d3a45f50a372adca5ac279b84309e3045fd34b81d0a9a138d2f73141955e15f0e827a42fab70673
diff --git a/dev-util/bcpp/bcpp-20240917.ebuild b/dev-util/bcpp/bcpp-20240917.ebuild
new file mode 100644
index 000000000000..4d86a984f6b4
--- /dev/null
+++ b/dev-util/bcpp/bcpp-20240917.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/thomasdickey.asc
+inherit verify-sig
+
+DESCRIPTION="Indents C/C++ source code"
+HOMEPAGE="https://invisible-island.net/bcpp/"
+SRC_URI="https://invisible-island.net/archives/${PN}/${P}.tgz"
+SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/${PN}/${P}.tgz.asc )"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-thomasdickey-20240114 )"
+
+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."
+}