1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

add qc-- 20031201

The Quick C-- Compiler

PR:		59893
This commit is contained in:
Ying-Chieh Liao 2003-12-05 00:56:32 +00:00
parent 5441ad45cc
commit 752518241b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=95090
11 changed files with 155 additions and 0 deletions

View File

@ -178,6 +178,7 @@
SUBDIR += python20
SUBDIR += python21
SUBDIR += python22
SUBDIR += qc--
SUBDIR += qscheme
SUBDIR += quack
SUBDIR += ratfor

37
lang/qc--/Makefile Normal file
View File

@ -0,0 +1,37 @@
# ex:ts=8
# Ports collection makefile for: qc--
# Date created: Nov 10, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= qc--
PORTVERSION= 20031201
CATEGORIES= lang
MASTER_SITES= http://www.cminusminus.org/rsync/dist/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= The Quick C-- Compiler
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
notangle:${PORTSDIR}/devel/noweb \
latex:${PORTSDIR}/print/teTeX \
mk:${PORTSDIR}/devel/mk \
gsed:${PORTSDIR}/textproc/gsed
LIB_DEPENDS= lua.5:${PORTSDIR}/lang/lua
USE_PERL5_BUILD= yes
HAS_CONFIGURE= yes
MAN1= camlburg.1 camlburgfix.1 nofake.1 ocamlerror.1 \
qc--.1 qc--internals.1 qc--interp.1
do-build:
@(cd ${WRKSRC} && mk timestamps && mk all.opt)
do-install:
@(cd ${WRKSRC} && mk install.opt)
.include <bsd.port.mk>

1
lang/qc--/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (qc--20031201.tar.gz) = 4aba28a276ffbc220fb7ea8f15ca100f

View File

@ -0,0 +1,21 @@
--- camlburg/mkfile.orig Tue Dec 2 14:16:57 2003
+++ camlburg/mkfile Tue Dec 2 14:17:33 2003
@@ -63,13 +63,13 @@
cp ocamlburgfix.1 $MANDIR/man1
install:V: all
- install -D ocamlburg $install_bin/ocamlburg
- install -D ocamlburgfix $install_bin/camlburgfix
- install -m 644 -D ocamlburg.1 $install_man1/camlburg.1
- install -m 644 -D ocamlburgfix.1 $install_man1/camlburgfix.1
+ install ocamlburg $install_bin/ocamlburg
+ install ocamlburgfix $install_bin/camlburgfix
+ install -m 644 ocamlburg.1 $install_man1/camlburg.1
+ install -m 644 ocamlburgfix.1 $install_man1/camlburgfix.1
install.opt:V: install all.opt
- install -D -s ocamlburg.opt $install_bin/ocamlburg.opt
+ install -s ocamlburg.opt $install_bin/ocamlburg.opt
dvi:V: $DVI
html:V: $HTML

View File

@ -0,0 +1,15 @@
--- doc/mkfile.orig Tue Dec 2 14:14:04 2003
+++ doc/mkfile Tue Dec 2 14:14:45 2003
@@ -31,9 +31,9 @@
update.opt:V: update
install:V: man
- install -m 644 -D qc--.1 $install_man1/qc--.1
- install -m 644 -D qc--internals.1 $install_man1/qc--internals.1
- install -m 644 -D qc--interp.1 $install_man1/qc--interp.1
+ install -m 644 qc--.1 $install_man1/qc--.1
+ install -m 644 qc--internals.1 $install_man1/qc--internals.1
+ install -m 644 qc--interp.1 $install_man1/qc--interp.1
install.opt:V: install

View File

@ -0,0 +1,13 @@
--- interp/features.nw.orig Fri Sep 6 04:01:44 2002
+++ interp/features.nw Mon Nov 10 16:46:33 2003
@@ -119,8 +119,8 @@
#ifndef _FLOAT_FEATURES_H
#define _FLOAT_FEATURES_H
-#include <fenv.h>
-#pragma STDC FENV_ACCESS ON
+/* #include <fenv.h> */
+/* #pragma STDC FENV_ACCESS ON */
#endif /* _FLOAT_FEATURES_H */
@

View File

@ -0,0 +1,11 @@
--- interp/mkfile.orig Mon Nov 10 13:39:30 2003
+++ interp/mkfile Mon Nov 10 13:39:39 2003
@@ -359,7 +359,7 @@
$NOTANGLE -R$target $prereq > $target
inspect.clua:D: inspect.lua
- sed -e 's/\\/\\\\/g' \
+ gsed -e 's/\\/\\\\/g' \
-e 's/"/\\"/g' \
-e 'i \' \
-e '\"\\' \

View File

@ -0,0 +1,15 @@
--- src/mkfile.orig Tue Dec 2 14:27:06 2003
+++ src/mkfile Tue Dec 2 14:27:22 2003
@@ -61,10 +61,10 @@
update.opt:V: $BINDIR/$NAME.opt
install:V: all
- install -D $NAME $install_bin/$NAME
+ install $NAME $install_bin/$NAME
install.opt:V: install all.opt
- install -D -s $NAME.opt $install_bin/$NAME.opt
+ install -s $NAME.opt $install_bin/$NAME.opt
depend:V: $DEPEND

View File

@ -0,0 +1,21 @@
--- tools/mkfile.orig Tue Dec 2 14:15:05 2003
+++ tools/mkfile Tue Dec 2 14:15:52 2003
@@ -47,13 +47,13 @@
cp newer $BINDIR
install:V: all
- install -D ocamlerror $install_bin/ocamlerror
- install -m 644 -D ocamlerror.1 $install_man1/ocamlerror.1
- install -D nofake $install_bin/nofake
- install -m 644 -D nofake.1 $install_man1/nofake.1
+ install ocamlerror $install_bin/ocamlerror
+ install -m 644 ocamlerror.1 $install_man1/ocamlerror.1
+ install nofake $install_bin/nofake
+ install -m 644 nofake.1 $install_man1/nofake.1
install.opt:V: install all
- install -D -s ocamlerror.opt $install_bin/ocamlerror.opt
+ install -s ocamlerror.opt $install_bin/ocamlerror.opt
dvi:V: $INC
html:V: $HTML

12
lang/qc--/pkg-descr Normal file
View File

@ -0,0 +1,12 @@
C-- is intended as a "portable assembly language" that can replace C as a
target language used by compiler writers. The goal of the Quick C-- project is
to test those ideas in an implementation. Quick C-- is intended to be a simple,
nonoptimizing compiler that supports the run-time interface. Our primary goal
is to to validate our design experimentally. A secondary, but still significant
goal is to provide a vehicle for experimenting with new techniques for building
retargetable compilers. We want the compiler to be
1. Easy to retarget to the platform of choice
2. Easy to specialize, say for a new calling convention
3. Fast
WWW: http://www.cminusminus.org/qc--.html

8
lang/qc--/pkg-plist Normal file
View File

@ -0,0 +1,8 @@
bin/camlburgfix
bin/nofake
bin/ocamlburg
bin/ocamlburg.opt
bin/ocamlerror
bin/ocamlerror.opt
bin/qc--
bin/qc--.opt