# ex:ts=8
# -*-mode: makefile-*-
#
# New ports collection makefile for:	ncdialog
# Date created:		2003-01-11
# Whom:			AlanE <alane@freebsd.org>
#
# $FreeBSD: ports/devel/cdialog/Makefile,v 1.4 2003/03/07 06:00:11 ade Exp $
#

PORTNAME=	cdialog
PORTVERSION=	0.9b.20030130
PORTREVISION=	0
PORTEPOCH=	1
CATEGORIES=	devel
MASTER_SITES=	ftp://invisible-island.net/dialog/
DISTNAME=	${PORTNAME:S|^c||}-${PORTVERSION:S|.200|-200|}
EXTRACT_SUFX=	.tgz

MAINTAINER=	alane@freebsd.org
COMMENT=	An enhanced version of the 'dialog' command to work with ncurses

USE_GMAKE=	yes
GNU_CONFIGURE=	yes
MAKEFILE=	makefile

BINDIR?=	${PREFIX}/bin
MAN1DIR?=	${MANPREFIX}/man/man1

do-install:
	cd ${WRKSRC};\
	${INSTALL_PROGRAM} dialog ${BINDIR}/cdialog;\
	${INSTALL_DATA} dialog.1 ${MAN1DIR}/cdialog.1

.include <bsd.port.pre.mk>
.include "${FILESDIR}/manpages.mk"
.include <bsd.port.post.mk>
#EOF
