aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ah-tty/Makefile
blob: 2be479e840aafba5bc797c4371bbe2b7e251d33b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: Michael L. Hostbaek <mich@freebsdcluster.org>

PORTNAME=	ah-tty
PORTVERSION=	0.3.12
PORTREVISION=	3
CATEGORIES=	sysutils
MASTER_SITES=	SF

MAINTAINER=	mich@FreeBSD.org
COMMENT=	Automatic helper for command prompts and shells

USES=		ncurses
GNU_CONFIGURE=	yes
USE_CSTD=	gnu89

PLIST_FILES=	bin/ah-tty bin/ah-tty.static \
		share/ah-tty.conf man/man1/ah-tty.1.gz

INFO=		ah-tty

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>