mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
161411524e
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>
30 lines
628 B
Makefile
30 lines
628 B
Makefile
# 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>
|