diff options
author | Ulrich Müller <ulm@gentoo.org> | 2017-11-19 16:30:20 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2017-11-19 16:30:48 +0100 |
commit | ae9310e115eb232bd5014d45baf60ea948f3d440 (patch) | |
tree | 1049275dab8fa49809f28a2baf1ce7ada04e3aa6 /app-editors | |
parent | media-gfx/exiv2: Security cleanup (diff) | |
download | gentoo-ae9310e115eb232bd5014d45baf60ea948f3d440.tar.gz gentoo-ae9310e115eb232bd5014d45baf60ea948f3d440.tar.bz2 gentoo-ae9310e115eb232bd5014d45baf60ea948f3d440.zip |
app-editors/mg: Version bump.
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/mg/Manifest | 1 | ||||
-rw-r--r-- | app-editors/mg/mg-20171014.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/app-editors/mg/Manifest b/app-editors/mg/Manifest index 0a26bb3d0eef..52999fd168a2 100644 --- a/app-editors/mg/Manifest +++ b/app-editors/mg/Manifest @@ -1,3 +1,4 @@ DIST mg-20161005.tar.gz 140797 SHA256 b7fcb5136a6783ca24c8463ab0852fc1f26bdb2bb1c24759b2c51ccfc46c5e61 SHA512 3ec2e10d0cd427f9543818690fdd469b64e6eb5d061a221eb7b18566dfb1965ee68cea7c83e4e4ae9b2d6027a0803aacfc815390571ac550bc0b7004b46972ae WHIRLPOOL 4cfb72313b8181acc40b1cd06269f2162198302d2e088a7b04263af4b127071adbe9725aed2ecdf6cd3854a9e9c9df9173a75bf7a83cf2492a644448df9d297d DIST mg-20170401.tar.gz 140895 SHA256 0a3608b17c153960cb1d954ca3b62445a77c0c1a18aa5c8c58aba9f6b8d62aab SHA512 729b2d9ba7eb236cc8bcbcf3ac7604494980cbf2fd21dc5a3856011bc830eee75be29a246b0bf3dfa6c7a03fcf69a902ae50d05ea371ac4d0225a4da6089d7ce WHIRLPOOL ecdd49bcf8a220dc7a8c57de322c354437b646db231177e3640ae0840ea49ddd9bfc8d9ecaff6e4c9c3ca140e173b14bc52411bebfe586cac144f412d07b59ca DIST mg-20170828.tar.gz 141028 SHA256 1f8886ab62e9abfeed7fafbb5ea71685450a34c5d0a243461bd2c5425161368d SHA512 1ea16b1dd5e9e08abf9fcf0889130b4f39d36872bb64df85470a9ced1db87c0eecb18cc6e8c3c5a04f9049d58ef4492d5a88cf3502ec3351abccb7bddfb90c14 WHIRLPOOL ebe1559c385788f53c4e49a22713fec5bdf22837b854310543995bf2988d0c946ba1386f33eb84a44b10e9811dacc176079dc930562060ecaaec9b3232a781f5 +DIST mg-20171014.tar.gz 141045 SHA256 51519698f3f44acd984d7805e4e315ded50c15aba8222521f88756fd67745341 SHA512 d55818308421aa523fb30b6e4725bb122f37637a822fabafeba9f9da3b97fd7f6af6431fce3015c969d0e656a48e89ed49b790deefc69fbdbb7e257f8a1aeb56 WHIRLPOOL c138c2bed663fa07fca6e257feb68c6de124af89ce010785180b64c36eea1a85bf7b1b05310bbb32b8cec3379b22a300f6afac962aac69ae3cdddcedd953e331 diff --git a/app-editors/mg/mg-20171014.ebuild b/app-editors/mg/mg-20171014.ebuild new file mode 100644 index 000000000000..b1e3a3d101fc --- /dev/null +++ b/app-editors/mg/mg-20171014.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="MicroGnuEmacs, a port from the BSDs" +HOMEPAGE="http://homepage.boetes.org/software/mg/" +SRC_URI="http://homepage.boetes.org/software/mg/${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="livecd" + +RDEPEND="sys-libs/ncurses:0 + !elibc_FreeBSD? ( >=dev-libs/libbsd-0.7.0 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + # fix path to tutorial in man page + sed -i -e "s:doc/mg/:doc/${PF}/:" mg.1 || die + + eapply_user +} + +src_compile() { + emake CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + dobin mg + doman mg.1 + dodoc README tutorial + # don't compress the tutorial, otherwise mg cannot open it + docompress -x /usr/share/doc/${PF}/tutorial +} + +pkg_postinst() { + if use livecd; then + [[ -e ${EROOT}/usr/bin/emacs ]] || ln -s mg "${EROOT}"/usr/bin/emacs + fi +} |