mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
33 lines
670 B
Makefile
33 lines
670 B
Makefile
# New ports collection makefile for: bf2c
|
|
# Date created: 4 Sep 2003
|
|
# Whom: r.c.ladan@student.tue.nl
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bf2c
|
|
PORTVERSION= 1.2.3
|
|
CATEGORIES= lang
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= rene@FreeBSD.org
|
|
COMMENT= Optimizing BrainF*ck to C compiler
|
|
|
|
USE_GMAKE=yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,^CC=.*$$,CC=${CXX} ${CXXFLAGS:C/-Werror//g},' \
|
|
${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bf2c ${PREFIX}/bin
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|