# Created by: arved
# $FreeBSD: tags/RELEASE_11_1_0/misc/tpp/Makefile 412348 2016-04-01 14:16:16Z mat $

PORTNAME=	tpp
PORTVERSION=	1.3.1
CATEGORIES=	misc
MASTER_SITES=	http://synflood.at/tpp/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Text presentation program

RUN_DEPENDS=	${RUBY_SITELIBDIR}/ncurses.rb:devel/ruby-ncurses \
		figlet:misc/figlet

NO_BUILD=	yes
USE_RUBY=	yes
RUBY_NO_BUILD_DEPENDS=	yes

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -E -e 's,share/man,man,' \
		-e 's,(DOC|INS|MAN)PATH),DESTDIR)$$(&,' \
		${WRKSRC}/Makefile

.include <bsd.port.mk>
