diff options
author | Joseph Koshy <jkoshy@FreeBSD.org> | 2006-05-16 01:42:47 +0000 |
---|---|---|
committer | Joseph Koshy <jkoshy@FreeBSD.org> | 2006-05-16 01:42:47 +0000 |
commit | 2dae626b2edb5d9f3cbc8a533c7f433643fec36e (patch) | |
tree | 0f472517d7b1d1905cb84708e4aff3d7e563dd31 /lang | |
parent | 3cc6b36726ff435c89d8dae9551ab70834ba5b55 (diff) | |
download | ports-2dae626b2edb5d9f3cbc8a533c7f433643fec36e.tar.gz ports-2dae626b2edb5d9f3cbc8a533c7f433643fec36e.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/tcc/Makefile | 25 | ||||
-rw-r--r-- | lang/tcc/distinfo | 3 | ||||
-rw-r--r-- | lang/tcc/files/patch-Makefile | 11 | ||||
-rw-r--r-- | lang/tcc/pkg-descr | 20 | ||||
-rw-r--r-- | lang/tcc/pkg-plist | 14 |
6 files changed, 74 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile index f3e07d2505e7..3a1de2fcecd5 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -283,6 +283,7 @@ SUBDIR += swi-pl SUBDIR += sxm SUBDIR += t3x + SUBDIR += tcc SUBDIR += tcl-manual SUBDIR += tcl80 SUBDIR += tcl81-thread diff --git a/lang/tcc/Makefile b/lang/tcc/Makefile new file mode 100644 index 000000000000..d1e2e957df86 --- /dev/null +++ b/lang/tcc/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: tcc +# Date created: 16 May 2006 +# Whom: Joseph Koshy <jkoshy@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= tcc +PORTVERSION= 0.9.23 +CATEGORIES= lang +MASTER_SITES= http://fabrice.bellard.free.fr/tcc/ \ + ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= jkoshy + +MAINTAINER= jkoshy@FreeBSD.org +COMMENT= A small and fast C compiler + +USE_GMAKE= yes +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --prefix=${PREFIX} +MAN1= tcc.1 + +ONLY_FOR_ARCHS= i386 + +.include <bsd.port.mk> diff --git a/lang/tcc/distinfo b/lang/tcc/distinfo new file mode 100644 index 000000000000..eea158908959 --- /dev/null +++ b/lang/tcc/distinfo @@ -0,0 +1,3 @@ +MD5 (tcc-0.9.23.tar.gz) = ba925bf241b0980a581bbc6ad3d5b9a1 +SHA256 (tcc-0.9.23.tar.gz) = 074632c574116004c63b32798048c73c184d123d8cf96cce849765296b255991 +SIZE (tcc-0.9.23.tar.gz) = 423807 diff --git a/lang/tcc/files/patch-Makefile b/lang/tcc/files/patch-Makefile new file mode 100644 index 000000000000..3ff9ff28867a --- /dev/null +++ b/lang/tcc/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig Tue May 16 06:33:17 2006 ++++ Makefile Tue May 16 06:33:28 2006 +@@ -5,7 +5,7 @@ + + CFLAGS=-O2 -g -Wall + ifndef CONFIG_WIN32 +-LIBS=-ldl ++#LIBS=-ldl + BCHECK_O=bcheck.o + endif + CFLAGS_P=$(CFLAGS) -pg -static -DCONFIG_TCC_STATIC diff --git a/lang/tcc/pkg-descr b/lang/tcc/pkg-descr new file mode 100644 index 000000000000..134443e67448 --- /dev/null +++ b/lang/tcc/pkg-descr @@ -0,0 +1,20 @@ +Tcc is a small and fast C compiler with the following features: + * Small: You can compile and execute C code everywhere, for + example on rescue disks (about 100KB for x86 TCC executable, + including C preprocessor, C compiler, assembler and linker). + * Fast: tcc generates optimized x86 code. No byte code overhead. + Compile, assemble and link several times faster than GCC. + * Unlimited: Any C dynamic library can be used directly. TCC is + heading torward full ISOC99 compliance. TCC can of course compile + itself. + * Safe: tcc includes an optional memory and bound checker. Bound + checked code can be mixed freely with standard code. + * Compile and execute C source directly. No linking or assembly + necessary. Full C preprocessor and GNU-like assembler included. + * C script supported : just add '#!/usr/local/bin/tcc -run' at + the first line of your C source, and execute it directly from the + command line. + * With libtcc, you can use TCC as a backend for dynamic code + generation. + +WWW: http://www.tinycc.org/ diff --git a/lang/tcc/pkg-plist b/lang/tcc/pkg-plist new file mode 100644 index 000000000000..fbe495f2a0c9 --- /dev/null +++ b/lang/tcc/pkg-plist @@ -0,0 +1,14 @@ +bin/tcc +include/libtcc.h +lib/tcc/include/stdarg.h +lib/tcc/include/stddef.h +lib/tcc/include/stdbool.h +lib/tcc/include/float.h +lib/tcc/include/varargs.h +lib/tcc/include/tcclib.h +lib/tcc/libtcc1.a +lib/tcc/bcheck.o +lib/libtcc.a +%%DOCSDIR%%/tcc-doc.html +@dirrm lib/tcc/include +@dirrm lib/tcc |