diff options
-rw-r--r-- | app-editors/mp/ChangeLog | 8 | ||||
-rw-r--r-- | app-editors/mp/Manifest | 2 | ||||
-rw-r--r-- | app-editors/mp/files/digest-mp-3.3.14-r1 | 1 | ||||
-rw-r--r-- | app-editors/mp/mp-3.3.14-r1.ebuild | 61 |
4 files changed, 71 insertions, 1 deletions
diff --git a/app-editors/mp/ChangeLog b/app-editors/mp/ChangeLog index abe756f31a04..752d0a8ae59d 100644 --- a/app-editors/mp/ChangeLog +++ b/app-editors/mp/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-editors/mp # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/mp/ChangeLog,v 1.47 2005/11/19 19:48:07 compnerd Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/mp/ChangeLog,v 1.48 2005/11/19 19:58:04 compnerd Exp $ + +*mp-3.3.14-r1 (19 Nov 2005) + + 19 Nov 2005; Saleem Abdulrasool <compnerd@gentoo.org> + +mp-3.3.14-r1.ebuild: + Revbumping 3.3.14 for removal of gtk2 useflag *mp-3.3.12-r1 (19 Nov 2005) diff --git a/app-editors/mp/Manifest b/app-editors/mp/Manifest index 9e271c494a53..a2349f148b98 100644 --- a/app-editors/mp/Manifest +++ b/app-editors/mp/Manifest @@ -2,10 +2,12 @@ MD5 0c0623a0d884f6c7350db463edea09e4 ChangeLog 5621 MD5 0bc70f6cef8183401387b78185cb0682 files/digest-mp-3.3.12 61 MD5 0bc70f6cef8183401387b78185cb0682 files/digest-mp-3.3.12-r1 61 MD5 a3eed5e928a918715c8e92adea33279a files/digest-mp-3.3.14 61 +MD5 a3eed5e928a918715c8e92adea33279a files/digest-mp-3.3.14-r1 61 MD5 82dd8f227fdd5b56584b2adf5242a53b files/gentoo-synh-mp.patch-3.2.11 2027 MD5 f58c1b9239be39f8724f3a172f67c465 files/mp-3.3.9-fix-builtin-regex-warnings.diff 1353 MD5 9ba478d874ba2172b5e7a75d56748d41 files/regex-warnings.patch 2120 MD5 1652522405f5936eb29776ef8d5ffa5b metadata.xml 310 MD5 62003cdd33546404251ec486b56a1a26 mp-3.3.12-r1.ebuild 1298 MD5 b7e83987d6e55c189819f98dad5c11f8 mp-3.3.12.ebuild 1386 +MD5 521bcfb9193be8e21dc5f20c0356b978 mp-3.3.14-r1.ebuild 1509 MD5 0019625b631e2ae00d973de13726302b mp-3.3.14.ebuild 1622 diff --git a/app-editors/mp/files/digest-mp-3.3.14-r1 b/app-editors/mp/files/digest-mp-3.3.14-r1 new file mode 100644 index 000000000000..f81eac8fb5c4 --- /dev/null +++ b/app-editors/mp/files/digest-mp-3.3.14-r1 @@ -0,0 +1 @@ +MD5 becf40187c279343bf3619cac247cdb2 mp-3.3.14.tar.gz 271339 diff --git a/app-editors/mp/mp-3.3.14-r1.ebuild b/app-editors/mp/mp-3.3.14-r1.ebuild new file mode 100644 index 000000000000..00ee1a439365 --- /dev/null +++ b/app-editors/mp/mp-3.3.14-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/mp/mp-3.3.14-r1.ebuild,v 1.1 2005/11/19 19:58:04 compnerd 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 ~ppc-macos ~ppc64 ~sparc ~x86" +IUSE="gtk ncurses nls pcre" + +DEPEND="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 )" +RDEPEND="${DEPEND} + dev-lang/perl" + +src_compile() { + local myconf="--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 +} |