1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

New port: optimizing BF to C compiler

BrainF*ck is a minimalistic, yet Turing-complete programming
	language with only 8 instructions.  bf2c compiles a BF file
	into a corresponding C file, optimizing as much as possible
	for speed, size and readability.

	It is written for fun, self-educating purposes and to beat
	existing BF compilers.

PR:		ports/57241
Submitted by:	Rene Ladan <r.c.ladan@student.tue.nl>
This commit is contained in:
Edwin Groothuis 2003-09-27 07:16:27 +00:00
parent 4210c3d847
commit 161411524e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=89524
5 changed files with 46 additions and 0 deletions

View File

@ -9,6 +9,7 @@
SUBDIR += aleph
SUBDIR += atlast
SUBDIR += awka
SUBDIR += bf2c
SUBDIR += bigloo
SUBDIR += bwbasic
SUBDIR += caml-light

29
lang/bf2c/Makefile Normal file
View File

@ -0,0 +1,29 @@
# New ports collection makefile for: bf2c
# Date created: 4 Sep 2003
# Whom: r.c.ladan@student.tue.nl
#
# $FreeBSD$
#
PORTNAME= bf2c
PORTVERSION= 1.2.2
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=bf2c
MAINTAINER= r.c.ladan@student.tue.nl
COMMENT= Optimizing BrainF*ck to C compiler
USE_GMAKE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bf2c ${PREFIX}/bin
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>

1
lang/bf2c/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (bf2c-1.2.2.tar.gz) = c0685f890ff7456d79171af20afdb0c4

11
lang/bf2c/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
BrainF*ck is a minimalistic, yet Turing-complete programming language with
only 8 instructions. bf2c compiles a BF file into a corresponding C file,
optimizing as much as possible for speed, size and readability.
It is written for fun, self-educating purposes and to beat existing
BF compilers.
WWW: http://bf2c.sourceforge.net/
- Rene
r.c.ladan@student.tue.nl

4
lang/bf2c/pkg-plist Normal file
View File

@ -0,0 +1,4 @@
bin/bf2c
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%