ports/126551: [NEW PORT]chinese/ucc:C Compiler Which Implements the ANSI C89 Standard
Wen heping
wenheping at gmail.com
Fri Aug 15 12:30:15 UTC 2008
>Number: 126551
>Category: ports
>Synopsis: [NEW PORT]chinese/ucc:C Compiler Which Implements the ANSI C89 Standard
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 15 12:30:14 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Wen heping
>Release: FreeBSD 7.0 release
>Organization:
ChangAn Middle School
>Environment:
FreeBSD tinderbox.wenjing.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
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
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# 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:
#
# ucc
# ucc/files
# ucc/files/patch-Makefile
# ucc/pkg-plist
# ucc/pkg-descr
# ucc/distinfo
# ucc/Makefile
#
echo c - ucc
mkdir -p ucc > /dev/null 2>&1
echo c - ucc/files
mkdir -p ucc/files > /dev/null 2>&1
echo x - ucc/files/patch-Makefile
sed 's/^X//' >ucc/files/patch-Makefile << 'END-of-ucc/files/patch-Makefile'
X--- Makefile.orig 2008-05-14 11:13:02.000000000 +0800
X+++ Makefile 2008-08-15 13:25:35.000000000 +0800
X@@ -1,21 +1,21 @@
X-UCCDIR = /usr/local/lib/ucc
X-export UCCDIR
X+UCCDIR = /usr/local
X+#export UCCDIR
X
X all:
X- make -C driver
X- make -C ucl
X+ gmake -C driver
X+ gmake -C ucl
X
X clean:
X- make -C driver clean
X- make -C ucl clean
X+ gmake -C driver clean
X+ gmake -C ucl clean
X
X install:
X- mkdir -p $(UCCDIR)
X- cp driver/ucc $(UCCDIR)
X- cp ucl/ucl $(UCCDIR)
X- cp ucl/assert.o $(UCCDIR)
X- cp -r ucl/linux/include $(UCCDIR)
X+ mkdir -p $(UCCDIR)/include/ucc
X+ cp driver/ucc $(UCCDIR)/bin
X+ cp ucl/ucl $(UCCDIR)/bin
X+ cp ucl/assert.o $(UCCDIR)/lib
X+ cp ucl/linux/include/* $(UCCDIR)/include/ucc/
X
X test:
X- make -C ucl test
X+ gmake -C ucl test
X
END-of-ucc/files/patch-Makefile
echo x - ucc/pkg-plist
sed 's/^X//' >ucc/pkg-plist << 'END-of-ucc/pkg-plist'
Xbin/ucc
Xbin/ucl
Xlib/assert.o
Xinclude/ucc/assert.h
Xinclude/ucc/float.h
Xinclude/ucc/limits.h
Xinclude/ucc/math.h
Xinclude/ucc/stdarg.h
X at dirrm include/ucc
END-of-ucc/pkg-plist
echo x - ucc/pkg-descr
sed 's/^X//' >ucc/pkg-descr << 'END-of-ucc/pkg-descr'
XUcc is a C compiler which implements the ANSI C89
Xstandard with a few extensions. Ucc is released
Xunder BSD license.
X
XUcc is specificaly designed for personal research
Xand assist the undergraduate or graduate in compiler
Xlearning. We hope that Ucc will be a seedbed for new
Xideas and world-class optimizing techniques.
X
XUcc's design and development goals is clear code
Xstructure,upstanding extensibility,retargetable and
Xexcellent optimization.
X
XWWW: http://ucc.sf.net
END-of-ucc/pkg-descr
echo x - ucc/distinfo
sed 's/^X//' >ucc/distinfo << 'END-of-ucc/distinfo'
XMD5 (ucc160.zip) = 463c2e656383fc10594494268a2735e7
XSHA256 (ucc160.zip) = 784a35c0d69355ea15db843d032ed2a1dba38f23fcd6a950199fcdb93789f25e
XSIZE (ucc160.zip) = 376942
END-of-ucc/distinfo
echo x - ucc/Makefile
sed 's/^X//' >ucc/Makefile << 'END-of-ucc/Makefile'
X# New ports collection makefile for: ucc
X# Date created: 15 August 2008
X# Whom: Wen Heping <wenheping at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= ucc
XPORTVERSION= 1.6.0
XPORTREVISION= 7
XCATEGORIES= chinese lang
XMASTER_SITES= SF
XDISTNAME= ucc160
X
XMAINTAINER= wenheping at gmail.com
XCOMMENT= C Compiler Which Implements the ANSI C89 Standard
X
XUSE_ZIP= yes
XWRKSRC= ${WRKDIR}/${PORTNAME}
X
XUSE_GMAKE= yes
XUSE_LDCONFIG= yes
X
X.include <bsd.port.mk>
END-of-ucc/Makefile
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list