summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2007-12-23 22:44:54 +0000
committerCarsten Lohrke <carlo@gentoo.org>2007-12-23 22:44:54 +0000
commit4e4013c9add1486ee8873cc1c56622241505e26e (patch)
treefb937a99b669b87b575503678a40bdeede5a13ac /app-editors/mp
parentVersion bump and remove old alpha, #203177 thanks to Marti Raudsepp. (diff)
downloadgentoo-2-4e4013c9add1486ee8873cc1c56622241505e26e.tar.gz
gentoo-2-4e4013c9add1486ee8873cc1c56622241505e26e.tar.bz2
gentoo-2-4e4013c9add1486ee8873cc1c56622241505e26e.zip
Version bump.
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-editors/mp')
-rw-r--r--app-editors/mp/ChangeLog7
-rw-r--r--app-editors/mp/files/digest-mp-3.3.18b3
-rw-r--r--app-editors/mp/mp-3.3.18b.ebuild62
3 files changed, 71 insertions, 1 deletions
diff --git a/app-editors/mp/ChangeLog b/app-editors/mp/ChangeLog
index 64c3ce2874c2..4f91213c9d8d 100644
--- a/app-editors/mp/ChangeLog
+++ b/app-editors/mp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-editors/mp
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/mp/ChangeLog,v 1.59 2007/02/09 22:01:18 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/mp/ChangeLog,v 1.60 2007/12/23 22:44:53 carlo Exp $
+
+*mp-3.3.18b (23 Dec 2007)
+
+ 23 Dec 2007; Carsten Lohrke <carlo@gentoo.org> +mp-3.3.18b.ebuild:
+ Version bump.
09 Feb 2007; Fabian Groffen <grobian@gentoo.org> mp-3.3.17.ebuild:
Dropped ppc-macos keyword, see you in prefix
diff --git a/app-editors/mp/files/digest-mp-3.3.18b b/app-editors/mp/files/digest-mp-3.3.18b
new file mode 100644
index 000000000000..7bd5de5c7383
--- /dev/null
+++ b/app-editors/mp/files/digest-mp-3.3.18b
@@ -0,0 +1,3 @@
+MD5 bfdc05b51bfdbafed892ab678eff8772 mp-3.3.18b.tar.gz 295661
+RMD160 37b52db182035243504cd49acd4ee5dc2668e744 mp-3.3.18b.tar.gz 295661
+SHA256 dabe00cbe8f0cb18a42c46242659265507b73c6862030dd63a22ed26738f9649 mp-3.3.18b.tar.gz 295661
diff --git a/app-editors/mp/mp-3.3.18b.ebuild b/app-editors/mp/mp-3.3.18b.ebuild
new file mode 100644
index 000000000000..87076846fb05
--- /dev/null
+++ b/app-editors/mp/mp-3.3.18b.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/mp/mp-3.3.18b.ebuild,v 1.1 2007/12/23 22:44:53 carlo Exp $
+
+inherit eutils
+
+DESCRIPTION="Minimum Profit: A text editor for programmers"
+HOMEPAGE="http://www.triptico.com/software/mp.html"
+SRC_URI="http://www.triptico.com/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="gtk ncurses nls pcre"
+
+RDEPEND="virtual/libc
+ ncurses? ( sys-libs/ncurses )
+ gtk? ( >=x11-libs/gtk+-2 >=x11-libs/pango-1.8.0 )
+ !gtk? ( sys-libs/ncurses )
+ nls? ( sys-devel/gettext )
+ pcre? ( dev-libs/libpcre )
+ dev-lang/perl"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_compile() {
+ local myconf="--prefix=/usr --without-win32 --without-gtk1"
+
+ if use gtk ; then
+ ! use ncurses && myconf="${myconf} --without-curses"
+ else
+ myconf="${myconf} --without-gtk2"
+ fi
+
+ use nls || myconfig="${myconf} --without-i18n --without-gettext"
+ use pcre || myconf="${myconf} --without-pcre --with-included-regex"
+
+ sh config.sh ${myconf} || die "Configure failed"
+
+ echo ${CFLAGS} >> config.cflags
+ echo ${LDFLAGS} >> config.ldflags
+
+ emake || die "Compile Failed"
+}
+
+src_install() {
+ dobin mp || die "Install Failed"
+
+ use gtk && dosym mp ${DESTTREE}/bin/gmp
+
+ dodoc AUTHORS README Changelog mprc.sample
+ doman mp.1
+}
+
+pkg_postinst() {
+ if use gtk ; then
+ einfo
+ einfo "mp is symlinked to gmp! Use mp -tx to use text mode!"
+ einfo
+ epause 5
+ fi
+}