# ex:ts=8
# New ports collection makefile for:	cwtext
# Date created:			Nov 16, 2001
# Whom:				ijliao
#
# $FreeBSD: ports/textproc/cwtext/Makefile,v 1.1 2001/11/16 03:46:52 ijliao Exp $
#

PORTNAME=	cwtext
PORTVERSION=	0.90
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org

USE_GMAKE=	yes
MAKEFILE=	makefile
ALL_TARGET=	ALL

post-patch:
	@${PERL} -pi -e "s,^PREFIX,#PREFIX,g ; \
		s,gcc,${CC} ${CFLAGS},g" ${WRKSRC}/${MAKEFILE}

do-install:
.for file in cwpcm cwtext
	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
.endfor

.include <bsd.port.mk>
