diff options
author | pav <pav@FreeBSD.org> | 2004-06-17 05:27:26 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-06-17 05:27:26 +0800 |
commit | 2343df1b627afec4a165c63a9c5b53b5733c118c (patch) | |
tree | 0cd21389befe1d53574aa9ed354dc44e3a240162 | |
parent | bf50caf9484e6479969151c6bc905c9c9ac7368a (diff) | |
download | freebsd-ports-gnome-2343df1b627afec4a165c63a9c5b53b5733c118c.tar.gz freebsd-ports-gnome-2343df1b627afec4a165c63a9c5b53b5733c118c.tar.zst freebsd-ports-gnome-2343df1b627afec4a165c63a9c5b53b5733c118c.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>
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/mbasecalc/Makefile | 27 | ||||
-rw-r--r-- | math/mbasecalc/distinfo | 2 | ||||
-rw-r--r-- | math/mbasecalc/files/patch-Makefile | 11 | ||||
-rw-r--r-- | math/mbasecalc/pkg-descr | 8 |
5 files changed, 49 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index abad32568b73..fd2b9cddc83c 100644 --- a/math/Makefile +++ b/math/Makefile @@ -94,6 +94,7 @@ SUBDIR += lp_solve SUBDIR += matrix SUBDIR += maxima + SUBDIR += mbasecalc SUBDIR += metis SUBDIR += metis-edf SUBDIR += mpexpr 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 |