Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2003 09:30:43 +0200 (CEST)
From:      Rene Ladan <r.c.ladan@student.tue.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/57241: New port: optimizing BF to C compiler
Message-ID:  <200309260730.h8Q7Ugnd050015@dyn465-aud.nbw.tue.nl>
Resent-Message-ID: <200309261150.h8QBoLjm069531@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         57241
>Category:       ports
>Synopsis:       New port: optimizing BF to C compiler
>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 Sep 26 04:50:21 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Rene Ladan
>Release:        FreeBSD 5.1-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD dyn465-aud.nbw.tue.nl 5.1-RELEASE-p6 FreeBSD 5.1-RELEASE-p6 #0: Wed Sep 24 15:37:49 CEST 2003 root@atmosphere.local:/usr/obj/usr/src/sys/RENE_2003-09-08 i386
>Description:
	Optimizing BF to C compiler
	
	obsoletes ports/56489
>How-To-Repeat:
>Fix:
# 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:
#
#	bf2c
#	bf2c/Makefile
#	bf2c/pkg-descr
#	bf2c/pkg-plist
#	bf2c/distinfo
#
echo c - bf2c
mkdir -p bf2c > /dev/null 2>&1
echo x - bf2c/Makefile
sed 's/^X//' >bf2c/Makefile << 'END-of-bf2c/Makefile'
X# New ports collection makefile for:    bf2c
X# Date created:        4 Sep 2003
X# Whom:                r.c.ladan@student.tue.nl
X#
X# $FreeBSD$
X#
X
XPORTNAME=	bf2c
XPORTVERSION=    1.2.2
XCATEGORIES=     lang
XMASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=bf2c
X
XMAINTAINER=     r.c.ladan@student.tue.nl
XCOMMENT=        Optimizing BrainF*ck to C compiler
X
XUSE_GMAKE=      yes
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/bf2c ${PREFIX}/bin
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-bf2c/Makefile
echo x - bf2c/pkg-descr
sed 's/^X//' >bf2c/pkg-descr << 'END-of-bf2c/pkg-descr'
XBrainF*ck is a minimalistic, yet Turing-complete programming language with
Xonly 8 instructions.  bf2c compiles a BF file into a corresponding C file,
Xoptimizing as much as possible for speed, size and readability.
X
XIt is written for fun, self-educating purposes and to beat existing
XBF compilers.
X
XWWW: http://bf2c.sourceforge.net/
X
X- Rene
Xr.c.ladan@student.tue.nl
END-of-bf2c/pkg-descr
echo x - bf2c/pkg-plist
sed 's/^X//' >bf2c/pkg-plist << 'END-of-bf2c/pkg-plist'
Xbin/bf2c
X%%PORTDOCS%%%%DOCSDIR%%/LICENSE
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-bf2c/pkg-plist
echo x - ./distinfo
sed 's/^X//' >bf2c/distinfo << 'END-of-bf2c/distinfo'
XMD5 (bf2c-1.2.2.tar.gz) = c0685f890ff7456d79171af20afdb0c4
END-of-bf2c/distinfo
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309260730.h8Q7Ugnd050015>