# Created by: erich@rrnet.com
# $FreeBSD: branches/RELEASE_8_4_0/shells/rc/Makefile 309037 2012-12-16 18:28:08Z bapt $

PORTNAME=	rc
PORTVERSION=	1.7.1
CATEGORIES=	shells plan9
MASTER_SITES=	ftp://rc.quanstro.net/pub/ \
		ftp://quenix2.dyndns.org/FreeBSD/ports/distfiles/

MAINTAINER=	quanstro@quanstro.net
COMMENT=	A unix incarnation of the plan9 shell

USE_BZIP2=	YES
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-history
MAN1=		history.1 rc.1


OPTIONS_DEFINE=	READLINE

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MREADLINE}
USE_READLINE=	yes
CONFIGURE_ARGS+=	--with-readline
.else
MAKE_ARGS+=	CFLAGS="$(CFLAGS) -static"
.endif

.include <bsd.port.mk>
