From c94da980a2c17e12ccb84d7a992d79a0eb0cbbde Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Sat, 8 Feb 2003 13:23:15 +0000 Subject: [PATCH] add MathPlanner 3.1.2 A mathematical design and publishing application --- editors/Makefile | 1 + editors/MathPlanner/Makefile | 25 +++++++ editors/MathPlanner/distinfo | 1 + .../MathPlanner/files/patch-ConfigReader.cpp | 11 +++ .../MathPlanner/files/patch-Rational_math.cpp | 11 +++ editors/MathPlanner/files/patch-Real_math.cpp | 13 ++++ editors/MathPlanner/pkg-comment | 1 + editors/MathPlanner/pkg-descr | 6 ++ editors/MathPlanner/pkg-plist | 67 +++++++++++++++++++ 9 files changed, 136 insertions(+) create mode 100644 editors/MathPlanner/Makefile create mode 100644 editors/MathPlanner/distinfo create mode 100644 editors/MathPlanner/files/patch-ConfigReader.cpp create mode 100644 editors/MathPlanner/files/patch-Rational_math.cpp create mode 100644 editors/MathPlanner/files/patch-Real_math.cpp create mode 100644 editors/MathPlanner/pkg-comment create mode 100644 editors/MathPlanner/pkg-descr create mode 100644 editors/MathPlanner/pkg-plist diff --git a/editors/Makefile b/editors/Makefile index 1da0f6239fda..76463c7d76f1 100644 --- a/editors/Makefile +++ b/editors/Makefile @@ -2,6 +2,7 @@ # SUBDIR += AbiWord + SUBDIR += MathPlanner SUBDIR += aee SUBDIR += apel SUBDIR += apel-emacs19 diff --git a/editors/MathPlanner/Makefile b/editors/MathPlanner/Makefile new file mode 100644 index 000000000000..9f4718e90ff8 --- /dev/null +++ b/editors/MathPlanner/Makefile @@ -0,0 +1,25 @@ +# ex:ts=8 +# Ports collection makefile for: MathPlanner +# Date created: Feb 8, 2003 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= MathPlanner +PORTVERSION= 3.1.2 +CATEGORIES= editors +MASTER_SITES= http://koti.mbnet.fi/jarmonik/ + +MAINTAINER= ports@FreeBSD.org + +USE_REINPLACE= yes +USE_QT_VER= 3 +GNU_CONFIGURE= yes +CONFIGURE_ENV= QTDIR="${X11BASE}" + +post-patch: + @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \ + -e "s|malloc\.h|stdlib.h|" + +.include diff --git a/editors/MathPlanner/distinfo b/editors/MathPlanner/distinfo new file mode 100644 index 000000000000..ac8a8fb50039 --- /dev/null +++ b/editors/MathPlanner/distinfo @@ -0,0 +1 @@ +MD5 (MathPlanner-3.1.2.tar.gz) = 63cbad25c7df3ef437f2afd8907aabcf diff --git a/editors/MathPlanner/files/patch-ConfigReader.cpp b/editors/MathPlanner/files/patch-ConfigReader.cpp new file mode 100644 index 000000000000..b630b3e770bb --- /dev/null +++ b/editors/MathPlanner/files/patch-ConfigReader.cpp @@ -0,0 +1,11 @@ +--- src/ConfigReader.cpp.orig Sat Feb 8 20:50:08 2003 ++++ src/ConfigReader.cpp Sat Feb 8 20:50:32 2003 +@@ -151,7 +151,7 @@ + + for(i=0;i