aboutsummaryrefslogtreecommitdiffstats
path: root/lang/fbbi/Makefile
blob: 2761f59f1c110a87913737c0ad26a853f4b4e737 (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
# New ports collection makefile for:    fbbi
# Date created:        22 December 2001
# Whom:                Leland Wang <llwang@infor.org>
#
# $FreeBSD$
#

PORTNAME=   fbbi
PORTVERSION=    2003.0326
PORTREVISION=   1
CATEGORIES= lang
MASTER_SITES=   http://www3.telus.net/public/cpressey/distfiles/
EXTRACT_SUFX=   .tgz

MAINTAINER= llwang@infor.org
COMMENT=    An interpreter for the Befunge-98 language

PLIST_FILES=    bin/fbbi
USE_GMAKE=  yes

WRKSRC=     ${WRKDIR}/${DISTNAME}/src

post-patch: .SILENT
    ${REINPLACE_CMD} -e '/^CC/s/=/?=/' \
        -e '/^CFLAGS/{s/=/+=/;s/-g//;s/-O//;}' \
        ${WRKSRC}/Makefile

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/../bin/fbbi ${PREFIX}/bin

.include <bsd.port.mk>