diff options
author | edwin <edwin@FreeBSD.org> | 2003-09-27 15:16:27 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-09-27 15:16:27 +0800 |
commit | f60eb1b631880e46a05e81177e05c66c53cfcc4d (patch) | |
tree | 22a2686bf32500aea36ec0737896087cf2779088 /lang/bf2c/Makefile | |
parent | 0f151023c8710b61926e84864f17f7bb3c36e10f (diff) | |
download | freebsd-ports-gnome-f60eb1b631880e46a05e81177e05c66c53cfcc4d.tar.gz freebsd-ports-gnome-f60eb1b631880e46a05e81177e05c66c53cfcc4d.tar.zst freebsd-ports-gnome-f60eb1b631880e46a05e81177e05c66c53cfcc4d.zip |
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>
Diffstat (limited to 'lang/bf2c/Makefile')
-rw-r--r-- | lang/bf2c/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/lang/bf2c/Makefile b/lang/bf2c/Makefile new file mode 100644 index 000000000000..ba6bedae3b4e --- /dev/null +++ b/lang/bf2c/Makefile @@ -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> |