summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-12-15 17:47:45 +0000
committerMamoru Komachi <usata@gentoo.org>2003-12-15 17:47:45 +0000
commit804eb6134fb89f6f8d2dd8b863b03d4f6b98ffbd (patch)
tree787cb760ad72958c2676427ce9b2accff24f21a3 /app-office/magicpoint
parentFixed ChangeLog header (diff)
downloadgentoo-2-804eb6134fb89f6f8d2dd8b863b03d4f6b98ffbd.tar.gz
gentoo-2-804eb6134fb89f6f8d2dd8b863b03d4f6b98ffbd.tar.bz2
gentoo-2-804eb6134fb89f6f8d2dd8b863b03d4f6b98ffbd.zip
Moved from app-misc/magicpoint. Closing bug #35858
Diffstat (limited to 'app-office/magicpoint')
-rw-r--r--app-office/magicpoint/ChangeLog81
-rw-r--r--app-office/magicpoint/files/50mgp-mode-gentoo.el4
-rw-r--r--app-office/magicpoint/files/digest-magicpoint-1.09a-r11
-rw-r--r--app-office/magicpoint/files/digest-magicpoint-1.10a1
-rw-r--r--app-office/magicpoint/files/digest-magicpoint-1.10a-r11
-rw-r--r--app-office/magicpoint/files/magicpoint-1.10a-gentoo.diff46
-rw-r--r--app-office/magicpoint/files/magicpoint-1.10a-r1-gentoo.diff49
-rw-r--r--app-office/magicpoint/magicpoint-1.09a-r1.ebuild72
-rw-r--r--app-office/magicpoint/magicpoint-1.10a-r1.ebuild94
-rw-r--r--app-office/magicpoint/magicpoint-1.10a.ebuild103
-rw-r--r--app-office/magicpoint/metadata.xml12
11 files changed, 464 insertions, 0 deletions
diff --git a/app-office/magicpoint/ChangeLog b/app-office/magicpoint/ChangeLog
new file mode 100644
index 000000000000..3cdf64a2f359
--- /dev/null
+++ b/app-office/magicpoint/ChangeLog
@@ -0,0 +1,81 @@
+# ChangeLog for app-office/magicpoint
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/magicpoint/ChangeLog,v 1.1 2003/12/15 17:47:45 usata Exp $
+
+*magicpoint-1.10a (16 Dec 2003)
+
+ 16 Dec 2003; Mamoru KOMACHI <usata@gentoo.org> magicpoint-1.09a-r1.ebuild,
+ magicpoint-1.10a-r1.ebuild, magicpoint-1.10a.ebuild, metadata.xml,
+ files/50mgp-mode-gentoo.el, files/magicpoint-1.10a-gentoo.diff,
+ files/magicpoint-1.10a-r1-gentoo.diff:
+ Moved from app-misc/magicpoint. Closing bug #35858
+
+ 22 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> magicpoint-1.10a-r1.ebuild,
+ magicpoint-1.10a.ebuild:
+ Changed elisp.eclass to elisp-common.eclass
+
+*magicpoint-1.10a-r1 (02 Sep 2003)
+
+ 11 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> magicpoint-1.10a-r1.ebuild:
+ Marked stable on x86 and alpha.
+
+ 02 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> magicpoint-1.10a-r1.ebuild,
+ files/magicpoint-1.10a-r1-gentoo.diff:
+ Defaults to Xft2 instead of VFlib2 (added a patch to fix Xft2 problem)
+
+*magicpoint-1.10a (06 Aug 2003)
+
+ 02 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> magicpoint-1.09a-r1.ebuild,
+ magicpoint-1.10a.ebuild:
+ Removed redundant SLOT, KEYWORDS and LICENSE variables.
+
+ 25 Aug 2003; Mamoru KOMACHI <usata@gentoo.org> magicpoint-1.10a.ebuild:
+ Fixed emacs dependency problem with inherit elisp. Added ~alpha,
+ ~ppc and ~sparc keywords. Changed ~x86 to x86. Simplified conditionals.
+
+ 06 Aug 2003; Mamoru KOMACHI <usata@gentoo.org> magicpoint-1.10a.ebuild,
+ files/50mgp-mode-gentoo.el, files/magicpoint-1.10a-gentoo.diff:
+ Version bump. Added cjk and emacs USE flags. Upstream now supports
+ Xft2 rendering engine. However, it is not enabled because there is
+ some problem with Xft2. Included default font configuration file.
+ Added support scripts and sample presentation files.
+
+*magicpoint-1.09a-r1 (12 Apr 2002)
+
+ 15 Aug 2003; Mamoru KOMACHI <usata@gentoo.org> magicpoint-1.09a-r1.ebuild:
+ Disabled VFlib support because it fails to build if VFlib is installed
+ and no --with-vfontcap specified
+
+ 16 Jan 2003; Seemant Kulleen <seemant@gentoo.org> magicpoint-1.09a-r1.ebuild :
+
+ Added charset16 support if both nls and truetype are in USE. Closes bug
+ #12801 by nakano@gentoo.org (Masatomo Nakano)
+
+ 23 Aug 2002; Seemant Kulleen <seemant@gentoo.org> magicpoint-1.09a-r1.ebuild :
+
+ For some silly upstream reason, --enable-freetype disables it. So, this
+ is removed. Thanks to: jherfurth@arafox.com (Julien Herfurth) in bug
+ #6856.
+
+ 12 Apr 2002; Seemant Kulleen <seemant@gentoo.org> magicpoint-1.09a-r1.ebuild :
+
+ Removed the ungif USE flag, and added nls and imlib and truetype USE dependent
+ compilation.
+
+*magicpoint-1.09a (21 Mar 2002)
+
+ 21 Mar 2002; Seemant Kulleen <seemant@gentoo.org> magicpoint-1.09a.ebuild :
+
+ Version upgrade -- copied the 1.07a ebuild over, and updated its syntax from
+ try to die and the copyright info. Thanks to Matthew Kennedy for the update
+ info.
+
+*magicpoint-1.07a (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/app-office/magicpoint/files/50mgp-mode-gentoo.el b/app-office/magicpoint/files/50mgp-mode-gentoo.el
new file mode 100644
index 000000000000..638c3c44aa85
--- /dev/null
+++ b/app-office/magicpoint/files/50mgp-mode-gentoo.el
@@ -0,0 +1,4 @@
+;;; mgp-mode site-lisp configuration
+
+(autoload 'mgp-mode "mgp-mode" "MagicPoint editor mode" t)
+(setq auto-mode-alist (cons '("\\.mgp$" . mgp-mode) auto-mode-alist))
diff --git a/app-office/magicpoint/files/digest-magicpoint-1.09a-r1 b/app-office/magicpoint/files/digest-magicpoint-1.09a-r1
new file mode 100644
index 000000000000..4c185e51ef1f
--- /dev/null
+++ b/app-office/magicpoint/files/digest-magicpoint-1.09a-r1
@@ -0,0 +1 @@
+MD5 4fc48bd292a7c8b1aab656bf2f0af47d magicpoint-1.09a.tar.gz 816234
diff --git a/app-office/magicpoint/files/digest-magicpoint-1.10a b/app-office/magicpoint/files/digest-magicpoint-1.10a
new file mode 100644
index 000000000000..1af775f78bc4
--- /dev/null
+++ b/app-office/magicpoint/files/digest-magicpoint-1.10a
@@ -0,0 +1 @@
+MD5 7a5d91b2b3bdabea704ee3cb6505d772 magicpoint-1.10a.tar.gz 843657
diff --git a/app-office/magicpoint/files/digest-magicpoint-1.10a-r1 b/app-office/magicpoint/files/digest-magicpoint-1.10a-r1
new file mode 100644
index 000000000000..1af775f78bc4
--- /dev/null
+++ b/app-office/magicpoint/files/digest-magicpoint-1.10a-r1
@@ -0,0 +1 @@
+MD5 7a5d91b2b3bdabea704ee3cb6505d772 magicpoint-1.10a.tar.gz 843657
diff --git a/app-office/magicpoint/files/magicpoint-1.10a-gentoo.diff b/app-office/magicpoint/files/magicpoint-1.10a-gentoo.diff
new file mode 100644
index 000000000000..6dea916b490b
--- /dev/null
+++ b/app-office/magicpoint/files/magicpoint-1.10a-gentoo.diff
@@ -0,0 +1,46 @@
+diff -urN magicpoint-1.10a.ORIG/mgp.h magicpoint-1.10a/mgp.h
+--- magicpoint-1.10a.ORIG/mgp.h 2003-06-06 16:18:25.000000000 +0900
++++ magicpoint-1.10a/mgp.h 2003-08-06 09:19:53.000000000 +0900
+@@ -84,7 +84,7 @@
+ #define VFONT "minsl"
+
+ #ifndef VFCAP
+-#define VFCAP "/usr/local/lib/VFlib/vfontcap"
++#define VFCAP "/usr/share/VFlib/2.25.6/vfontcap"
+ #endif
+
+ #endif /* end of VFLIB */
+@@ -93,7 +93,7 @@
+ #include "freetype.h"
+
+ #ifndef FREETYPEFONTDIR
+-#define FREETYPEFONTDIR "/usr/local/share/fonts/ttf"
++#define FREETYPEFONTDIR "/usr/X11R6/lib/X11/fonts/truetype"
+ #endif
+ #endif /*FREETYPE*/
+
+@@ -130,7 +130,7 @@
+ #define UUDECODE "/usr/bin/uudecode"
+ #endif
+ #ifndef GUNZIP
+-#define GUNZIP "/usr/contrib/bin/gunzip"
++#define GUNZIP "/bin/gunzip"
+ #endif
+
+ #define MAXPAGE 512
+diff -urN magicpoint-1.10a.ORIG/sample/default.mgp magicpoint-1.10a/sample/default.mgp
+--- magicpoint-1.10a.ORIG/sample/default.mgp 2001-08-11 01:40:54.000000000 +0900
++++ magicpoint-1.10a/sample/default.mgp 2003-08-06 09:22:42.000000000 +0900
+@@ -12,9 +12,9 @@
+ %% into the "tfdir" directory above:
+ %% ftp://ftp.mew.org/pub/mgp/ttf-jp.tar.gz
+ %%
+-%deffont "standard" tfont "standard.ttf", tmfont "kochi-mincho.ttf"
+-%deffont "thick" tfont "thick.ttf", tmfont "goth.ttf"
+-%deffont "typewriter" tfont "typewriter.ttf", tmfont "goth.ttf"
++%deffont "standard" tfont "times.ttf", tmfont "kochi-mincho.ttf"
++%deffont "thick" tfont "ariel.ttf", tmfont "kochi-gothic.ttf"
++%deffont "typewriter" tfont "cour.ttf", tmfont "kochi-gothic.ttf"
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %%
+ %% Default settings per each line numbers.
diff --git a/app-office/magicpoint/files/magicpoint-1.10a-r1-gentoo.diff b/app-office/magicpoint/files/magicpoint-1.10a-r1-gentoo.diff
new file mode 100644
index 000000000000..981726ac11e9
--- /dev/null
+++ b/app-office/magicpoint/files/magicpoint-1.10a-r1-gentoo.diff
@@ -0,0 +1,49 @@
+diff -urN magicpoint-1.10a.ORIG/parse.c magicpoint-1.10a/parse.c
+--- magicpoint-1.10a.ORIG/parse.c 2003-06-14 19:22:56.000000000 +0900
++++ magicpoint-1.10a/parse.c 2003-09-02 05:26:12.000000000 +0900
+@@ -848,7 +848,7 @@
+ tmpint[2]->cti_value = DEFAULT_VGAP;
+ tmpint[3] = ctlalloc1(CTL_QUALITY);
+ tmpint[3]->cti_value = DEFAULT_BQUALITY;
+-#ifdef XFT2
++#ifdef USE_XFT2
+ tmpint[4] = ctlalloc1(CTL_OPAQUE);
+ tmpint[4]->cti_value = DEFAULT_OPAQUE;
+ #endif
+diff -urN magicpoint-1.10a.ORIG/mgp.h magicpoint-1.10a/mgp.h
+--- magicpoint-1.10a.ORIG/mgp.h 2003-06-06 16:18:25.000000000 +0900
++++ magicpoint-1.10a/mgp.h 2003-09-02 04:24:56.000000000 +0900
+@@ -93,7 +93,7 @@
+ #include "freetype.h"
+
+ #ifndef FREETYPEFONTDIR
+-#define FREETYPEFONTDIR "/usr/local/share/fonts/ttf"
++#define FREETYPEFONTDIR "/usr/X11R6/lib/X11/fonts/truetype"
+ #endif
+ #endif /*FREETYPE*/
+
+@@ -130,7 +130,7 @@
+ #define UUDECODE "/usr/bin/uudecode"
+ #endif
+ #ifndef GUNZIP
+-#define GUNZIP "/usr/contrib/bin/gunzip"
++#define GUNZIP "/bin/gunzip"
+ #endif
+
+ #define MAXPAGE 512
+diff -urN magicpoint-1.10a.ORIG/sample/default.mgp magicpoint-1.10a/sample/default.mgp
+--- magicpoint-1.10a.ORIG/sample/default.mgp 2001-08-11 01:40:54.000000000 +0900
++++ magicpoint-1.10a/sample/default.mgp 2003-09-02 04:24:56.000000000 +0900
+@@ -12,9 +12,9 @@
+ %% into the "tfdir" directory above:
+ %% ftp://ftp.mew.org/pub/mgp/ttf-jp.tar.gz
+ %%
+-%deffont "standard" tfont "standard.ttf", tmfont "kochi-mincho.ttf"
+-%deffont "thick" tfont "thick.ttf", tmfont "goth.ttf"
+-%deffont "typewriter" tfont "typewriter.ttf", tmfont "goth.ttf"
++%deffont "standard" xfont "times"
++%deffont "thick" xfont "arial-bold"
++%deffont "typewriter" xfont "courier"
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %%
+ %% Default settings per each line numbers.
diff --git a/app-office/magicpoint/magicpoint-1.09a-r1.ebuild b/app-office/magicpoint/magicpoint-1.09a-r1.ebuild
new file mode 100644
index 000000000000..1a8f18c87ddc
--- /dev/null
+++ b/app-office/magicpoint/magicpoint-1.09a-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/magicpoint/magicpoint-1.09a-r1.ebuild,v 1.1 2003/12/15 17:47:45 usata Exp $
+
+IUSE="truetype gif nls imlib"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="an X11 based presentation tool"
+SRC_URI="ftp://ftp.mew.org/pub/MagicPoint/${P}.tar.gz"
+HOMEPAGE="http://www.mew.org/mgp/"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="x86"
+
+DEPEND="virtual/x11
+ gif? ( >=media-libs/libungif-4.0.1 )
+ imlib? ( media-libs/imlib )
+ truetype? ( >=media-libs/freetype-1.3.1 )"
+
+RDEPEND="${DEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_compile() {
+
+ local myconf
+
+ use gif \
+ && myconf="${myconf} --enable-gif" \
+ || myconf="${myconf} --disable-gif"
+
+ use imlib \
+ && myconf="${myconf} --enable-imlib" \
+ || myconf="${myconf} --disable-imlib"
+
+ use truetype \
+ || myconf="${myconf} --disable-freetype"
+
+ use nls \
+ && myconf="${myconf} --enable-locale" \
+ || myconf="${myconf} --disable-locale"
+
+ use nls && use truetype \
+ && myconf="${myconf} --enable-freetype-charset16"
+
+ export LIBS="-L/usr/lib/ -L/usr/X11R6/lib/ -lX11"
+
+ ./configure \
+ --with-xa \
+ --disable-vflib \
+ ${myconf} || die
+
+ xmkmf || die
+ make Makefiles || die
+ make clean || die
+ make || die
+}
+
+src_install() {
+ make \
+ DESTDIR=${D} \
+ install || die
+
+ make \
+ DESTDIR=${D} \
+ DOCHTMLDIR=/usr/share/doc/${P} \
+ MANPATH=/usr/share/man \
+ MANSUFFIX=1 \
+ install.man || die
+
+ dodoc COPYRIGHT* FAQ README* RELNOTES SYNTAX TODO* USAGE*
+}
diff --git a/app-office/magicpoint/magicpoint-1.10a-r1.ebuild b/app-office/magicpoint/magicpoint-1.10a-r1.ebuild
new file mode 100644
index 000000000000..c676c1b67dc9
--- /dev/null
+++ b/app-office/magicpoint/magicpoint-1.10a-r1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/magicpoint/magicpoint-1.10a-r1.ebuild,v 1.1 2003/12/15 17:47:45 usata Exp $
+
+inherit elisp-common eutils
+
+IUSE="cjk emacs truetype gif nls imlib"
+
+DESCRIPTION="an X11 based presentation tool"
+SRC_URI="ftp://ftp.mew.org/pub/MagicPoint/${P}.tar.gz"
+HOMEPAGE="http://www.mew.org/mgp/"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="x86 alpha ~sparc ~ppc"
+
+DEPEND="virtual/x11
+ gif? ( >=media-libs/libungif-4.0.1 )
+ imlib? ( media-libs/imlib )
+ truetype? ( virtual/xft )
+ emacs? ( virtual/emacs )"
+RDEPEND="${DEPEND}
+ nls? ( sys-devel/gettext )
+ truetype? ( cjk? ( media-fonts/kochi-substitute ) )"
+
+S=${WORKDIR}/${P}
+SITELISP=/usr/share/emacs/site-lisp
+SITEFILE=50mgp-mode-gentoo.el
+
+src_unpack() {
+
+ unpack ${A}
+ epatch ${FILESDIR}/${PF}-gentoo.diff
+}
+
+src_compile() {
+
+ econf \
+ `use_enable gif` \
+ `use_enable imlib` \
+ `use_enable nls locale` \
+ `use_enable truetype xft2` \
+ --disable-vflib \
+ --disable-freetype || die
+
+ xmkmf || die
+ make Makefiles || die
+ make clean || die
+ make BINDIR=/usr/bin LIBDIR=/etc/X11 || die
+}
+
+src_install() {
+
+ make \
+ DESTDIR=${D} \
+ BINDIR=/usr/bin \
+ LIBDIR=/etc/X11 \
+ install || die
+
+ make \
+ DESTDIR=${D} \
+ DOCHTMLDIR=/usr/share/doc/${P} \
+ MANPATH=/usr/share/man \
+ MANSUFFIX=1 \
+ install.man || die
+
+ exeinto /usr/bin
+ doexe contrib/{mgp2html.pl,mgp2latex.pl}
+
+ if [ -n "`use emacs`" ] ; then
+ insinto ${SITELISP}
+ doins contrib/mgp-mode.el ${FILESDIR}/${SITEFILE}
+ fi
+
+ insinto /usr/share/${PF}/sample
+ cd sample
+ doins README* cloud.jpg dad.* embed*.mgp gradation*.mgp \
+ mgp-old*.jpg mgp.mng mgp3.xbm mgprc-sample \
+ multilingual.mgp sample*.mgp sendmail6*.mgp \
+ tutorial*.mgp v6*.mgp v6header.* || die
+ cd -
+
+ dodoc COPYRIGHT* FAQ README* RELNOTES SYNTAX TODO* USAGE*
+}
+
+pkg_postinst() {
+
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+
+ use emacs && elisp-site-regen
+}
diff --git a/app-office/magicpoint/magicpoint-1.10a.ebuild b/app-office/magicpoint/magicpoint-1.10a.ebuild
new file mode 100644
index 000000000000..c733ee129b51
--- /dev/null
+++ b/app-office/magicpoint/magicpoint-1.10a.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/magicpoint/magicpoint-1.10a.ebuild,v 1.1 2003/12/15 17:47:45 usata Exp $
+
+inherit elisp-common eutils
+
+IUSE="cjk emacs truetype gif nls imlib"
+
+DESCRIPTION="an X11 based presentation tool"
+SRC_URI="ftp://ftp.mew.org/pub/MagicPoint/${P}.tar.gz"
+HOMEPAGE="http://www.mew.org/mgp/"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="x86 ~alpha ~sparc ~ppc"
+
+DEPEND="virtual/x11
+ gif? ( >=media-libs/libungif-4.0.1 )
+ imlib? ( media-libs/imlib )
+ cjk? ( truetype? ( >=media-libs/vflib-2.25.6-r1 )
+ : ( =media-libs/freetype-1* ) )
+ truetype? ( =media-libs/freetype-1* )
+ emacs? ( virtual/emacs )"
+RDEPEND="${DEPEND}
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${P}
+SITELISP=/usr/share/emacs/site-lisp
+SITEFILE=50mgp-mode-gentoo.el
+
+src_unpack() {
+
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-gentoo.diff
+}
+
+src_compile() {
+
+ local myconf
+
+ if [ -n "`use cjk`" -a -n "`use truetype`" ] ; then
+ myconf="--enable-vflib
+ --with-vfontcap=/usr/share/VFlib/2.25.6/vfontcap.mgp"
+ else
+ myconf="--disable-vflib
+ `use_enable cjk freetype-charset16`
+ `use_enable truetype freetype`"
+ fi
+
+ econf \
+ `use_enable gif` \
+ `use_enable imlib` \
+ `use_enable nls locale` \
+ --disable-xft2 \
+ ${myconf} || die
+
+ xmkmf || die
+ make Makefiles || die
+ make clean || die
+ make || die
+}
+
+src_install() {
+
+ make \
+ DESTDIR=${D} \
+ install || die
+
+ make \
+ DESTDIR=${D} \
+ DOCHTMLDIR=/usr/share/doc/${P} \
+ MANPATH=/usr/share/man \
+ MANSUFFIX=1 \
+ install.man || die
+
+ exeinto /usr/bin
+ doexe contrib/{mgp2html.pl,mgp2latex.pl}
+
+ if [ -n "`use emacs`" ] ; then
+ insinto ${SITELISP}
+ doins contrib/mgp-mode.el ${FILESDIR}/${SITEFILE}
+ fi
+
+ insinto /usr/share/${PF}/sample
+ cd sample
+ doins README* cloud.jpg dad.* embed*.mgp gradation*.mgp \
+ mgp-old*.jpg mgp.mng mgp3.xbm mgprc-sample \
+ multilingual.mgp sample*.mgp sendmail6*.mgp \
+ tutorial*.mgp v6*.mgp v6header.* || die
+ cd -
+
+ dodoc COPYRIGHT* FAQ README* RELNOTES SYNTAX TODO* USAGE*
+}
+
+pkg_postinst() {
+
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+
+ use emacs && elisp-site-regen
+}
diff --git a/app-office/magicpoint/metadata.xml b/app-office/magicpoint/metadata.xml
new file mode 100644
index 000000000000..792efb24c909
--- /dev/null
+++ b/app-office/magicpoint/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<longdescription>
+Magic Point is an X11 based presentation tool. It is designed to make
+simple presentations easy while to make complicated presentations
+possible. Its presentation file (whose suffix is typically .mgp) is
+just text so that you can create presentation files quickly with your
+favorite editor (e.g. Emacs, vi).
+</longdescription>
+</pkgmetadata>