aboutsummaryrefslogtreecommitdiff
path: root/math/mbasecalc
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-06-16 21:27:26 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-06-16 21:27:26 +0000
commit55b9bdd478750cc44dfd3dec7e9746dab541378f (patch)
treeaa367d51fc70aee6e96a34a009a3a7ec9ca32e2d /math/mbasecalc
parent1764d3a8ba4e6e08b0d9eae7b93329878d263697 (diff)
downloadports-55b9bdd478750cc44dfd3dec7e9746dab541378f.tar.gz
ports-55b9bdd478750cc44dfd3dec7e9746dab541378f.zip
Add mbasecalc, a Programmer's Calculator.
basecalc came with Xlib Programming Manual from O'Reilly as an example of X lib programming. mbasecalc is an immitation of basecalc which is available on different platforms. PR: ports/67993 Submitted by: Pierre-Paul Lavoie <ppl@nbnet.nb.ca>
Notes
Notes: svn path=/head/; revision=111633
Diffstat (limited to 'math/mbasecalc')
-rw-r--r--math/mbasecalc/Makefile27
-rw-r--r--math/mbasecalc/distinfo2
-rw-r--r--math/mbasecalc/files/patch-Makefile11
-rw-r--r--math/mbasecalc/pkg-descr8
4 files changed, 48 insertions, 0 deletions
diff --git a/math/mbasecalc/Makefile b/math/mbasecalc/Makefile
new file mode 100644
index 000000000000..6cde18c70d9e
--- /dev/null
+++ b/math/mbasecalc/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: mbasecalc
+# Date created: 15 June 2004
+# Whom: Pierre-Paul Lavoie <ppl@nbnet.nb.ca>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mbasecalc
+PORTVERSION= 1.1
+CATEGORIES= math
+MASTER_SITES= http://www.muquit.com/muquit/software/mbasecalc/
+DISTNAME= ${PORTNAME}
+
+MAINTAINER= ppl@nbnet.nb.ca
+COMMENT= Simple calculator program inspired by basecalc
+
+LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
+
+USE_X_PREFIX= yes
+MAKE_ENV= INCLUDES=-I${X11BASE}/include
+
+PLIST_FILES= bin/mbasecalc
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/mbasecalc ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/math/mbasecalc/distinfo b/math/mbasecalc/distinfo
new file mode 100644
index 000000000000..904b97088020
--- /dev/null
+++ b/math/mbasecalc/distinfo
@@ -0,0 +1,2 @@
+MD5 (mbasecalc.tar.gz) = 0e200dd19df39792ffa00d2318687dc7
+SIZE (mbasecalc.tar.gz) = 9980
diff --git a/math/mbasecalc/files/patch-Makefile b/math/mbasecalc/files/patch-Makefile
new file mode 100644
index 000000000000..77468d9370f4
--- /dev/null
+++ b/math/mbasecalc/files/patch-Makefile
@@ -0,0 +1,11 @@
+diff -ru mbasecalc/Makefile mbasecalc.new/Makefile
+--- Makefile Mon Jun 4 21:40:53 2001
++++ Makefile Tue Jun 15 19:49:55 2004
+@@ -7,7 +7,7 @@
+ CXX=g++
+ DEFS=
+ PROGNAME= mbasecalc
+-INCLUDES= -I.
++INCLUDES+= -I.
+ LIBS= -L/usr/X11R6/lib -lfltk -lX11
+
diff --git a/math/mbasecalc/pkg-descr b/math/mbasecalc/pkg-descr
new file mode 100644
index 000000000000..55410b740b15
--- /dev/null
+++ b/math/mbasecalc/pkg-descr
@@ -0,0 +1,8 @@
+basecalc came with Xlib Programming Manual from O'Reilly as an
+example of X lib programming. mbasecalc is an immitation of basecalc
+which is available on different platforms.
+
+WWW: http://www.muquit.com/muquit/software/mbasecalc/mbasecalc.html
+
+- Pierre-Paul Lavoie
+ppl@nbnet.nb.ca