summaryrefslogtreecommitdiffstats
path: root/lang/nbfc/Makefile
blob: ea410b6e8f66f4cd63309c1ebd8d57fdc41d43c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Created by: gahr
# $FreeBSD$

PORTNAME=	nbfc
PORTVERSION=	0.1
CATEGORIES=	lang
MASTER_SITES=	http://koeln.ccc.de/ablage/brainfuck/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	New Brainfuck Compiler

LICENSE=	BSD2CLAUSE

PLIST_FILES=	bin/nbfc \
		man/man1/nbfc.1.gz

MAKE_ENV+=	FLEX=${FLEX} \
		YACC=${YACC} \
		STAGEDIR=${STAGEDIR}

MAKE_JOBS_UNSAFE=	yes

post-patch:
	# -O4 kills llvm
	${REINPLACE_CMD} -e 's|/usr/bin/gcc|${CC}|; s|O4|O3|g' \
	    ${WRKSRC}/config.h

.include <bsd.port.mk>
OpenPOWER on IntegriCloud