aboutsummaryrefslogtreecommitdiffstats
path: root/lang/bf2c/Makefile
blob: 15378c719d83e47e394cd53b9de24aa0589580ab (plain) (blame)
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
29
30
31
32
33
34
35
# Created by: rene
# $FreeBSD$

PORTNAME=   bf2c
PORTVERSION=    1.3.1
PORTREVISION=   1
CATEGORIES= lang

MAINTAINER= rene@FreeBSD.org
COMMENT=    Optimizing BrainF*ck to C compiler

LICENSE=    BSD2CLAUSE

USES=       tar:xz

PATCH_STRIP=    -p1
USE_GITHUB= yes
GH_ACCOUNT= rene0
GH_COMMIT=  4761081

OPTIONS_DEFINE= DOCS

INSTALL_TARGET= install-strip

PORTDOCS=   README.md

PLIST_FILES=    bin/bf2c bin/gen_bf

post-install:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>