aboutsummaryrefslogtreecommitdiffstats
path: root/lang/picoc/Makefile
blob: 089f55bf33fbb8560915022aa95fa0dc1921a64c (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:    picoc
# Date created:     2010-09-03
# Whom:         Bapt <bapt@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   picoc
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES= lang devel
MASTER_SITES=   GOOGLE_CODE

MAINTAINER= bapt@FreeBSD.org
COMMENT=    Very small C interpreter for scripting

LICENSE=    BSD

USE_BZIP2=  yes

PLIST_FILES=    bin/picoc

post-patch:
    @${REINPLACE_CMD} -e "/-include/d" \
        -e "s/^CFLAGS=.*/CFLAGS=${CFLAGS} -DUNIX_HOST/" \
        ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/picoc ${PREFIX}/bin/picoc

.include <bsd.port.mk>