# Created by: Matthew Hunt <mph@FreeBSD.org>
# $FreeBSD: tags/RELEASE_10_1_0/lang/intercal/Makefile 340722 2014-01-22 17:00:46Z mat $

PORTNAME=	intercal
PORTVERSION=	0.29
PORTREVISION=	1
CATEGORIES=	lang
MASTER_SITES=	http://www.catb.org/~esr/intercal/

MAINTAINER=	johans@FreeBSD.org
COMMENT=	The C-INTERCAL compiler, ick, and supporting libraries

GNU_CONFIGURE=	yes
USES=		gmake
CFLAGS+=	-D_POSIX_SOURCE
DATADIR=	${PREFIX}/share/ick

INFO=		ick

post-patch:
	@${REINPLACE_CMD} -e '/ICK_SPECIFIC_SUBDIR/s/-@PACKAGE_VERSION@// ' \
		${WRKSRC}/buildaux/Makefile.in

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 900000
USE_GCC=	yes
.endif

.include <bsd.port.post.mk>
