# Ports collection makefile for:	ah-tty
# Date created:				Tue Jun 25, 2002
# Whom:			Michael L. Hostbaek <mich@freebsdcluster.org>
#
# $FreeBSD: ports/sysutils/ah-tty/Makefile,v 1.4 2003/02/21 13:28:34 knu Exp $
#

PORTNAME=	ah-tty
PORTVERSION=	0.3.12
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	mich@freebsdcluster.org
COMMENT=	Ah-tty is an automatic helper for command prompts and shells

GNU_CONFIGURE=	yes
USE_REINPLACE=	yes

MAN1=		ah-tty.1

post-patch:
	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \
		${WRKSRC}/dillib/vty/vtlabel.c
	@${REINPLACE_CMD} -e 's|##x|x|' \
		${WRKSRC}/include/platform.h

.include <bsd.port.mk>
