summaryrefslogtreecommitdiffstats
path: root/comms/ecu/Makefile
blob: 8c495925da4446a373144bed9e4348cbbd2bfba4 (plain)
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
28
29
30
31
# New ports collection makefile for:    ecu
# Date created:         Feb 18, 1995
# Whom:                 ache
#
# $FreeBSD$
#

PORTNAME=	ecu
PORTVERSION=	4.30
CATEGORIES=	comms
MASTER_SITES=	ftp://tsx-11.mit.edu/pub/linux/sources/usr.bin/Communications/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Extended Call Utility

USE_REINPLACE=	yes

do-configure:
	cd ${WRKSRC}; yes "" | ./Configure

pre-patch:
	@${REINPLACE_CMD} -e "s|#include  *<malloc.h>||g" \
	    ${WRKSRC}/ecu.h ${WRKSRC}/ecunumrev.c ${WRKSRC}/ptyfork.c \
	    ${WRKSRC}/qmake.c ${WRKSRC}/unsupported/tts/tts.c

post-install:
	cd ${WRKSRC}/doc; \
	   ${INSTALL_MAN} ecu.man ${PREFIX}/man/cat1/ecu.1; \
	   ${INSTALL_MAN} proc.man ${PREFIX}/man/cat1/proc.1

.include <bsd.port.mk>
OpenPOWER on IntegriCloud