From 6e79dbfcf200e3efcb1eda090cf857abec003698 Mon Sep 17 00:00:00 2001 From: angelos Date: Wed, 14 Jul 1999 19:32:51 +0000 Subject: [PATCH] MagicPoint 1.05a, presentation tool (from FreeBSD) --- misc/magicpoint/Makefile | 61 ++++++++++++++++++++++++++++++++ misc/magicpoint/files/md5 | 1 + misc/magicpoint/patches/patch-aa | 14 ++++++++ misc/magicpoint/pkg/COMMENT | 1 + misc/magicpoint/pkg/DESCR | 14 ++++++++ misc/magicpoint/pkg/PLIST | 59 ++++++++++++++++++++++++++++++ 6 files changed, 150 insertions(+) create mode 100644 misc/magicpoint/Makefile create mode 100644 misc/magicpoint/files/md5 create mode 100644 misc/magicpoint/patches/patch-aa create mode 100644 misc/magicpoint/pkg/COMMENT create mode 100644 misc/magicpoint/pkg/DESCR create mode 100644 misc/magicpoint/pkg/PLIST diff --git a/misc/magicpoint/Makefile b/misc/magicpoint/Makefile new file mode 100644 index 00000000000..03da64b355e --- /dev/null +++ b/misc/magicpoint/Makefile @@ -0,0 +1,61 @@ +# OpenBSD makefile for: magicpoint +# Version required: 1.05a +# Date created: July 13 1999 +# Whom: Angelos D. Keromytis +# +# $Id: Makefile,v 1.1.1.1 1999/07/14 19:32:51 angelos Exp $ +# $OpenBSD: Makefile,v 1.1.1.1 1999/07/14 19:32:51 angelos Exp $ +# + +DISTNAME= magicpoint-1.05a +# question is for localized (i.e. Japanese) version +PKGNAME?= magicpoint-1.05a +CATEGORIES= misc +MASTER_SITES= ftp://ftp.mew.org/pub/MagicPoint/ + +MAINTAINER= angelos@openbsd.org + +# plus sign is for localized (i.e. Japanese) version +LIB_DEPENDS+= ttf.1:${PORTSDIR}/print/freetype + +USE_IMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-vflib + +post-configure: + (cd ${WRKSRC}/contrib/xmindpath; ./configure --prefix=${PREFIX}) + +post-build: + (cd ${WRKSRC}/contrib/xmindpath; make) + +MAN1= mgp.1 mgp2ps.1 mgpembed.1 mgpnet.1 xwintoppm.1 xmindpath.1 + +DOCS= COPYRIGHT COPYRIGHT.jp README README.fonts README.fonts.jp \ + SYNTAX TODO.jp USAGE USAGE.jp +SAMPLES= README README.jp ascii.mgp cloud.gif dad.eps dad.gif dns.mgp \ + default.mgp gradation.mgp mgp-old1.gif mgp-old2.gif \ + mgp-old3.gif mgp1.gif mgp2.gif mgp3.gif sample.mgp \ + tutorial.mgp v6.mgp v6header.eps v6header.gif +SAMPLES= README README.jp cloud.gif dad.eps dad.gif default.mgp \ + dns-jp.mgp embed-jp.mgp embed.mgp gradation-jp.mgp \ + gradation.mgp mgp-old1.gif mgp-old2.gif mgp-old3.gif \ + mgp1.gif mgp2.gif mgp3.gif mgp3.xbm mgprc-sample \ + multilingual.mgp sample-fr.mgp sample-jp.mgp sample.mgp \ + sendmail6-jp.mgp sendmail6.mgp tutorial-jp.mgp tutorial.mgp \ + v6-jp.mgp v6.mgp v6header.eps v6header.gif + +# NOTE: there are some discussions/twists in gzip'ing xmindpath.1. +post-install: + (cd ${WRKSRC}/contrib/xmindpath; make install) +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/mgp + for i in $(DOCS); do \ + ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/mgp; \ + done + ${MKDIR} ${PREFIX}/share/doc/mgp/sample + for i in $(SAMPLES); do \ + ${INSTALL_DATA} ${WRKSRC}/sample/$$i ${PREFIX}/share/doc/mgp/sample; \ + done +.endif + +.include diff --git a/misc/magicpoint/files/md5 b/misc/magicpoint/files/md5 new file mode 100644 index 00000000000..00eac938585 --- /dev/null +++ b/misc/magicpoint/files/md5 @@ -0,0 +1 @@ +MD5 (magicpoint-1.05a.tar.gz) = 325e61a87e2154d6811cf1d796f137fa diff --git a/misc/magicpoint/patches/patch-aa b/misc/magicpoint/patches/patch-aa new file mode 100644 index 00000000000..2a8eb5e7176 --- /dev/null +++ b/misc/magicpoint/patches/patch-aa @@ -0,0 +1,14 @@ +*** config.guess.orig Wed Jul 14 15:29:09 1999 +--- config.guess Wed Jul 14 15:29:26 1999 +*************** +*** 309,314 **** +--- 309,317 ---- + *:FreeBSD:*:*) + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit 0 ;; ++ *:OpenBSD:*:*) ++ echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ++ exit 0 ;; + *:NetBSD:*:*) + echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + exit 0 ;; diff --git a/misc/magicpoint/pkg/COMMENT b/misc/magicpoint/pkg/COMMENT new file mode 100644 index 00000000000..3fbaed53313 --- /dev/null +++ b/misc/magicpoint/pkg/COMMENT @@ -0,0 +1 @@ +An X11-based presentation tool diff --git a/misc/magicpoint/pkg/DESCR b/misc/magicpoint/pkg/DESCR new file mode 100644 index 00000000000..df832fbb5d3 --- /dev/null +++ b/misc/magicpoint/pkg/DESCR @@ -0,0 +1,14 @@ + MagicPoint - an X11 based presentation tool + +MagicPoint 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). + +For more information, see /usr/X11R6/share/doc/mgp/*. +Sample files are located in /usr/X11R6/share/doc/mgp/sample. +It's a good idea to preview a sample file before installation. + % ./mgp tutorial.mgp + +WWW: http://www.mew.org/mgp/ diff --git a/misc/magicpoint/pkg/PLIST b/misc/magicpoint/pkg/PLIST new file mode 100644 index 00000000000..2e8bf2c89fd --- /dev/null +++ b/misc/magicpoint/pkg/PLIST @@ -0,0 +1,59 @@ +bin/mgp +bin/mgp2ps +bin/mgpembed +bin/mgpnet +bin/xmindpath +bin/xwintoppm +lib/X11/mgp/default.mgp +lib/X11/mgp/mgp1.gif +lib/X11/mgp/mgp2.gif +lib/X11/mgp/mgp3.gif +share/doc/mgp/COPYRIGHT +share/doc/mgp/COPYRIGHT.jp +share/doc/mgp/README +share/doc/mgp/README.fonts +share/doc/mgp/README.fonts.jp +share/doc/mgp/SYNTAX +share/doc/mgp/TODO.jp +share/doc/mgp/USAGE +share/doc/mgp/USAGE.jp +share/doc/mgp/sample/README +share/doc/mgp/sample/README.jp +share/doc/mgp/sample/cloud.gif +share/doc/mgp/sample/dad.eps +share/doc/mgp/sample/dad.gif +share/doc/mgp/sample/default.mgp +share/doc/mgp/sample/dns-jp.mgp +share/doc/mgp/sample/embed-jp.mgp +share/doc/mgp/sample/embed.mgp +share/doc/mgp/sample/gradation-jp.mgp +share/doc/mgp/sample/gradation.mgp +share/doc/mgp/sample/mgp-old1.gif +share/doc/mgp/sample/mgp-old2.gif +share/doc/mgp/sample/mgp-old3.gif +share/doc/mgp/sample/mgp1.gif +share/doc/mgp/sample/mgp2.gif +share/doc/mgp/sample/mgp3.gif +share/doc/mgp/sample/mgp3.xbm +share/doc/mgp/sample/mgprc-sample +share/doc/mgp/sample/multilingual.mgp +share/doc/mgp/sample/sample-fr.mgp +share/doc/mgp/sample/sample-jp.mgp +share/doc/mgp/sample/sample.mgp +share/doc/mgp/sample/sendmail6-jp.mgp +share/doc/mgp/sample/sendmail6.mgp +share/doc/mgp/sample/tutorial-jp.mgp +share/doc/mgp/sample/tutorial.mgp +share/doc/mgp/sample/v6-jp.mgp +share/doc/mgp/sample/v6.mgp +share/doc/mgp/sample/v6header.eps +share/doc/mgp/sample/v6header.gif +man/man1/mgp.1 +man/man1/mgp2ps.1 +man/man1/mgpembed.1 +man/man1/mgpnet.1 +man/man1/xwintoppm.1 +man/man1/xmindpath.1 +@dirrm lib/X11/mgp +@dirrm share/doc/mgp/sample +@dirrm share/doc/mgp