1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Ucc is a C compiler which implements the ANSI C89

standard with a few extensions. Ucc is released
under BSD license.

Ucc is specificaly designed for personal research
and assist the undergraduate or graduate in compiler
learning. We hope that Ucc will be a seedbed for new
ideas and world-class optimizing techniques.

Ucc's design and development goals is clear code
structure,upstanding extensibility,retargetable and
excellent optimization.

WWW:   http://ucc.sf.net

PR:		ports/126551
Submitted by:	Wen Heping <wenheping at gmail.com>
This commit is contained in:
Martin Wilke 2008-08-25 21:11:18 +00:00
parent 9a384a01d7
commit 28206a6325
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219172
6 changed files with 86 additions and 0 deletions

View File

@ -339,6 +339,7 @@
SUBDIR += treecc
SUBDIR += tuareg-mode.el
SUBDIR += twelf
SUBDIR += ucc
SUBDIR += vala
SUBDIR += visualworks
SUBDIR += wamcc

23
lang/ucc/Makefile Normal file
View File

@ -0,0 +1,23 @@
# New ports collection makefile for: ucc
# Date created: 15 August 2008
# Whom: Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= ucc
PORTVERSION= 1.6.0
CATEGORIES= lang
MASTER_SITES= SF
DISTNAME= ucc160
MAINTAINER= wenheping@gmail.com
COMMENT= C Compiler Which Implements the ANSI C89 Standard
USE_ZIP= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GMAKE= yes
USE_LDCONFIG= yes
.include <bsd.port.mk>

3
lang/ucc/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (ucc160.zip) = 463c2e656383fc10594494268a2735e7
SHA256 (ucc160.zip) = 784a35c0d69355ea15db843d032ed2a1dba38f23fcd6a950199fcdb93789f25e
SIZE (ucc160.zip) = 376942

View File

@ -0,0 +1,36 @@
--- Makefile.orig 2008-05-14 11:13:02.000000000 +0800
+++ Makefile 2008-08-15 13:25:35.000000000 +0800
@@ -1,21 +1,21 @@
-UCCDIR = /usr/local/lib/ucc
-export UCCDIR
+UCCDIR = /usr/local
+#export UCCDIR
all:
- make -C driver
- make -C ucl
+ gmake -C driver
+ gmake -C ucl
clean:
- make -C driver clean
- make -C ucl clean
+ gmake -C driver clean
+ gmake -C ucl clean
install:
- mkdir -p $(UCCDIR)
- cp driver/ucc $(UCCDIR)
- cp ucl/ucl $(UCCDIR)
- cp ucl/assert.o $(UCCDIR)
- cp -r ucl/linux/include $(UCCDIR)
+ mkdir -p $(UCCDIR)/include/ucc
+ cp driver/ucc $(UCCDIR)/bin
+ cp ucl/ucl $(UCCDIR)/bin
+ cp ucl/assert.o $(UCCDIR)/lib
+ cp ucl/linux/include/* $(UCCDIR)/include/ucc/
test:
- make -C ucl test
+ gmake -C ucl test

14
lang/ucc/pkg-descr Normal file
View File

@ -0,0 +1,14 @@
Ucc is a C compiler which implements the ANSI C89
standard with a few extensions. Ucc is released
under BSD license.
Ucc is specificaly designed for personal research
and assist the undergraduate or graduate in compiler
learning. We hope that Ucc will be a seedbed for new
ideas and world-class optimizing techniques.
Ucc's design and development goals is clear code
structure,upstanding extensibility,retargetable and
excellent optimization.
WWW: http://ucc.sf.net

9
lang/ucc/pkg-plist Normal file
View File

@ -0,0 +1,9 @@
bin/ucc
bin/ucl
lib/assert.o
include/ucc/assert.h
include/ucc/float.h
include/ucc/limits.h
include/ucc/math.h
include/ucc/stdarg.h
@dirrm include/ucc