Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  2 Dec 2003 14:34:25 +0800 (CST)
From:      Ying-Chieh Liao <ijliao@FreeBSD.csie.NCTU.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/59893: new port : qc-- - The Quick C-- Compiler
Message-ID:  <20031202063425.30F0F106C15@FreeBSD.csie.NCTU.edu.tw>
Resent-Message-ID: <200312020640.hB26eE12016139@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         59893
>Category:       ports
>Synopsis:       new port : qc-- - The Quick C-- Compiler
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 01 22:40:14 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Liao
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
NCTU CSIE
>Environment:
System: FreeBSD FreeBSD.csie.NCTU.edu.tw 4.9-STABLE FreeBSD 4.9-STABLE #8: Wed Oct 29 10:04:27 CST 2003 root@FreeBSD.csie.NCTU.edu.tw:/big/usr.obj/big/freebsd/pub/branches/4.0-stable/src/sys/FREEBSD i386


	
>Description:
	
>How-To-Repeat:
	
>Fix:

	


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	qc--/
#	qc--/Makefile
#	qc--/distinfo
#	qc--/pkg-descr
#	qc--/pkg-plist
#	qc--/files
#	qc--/files/patch-interp:mkfile
#	qc--/files/patch-interp:features.nw
#	qc--/files/patch-doc:mkfile
#	qc--/files/patch-tools:mkfile
#	qc--/files/patch-camlburg:mkfile
#	qc--/files/patch-src:mkfile
#
echo c - qc--/
mkdir -p qc--/ > /dev/null 2>&1
echo x - qc--/Makefile
sed 's/^X//' >qc--/Makefile << 'END-of-qc--/Makefile'
X# ex:ts=8
X# Ports collection makefile for:	qc--
X# Date created:			Nov 10, 2003
X# Whom:				ijliao
X#
X# $FreeBSD$
X#
X
XPORTNAME=	qc--
XPORTVERSION=	20031201
XCATEGORIES=	lang
XMASTER_SITES=	http://www.cminusminus.org/rsync/dist/
XDISTNAME=	${PORTNAME}${PORTVERSION}
X
XMAINTAINER=	ports@FreeBSD.org
XCOMMENT=	The Quick C-- Compiler
X
XBUILD_DEPENDS=	ocamlc:${PORTSDIR}/lang/ocaml \
X		notangle:${PORTSDIR}/devel/noweb \
X		latex:${PORTSDIR}/print/teTeX \
X		mk:${PORTSDIR}/devel/mk \
X		gsed:${PORTSDIR}/textproc/gsed
XLIB_DEPENDS=	lua.5:${PORTSDIR}/lang/lua
X
XUSE_PERL5_BUILD=	yes
XHAS_CONFIGURE=	yes
X
XMAN1=	camlburg.1 camlburgfix.1 nofake.1 ocamlerror.1 \
X	qc--.1 qc--internals.1 qc--interp.1
X
Xdo-build:
X	@(cd ${WRKSRC} && mk timestamps && mk all.opt)
X
Xdo-install:
X	@(cd ${WRKSRC} && mk install.opt)
X
X.include <bsd.port.mk>
END-of-qc--/Makefile
echo x - qc--/distinfo
sed 's/^X//' >qc--/distinfo << 'END-of-qc--/distinfo'
XMD5 (qc--20031201.tar.gz) = 4aba28a276ffbc220fb7ea8f15ca100f
END-of-qc--/distinfo
echo x - qc--/pkg-descr
sed 's/^X//' >qc--/pkg-descr << 'END-of-qc--/pkg-descr'
XC-- is intended as a "portable assembly language" that can replace C as a
Xtarget language used by compiler writers. The goal of the Quick C-- project is
Xto test those ideas in an implementation. Quick C-- is intended to be a simple,
Xnonoptimizing compiler that supports the run-time interface. Our primary goal
Xis to to validate our design experimentally. A secondary, but still significant
Xgoal is to provide a vehicle for experimenting with new techniques for building
Xretargetable compilers. We want the compiler to be
X   1. Easy to retarget to the platform of choice
X   2. Easy to specialize, say for a new calling convention
X   3. Fast
X
XWWW: http://www.cminusminus.org/qc--.html
END-of-qc--/pkg-descr
echo x - qc--/pkg-plist
sed 's/^X//' >qc--/pkg-plist << 'END-of-qc--/pkg-plist'
Xbin/camlburgfix
Xbin/nofake
Xbin/ocamlburg
Xbin/ocamlburg.opt
Xbin/ocamlerror
Xbin/ocamlerror.opt
Xbin/qc--
Xbin/qc--.opt
END-of-qc--/pkg-plist
echo c - qc--/files
mkdir -p qc--/files > /dev/null 2>&1
echo x - qc--/files/patch-interp:mkfile
sed 's/^X//' >qc--/files/patch-interp:mkfile << 'END-of-qc--/files/patch-interp:mkfile'
X--- interp/mkfile.orig	Mon Nov 10 13:39:30 2003
X+++ interp/mkfile	Mon Nov 10 13:39:39 2003
X@@ -359,7 +359,7 @@
X 	$NOTANGLE -R$target $prereq > $target
X 
X inspect.clua:D: inspect.lua
X-	sed -e 's/\\/\\\\/g' \
X+	gsed -e 's/\\/\\\\/g' \
X 	  -e 's/"/\\"/g'   \
X 	  -e 'i \'         \
X 	  -e '\"\\'        \
END-of-qc--/files/patch-interp:mkfile
echo x - qc--/files/patch-interp:features.nw
sed 's/^X//' >qc--/files/patch-interp:features.nw << 'END-of-qc--/files/patch-interp:features.nw'
X--- interp/features.nw.orig	Fri Sep  6 04:01:44 2002
X+++ interp/features.nw	Mon Nov 10 16:46:33 2003
X@@ -119,8 +119,8 @@
X #ifndef _FLOAT_FEATURES_H
X #define _FLOAT_FEATURES_H
X  
X-#include <fenv.h>
X-#pragma STDC FENV_ACCESS ON
X+/* #include <fenv.h> */
X+/* #pragma STDC FENV_ACCESS ON */
X 
X #endif /* _FLOAT_FEATURES_H */
X @
END-of-qc--/files/patch-interp:features.nw
echo x - qc--/files/patch-doc:mkfile
sed 's/^X//' >qc--/files/patch-doc:mkfile << 'END-of-qc--/files/patch-doc:mkfile'
X--- doc/mkfile.orig	Tue Dec  2 14:14:04 2003
X+++ doc/mkfile	Tue Dec  2 14:14:45 2003
X@@ -31,9 +31,9 @@
X update.opt:V:   update
X 
X install:V: man
X-	install -m 644 -D qc--.1          $install_man1/qc--.1
X-	install -m 644 -D qc--internals.1 $install_man1/qc--internals.1
X-	install -m 644 -D qc--interp.1    $install_man1/qc--interp.1
X+	install -m 644 qc--.1          $install_man1/qc--.1
X+	install -m 644 qc--internals.1 $install_man1/qc--internals.1
X+	install -m 644 qc--interp.1    $install_man1/qc--interp.1
X 
X install.opt:V: install
X 
END-of-qc--/files/patch-doc:mkfile
echo x - qc--/files/patch-tools:mkfile
sed 's/^X//' >qc--/files/patch-tools:mkfile << 'END-of-qc--/files/patch-tools:mkfile'
X--- tools/mkfile.orig	Tue Dec  2 14:15:05 2003
X+++ tools/mkfile	Tue Dec  2 14:15:52 2003
X@@ -47,13 +47,13 @@
X 	cp newer          $BINDIR  
X 
X install:V: all
X-	install        -D    ocamlerror     $install_bin/ocamlerror
X-	install -m 644 -D    ocamlerror.1   $install_man1/ocamlerror.1
X-	install        -D    nofake         $install_bin/nofake
X-	install -m 644 -D    nofake.1       $install_man1/nofake.1
X+	install            ocamlerror     $install_bin/ocamlerror
X+	install -m 644     ocamlerror.1   $install_man1/ocamlerror.1
X+	install            nofake         $install_bin/nofake
X+	install -m 644     nofake.1       $install_man1/nofake.1
X 
X install.opt:V: install all
X-	install        -D -s ocamlerror.opt $install_bin/ocamlerror.opt
X+	install         -s ocamlerror.opt $install_bin/ocamlerror.opt
X 
X dvi:V:          $INC
X html:V:         $HTML
END-of-qc--/files/patch-tools:mkfile
echo x - qc--/files/patch-camlburg:mkfile
sed 's/^X//' >qc--/files/patch-camlburg:mkfile << 'END-of-qc--/files/patch-camlburg:mkfile'
X--- camlburg/mkfile.orig	Tue Dec  2 14:16:57 2003
X+++ camlburg/mkfile	Tue Dec  2 14:17:33 2003
X@@ -63,13 +63,13 @@
X 	cp ocamlburgfix.1   $MANDIR/man1
X 
X install:V: all
X-	install        -D    ocamlburg      $install_bin/ocamlburg
X-	install        -D    ocamlburgfix   $install_bin/camlburgfix
X-	install -m 644 -D    ocamlburg.1    $install_man1/camlburg.1
X-	install -m 644 -D    ocamlburgfix.1 $install_man1/camlburgfix.1
X+	install            ocamlburg      $install_bin/ocamlburg
X+	install            ocamlburgfix   $install_bin/camlburgfix
X+	install -m 644     ocamlburg.1    $install_man1/camlburg.1
X+	install -m 644     ocamlburgfix.1 $install_man1/camlburgfix.1
X 
X install.opt:V: install all.opt
X-	install        -D -s ocamlburg.opt  $install_bin/ocamlburg.opt
X+	install         -s ocamlburg.opt  $install_bin/ocamlburg.opt
X 
X dvi:V:          $DVI
X html:V:         $HTML
END-of-qc--/files/patch-camlburg:mkfile
echo x - qc--/files/patch-src:mkfile
sed 's/^X//' >qc--/files/patch-src:mkfile << 'END-of-qc--/files/patch-src:mkfile'
X--- src/mkfile.orig	Tue Dec  2 14:27:06 2003
X+++ src/mkfile	Tue Dec  2 14:27:22 2003
X@@ -61,10 +61,10 @@
X update.opt:V:   $BINDIR/$NAME.opt
X 
X install:V: all
X-	install -D    $NAME     $install_bin/$NAME
X+	install     $NAME     $install_bin/$NAME
X 
X install.opt:V: install all.opt
X-	install -D -s $NAME.opt $install_bin/$NAME.opt
X+	install  -s $NAME.opt $install_bin/$NAME.opt
X 
X depend:V:   $DEPEND
X 
END-of-qc--/files/patch-src:mkfile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031202063425.30F0F106C15>