aboutsummaryrefslogtreecommitdiffstats
path: root/math/rpc
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-03-21 21:25:33 +0800
committerijliao <ijliao@FreeBSD.org>2001-03-21 21:25:33 +0800
commit4f9a9238a748473ed3425062481439c5949aaa5c (patch)
treefd3c981a4dd6426e4b8b17c722eb7418fe0591a2 /math/rpc
parent8d708cbc2159b74a1cc05aaa479a1c549e39214e (diff)
downloadfreebsd-ports-gnome-4f9a9238a748473ed3425062481439c5949aaa5c.tar.gz
freebsd-ports-gnome-4f9a9238a748473ed3425062481439c5949aaa5c.tar.zst
freebsd-ports-gnome-4f9a9238a748473ed3425062481439c5949aaa5c.zip
add rpc
rpc is a full-screen RPN calculator program
Diffstat (limited to 'math/rpc')
-rw-r--r--math/rpc/Makefile19
-rw-r--r--math/rpc/distinfo1
-rw-r--r--math/rpc/files/patch-Makefile22
-rw-r--r--math/rpc/files/patch-src::Makefile11
-rw-r--r--math/rpc/pkg-comment1
-rw-r--r--math/rpc/pkg-descr6
-rw-r--r--math/rpc/pkg-plist1
7 files changed, 61 insertions, 0 deletions
diff --git a/math/rpc/Makefile b/math/rpc/Makefile
new file mode 100644
index 000000000000..9999c0b773f1
--- /dev/null
+++ b/math/rpc/Makefile
@@ -0,0 +1,19 @@
+# ex:ts=8
+# New ports collection makefile for: rpc
+# Date created: Mar 21, 2001
+# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rpc
+PORTVERSION= 0.93
+CATEGORIES= math
+MASTER_SITES= http://www.eecs.umich.edu/~pelzlpj/rpc/
+
+MAINTAINER= ijliao@FreeBSD.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/libccm.so:${PORTSDIR}/math/ccmath
+RUN_DEPENDS= ${LOCALBASE}/lib/libccm.so:${PORTSDIR}/math/ccmath
+
+.include <bsd.port.mk>
diff --git a/math/rpc/distinfo b/math/rpc/distinfo
new file mode 100644
index 000000000000..b8b3ad7399d1
--- /dev/null
+++ b/math/rpc/distinfo
@@ -0,0 +1 @@
+MD5 (rpc-0.93.tar.gz) = b922136a2a258f9bdbc1e20299ad76c2
diff --git a/math/rpc/files/patch-Makefile b/math/rpc/files/patch-Makefile
new file mode 100644
index 000000000000..ffe3fd5752da
--- /dev/null
+++ b/math/rpc/files/patch-Makefile
@@ -0,0 +1,22 @@
+--- Makefile.orig Wed Mar 21 21:02:32 2001
++++ Makefile Wed Mar 21 21:03:58 2001
+@@ -1,5 +1,5 @@
+ CXXFLAGS = -c -O2 -Wall
+-LDFLAGS = -lm -lccm -lcurses
++LDFLAGS = -lm -lccm -lcurses -L${LOCALBASE}/lib
+
+ all: rpc
+
+@@ -7,10 +7,10 @@
+ cd src; $(MAKE)
+
+ install:
+- cp -f src/rpc /usr/bin
++ cp -f src/rpc ${PREFIX}/bin
+
+ uninstall:
+- rm /usr/bin/rpc
++ rm ${PREFIX}/bin/rpc
+
+ clean:
+ rm -f core src/rpc src/*.o src/*.co src/core
diff --git a/math/rpc/files/patch-src::Makefile b/math/rpc/files/patch-src::Makefile
new file mode 100644
index 000000000000..c73bb6ea6bbf
--- /dev/null
+++ b/math/rpc/files/patch-src::Makefile
@@ -0,0 +1,11 @@
+--- src/Makefile.orig Sun Feb 25 15:54:19 2001
++++ src/Makefile Wed Mar 21 21:09:40 2001
+@@ -1,6 +1,6 @@
+ CXXFLAGS = -c -O2 -Wall
+-CFLAGS = -c -O2 -Wall
+-LDFLAGS = -lm -lccm -lcurses
++CFLAGS = -c -O2 -Wall -I${LOCALBASE}/include
++LDFLAGS = -lm -lccm -lcurses -L${LOCALBASE}/lib
+
+ all: rpc
+
diff --git a/math/rpc/pkg-comment b/math/rpc/pkg-comment
new file mode 100644
index 000000000000..e9c232a8fbf0
--- /dev/null
+++ b/math/rpc/pkg-comment
@@ -0,0 +1 @@
+A full-screen RPN calculator program
diff --git a/math/rpc/pkg-descr b/math/rpc/pkg-descr
new file mode 100644
index 000000000000..749c46e42ab3
--- /dev/null
+++ b/math/rpc/pkg-descr
@@ -0,0 +1,6 @@
+In the great tradition of bc and dc, a new console-based calculator
+application is born! rpc is a full-screen RPN calculator program
+based on the curses library. It works like some of the more popular
+reverse-polish-notation calculators available on the market today.
+
+WWW: http://www.eecs.umich.edu/~pelzlpj/rpc/
diff --git a/math/rpc/pkg-plist b/math/rpc/pkg-plist
new file mode 100644
index 000000000000..32632dd69ff9
--- /dev/null
+++ b/math/rpc/pkg-plist
@@ -0,0 +1 @@
+bin/rpc