1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/lang/picoc/Makefile
2011-06-20 17:26:54 +00:00

35 lines
622 B
Makefile

# New ports collection makefile for: picoc
# Date created: 2010-09-03
# Whom: Bapt <bapt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= picoc
PORTVERSION= 2.1
CATEGORIES= lang devel
MASTER_SITES= GOOGLE_CODE
MAINTAINER= bapt@FreeBSD.org
COMMENT= Very small C interpreter for scripting
LICENSE= BSD
USE_BZIP2= yes
USE_GMAKE= yes
PLIST_FILES= bin/picoc
WRKSRC= ${WRKDIR}/${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e "/-include/d" \
-e "s/^CFLAGS=.*/CFLAGS=${CFLAGS} -DUNIX_HOST/" \
-e "s/gcc/${CC}/" \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/picoc ${PREFIX}/bin/picoc
.include <bsd.port.mk>