summaryrefslogtreecommitdiff
path: root/devel/hp48cc
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-29 12:34:54 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-29 12:34:54 +0000
commitd71b137e0bd213367b45103473f949bcafe61850 (patch)
tree5edc7b4fc41b2785541cdda66b0830c8391183e8 /devel/hp48cc
parentupdate to 20010701. (diff)
add hp48cc
C-like compiler that translates input code to the HP48 RPN language PR: 29642 Submitted by: Patrick Li <pat@databits.net>
Notes
Notes: svn path=/head/; revision=47090
Diffstat (limited to 'devel/hp48cc')
-rw-r--r--devel/hp48cc/Makefile27
-rw-r--r--devel/hp48cc/distinfo1
-rw-r--r--devel/hp48cc/pkg-comment1
-rw-r--r--devel/hp48cc/pkg-descr10
-rw-r--r--devel/hp48cc/pkg-plist16
5 files changed, 55 insertions, 0 deletions
diff --git a/devel/hp48cc/Makefile b/devel/hp48cc/Makefile
new file mode 100644
index 000000000000..19b50a339667
--- /dev/null
+++ b/devel/hp48cc/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: hp48cc
+# Date created: Sun Aug 12 04:33:37 EDT 2001
+# Whom: Patrick Li <pat@databits.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= hp48cc
+PORTVERSION= 1.3
+CATEGORIES= devel lang
+MASTER_SITES= http://www.sigala.it/sandro/files/
+
+MAINTAINER= pat@databits.net
+
+USE_BISON= yes
+GNU_CONFIGURE= yes
+
+MAN1= ${PORTNAME}.1
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/examples/* \
+ ${PREFIX}/share/examples/${PORTNAME}
+.endif #NOPORTDOCS
+
+.include <bsd.port.mk>
diff --git a/devel/hp48cc/distinfo b/devel/hp48cc/distinfo
new file mode 100644
index 000000000000..2139a9ede557
--- /dev/null
+++ b/devel/hp48cc/distinfo
@@ -0,0 +1 @@
+MD5 (hp48cc-1.3.tar.gz) = 23f41a6168d3c17ea50537fe6ec2124a
diff --git a/devel/hp48cc/pkg-comment b/devel/hp48cc/pkg-comment
new file mode 100644
index 000000000000..1dc264fa8d64
--- /dev/null
+++ b/devel/hp48cc/pkg-comment
@@ -0,0 +1 @@
+C-like compiler that translates input code to the HP48 RPN language
diff --git a/devel/hp48cc/pkg-descr b/devel/hp48cc/pkg-descr
new file mode 100644
index 000000000000..2232c0c905a6
--- /dev/null
+++ b/devel/hp48cc/pkg-descr
@@ -0,0 +1,10 @@
+hp48cc is a C-like compiler that translates the input code
+into the HP48 RPN language. The language recognized by the
+compiler is only a small subset of the C language, with
+some non-standard extensions, but powerful enough to write
+complex programs simply.
+
+WWW: http://www.sigala.it/sandro/software.html#hp48cc
+Author: Sandro Sigala <sandro@sigala.it>
+
+- Patrick Li <pat@databits.net>
diff --git a/devel/hp48cc/pkg-plist b/devel/hp48cc/pkg-plist
new file mode 100644
index 000000000000..7eb27e46da41
--- /dev/null
+++ b/devel/hp48cc/pkg-plist
@@ -0,0 +1,16 @@
+bin/hp48cc
+%%PORTDOCS%%share/examples/hp48cc/README
+%%PORTDOCS%%share/examples/hp48cc/accuracy.hpc
+%%PORTDOCS%%share/examples/hp48cc/astro.hpc
+%%PORTDOCS%%share/examples/hp48cc/fact.hpc
+%%PORTDOCS%%share/examples/hp48cc/gcd.hpc
+%%PORTDOCS%%share/examples/hp48cc/hello.hpc
+%%PORTDOCS%%share/examples/hp48cc/inform.hpc
+%%PORTDOCS%%share/examples/hp48cc/pi1.hpc
+%%PORTDOCS%%share/examples/hp48cc/pi2.hpc
+%%PORTDOCS%%share/examples/hp48cc/sort.hpc
+%%PORTDOCS%%share/examples/hp48cc/tutorial.hpc
+%%PORTDOCS%%share/examples/hp48cc/xcos.hpc
+%%PORTDOCS%%share/examples/hp48cc/xexp.hpc
+%%PORTDOCS%%share/examples/hp48cc/xsin.hpc
+%%PORTDOCS%%@dirrm share/examples/hp48cc