diff options
Diffstat (limited to 'lang')
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/bf2c/Makefile | 29 | ||||
-rw-r--r-- | lang/bf2c/distinfo | 1 | ||||
-rw-r--r-- | lang/bf2c/pkg-descr | 11 | ||||
-rw-r--r-- | lang/bf2c/pkg-plist | 4 |
5 files changed, 46 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile index bd0549ec031d..537f6a64a691 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -9,6 +9,7 @@ SUBDIR += aleph SUBDIR += atlast SUBDIR += awka + SUBDIR += bf2c SUBDIR += bigloo SUBDIR += bwbasic SUBDIR += caml-light 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> diff --git a/lang/bf2c/distinfo b/lang/bf2c/distinfo new file mode 100644 index 000000000000..4c9bd42a6338 --- /dev/null +++ b/lang/bf2c/distinfo @@ -0,0 +1 @@ +MD5 (bf2c-1.2.2.tar.gz) = c0685f890ff7456d79171af20afdb0c4 diff --git a/lang/bf2c/pkg-descr b/lang/bf2c/pkg-descr new file mode 100644 index 000000000000..43e8452712fc --- /dev/null +++ b/lang/bf2c/pkg-descr @@ -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 diff --git a/lang/bf2c/pkg-plist b/lang/bf2c/pkg-plist new file mode 100644 index 000000000000..257b82faaf64 --- /dev/null +++ b/lang/bf2c/pkg-plist @@ -0,0 +1,4 @@ +bin/bf2c +%%PORTDOCS%%%%DOCSDIR%%/LICENSE +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% |