# New ports collection makefile for:	pinfo
# Date created:		19 May 1999
# Whom:			Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD: ports/misc/pinfo/Makefile,v 1.9 2000/11/16 13:31:18 tg Exp $
#

PORTNAME=	pinfo
PORTVERSION=	0.6.1
CATEGORIES=	misc
MASTER_SITES=	http://zeus.polsl.gliwice.pl/~pborys/stable-version/

MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	intl.1:${PORTSDIR}/devel/gettext

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--without-included-gettext --with-readline
CONFIGURE_ENV=	LIBS="-lgnuregex -L${PREFIX}/lib -lintl" \
		CFLAGS="${CFLAGS} -I${PREFIX}/include"

MAN1=	pinfo.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 400010
LIB_DEPENDS+=	ncurses.5:${PORTSDIR}/devel/ncurses
CONFIGURE_ARGS+=	--with-ncurses=${PREFIX}
.endif

.include <bsd.port.post.mk>
