1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/lang/bf2c/Makefile
Shaun Amott 29e1d827c8 - Fix build with GCC 4.x (by switching off -Werror). [1]
- Respect CXX and CXXFLAGS.

PR:		ports/106749 [1]
Submitted by:	Rene Ladan <r.c.ladan@gmail.com> (maintainer)
2006-12-15 02:12:57 +00:00

34 lines
721 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= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=bf2c
MAINTAINER= r.c.ladan@gmail.com
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>