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