ports/57241: New port: optimizing BF to C compiler
Rene Ladan
r.c.ladan at student.tue.nl
Fri Sep 26 11:50:26 UTC 2003
>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 at 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 at 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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list