From 8481145161dc9d13909061632769e609193c050c Mon Sep 17 00:00:00 2001 From: arved Date: Mon, 30 Aug 2004 14:03:30 +0000 Subject: Add tpp, text presentation program, an ncurses-based powerpoint clone written in ruby --- misc/Makefile | 1 + misc/tpp/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ misc/tpp/distinfo | 2 ++ misc/tpp/pkg-descr | 4 ++++ misc/tpp/pkg-plist | 21 +++++++++++++++++++++ 5 files changed, 67 insertions(+) create mode 100644 misc/tpp/Makefile create mode 100644 misc/tpp/distinfo create mode 100644 misc/tpp/pkg-descr create mode 100644 misc/tpp/pkg-plist diff --git a/misc/Makefile b/misc/Makefile index 03018c15f914..d012ad09e963 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -384,6 +384,7 @@ SUBDIR += tkman SUBDIR += tkregexp SUBDIR += tkrunit + SUBDIR += tpp SUBDIR += translate SUBDIR += ttyrec SUBDIR += tvguide diff --git a/misc/tpp/Makefile b/misc/tpp/Makefile new file mode 100644 index 000000000000..04d9e4a43960 --- /dev/null +++ b/misc/tpp/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: tpp +# Date created: 2004-08-30 +# Whom: arved +# +# $FreeBSD$ + +PORTNAME= tpp +PORTVERSION= 1.0 +CATEGORIES= misc +MASTER_SITES= http://synflood.at/tpp/ + +MAINTAINER= arved@FreeBSD.org +COMMENT= Text presentation program + +RUN_DEPENDS= ${RUBY_SITELIBDIR}/ncurses.rb:${PORTSDIR}/devel/ruby-ncurses \ + figlet:${PORTSDIR}/misc/figlet + +NO_BUILD= yes +USE_REINPLACE= yes +USE_RUBY= yes +RUBY_NO_BUILD_DEPENDS= yes + +MAN1= tpp.1 + +post-patch: + ${REINPLACE_CMD} -e "s,/usr/bin,${PREFIX}/bin," ${WRKSRC}/tpp.rb + +post-install: + ${INSTALL_SCRIPT} ${WRKSRC}/tpp.rb ${PREFIX}/bin + ${LN} -sf ${PREFIX}/bin/tpp.rb ${PREFIX}/bin/tpp + ${INSTALL_MAN} ${WRKSRC}/doc/tpp.1 ${PREFIX}/man/man1 +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + cd ${WRKSRC}; ${INSTALL_DATA} CHANGES COPYING README ${DOCSDIR} + ${MKDIR} ${DOCSDIR}/examples + cd ${WRKSRC}/examples; ${INSTALL_DATA} * ${DOCSDIR}/examples +.endif + +.include diff --git a/misc/tpp/distinfo b/misc/tpp/distinfo new file mode 100644 index 000000000000..a306e6cddf60 --- /dev/null +++ b/misc/tpp/distinfo @@ -0,0 +1,2 @@ +MD5 (tpp-1.0.tar.gz) = 03683cb9ce66caca237b1b4402df3bcf +SIZE (tpp-1.0.tar.gz) = 24519 diff --git a/misc/tpp/pkg-descr b/misc/tpp/pkg-descr new file mode 100644 index 000000000000..4e50d94759b3 --- /dev/null +++ b/misc/tpp/pkg-descr @@ -0,0 +1,4 @@ +tpp is an ncurses-based presentation tool + +WWW: http://synflood.at/tpp/ +Author: Andreas Krennmair diff --git a/misc/tpp/pkg-plist b/misc/tpp/pkg-plist new file mode 100644 index 000000000000..4425631b4521 --- /dev/null +++ b/misc/tpp/pkg-plist @@ -0,0 +1,21 @@ +bin/tpp.rb +bin/tpp +%%PORTDOCS%%%%DOCSDIR%%/CHANGES +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/examples/ac-am.tpp +%%PORTDOCS%%%%DOCSDIR%%/examples/bold.tpp +%%PORTDOCS%%%%DOCSDIR%%/examples/center-et-al.tpp +%%PORTDOCS%%%%DOCSDIR%%/examples/colors.tpp +%%PORTDOCS%%%%DOCSDIR%%/examples/colors2.tpp +%%PORTDOCS%%%%DOCSDIR%%/examples/exec.tpp +%%PORTDOCS%%%%DOCSDIR%%/examples/horline.tpp +%%PORTDOCS%%%%DOCSDIR%%/examples/huge.tpp +%%PORTDOCS%%%%DOCSDIR%%/examples/list.tpp +%%PORTDOCS%%%%DOCSDIR%%/examples/manyslides.tpp +%%PORTDOCS%%%%DOCSDIR%%/examples/shell.tpp +%%PORTDOCS%%%%DOCSDIR%%/examples/slidein.tpp +%%PORTDOCS%%%%DOCSDIR%%/examples/source.tpp +%%PORTDOCS%%%%DOCSDIR%%/examples/test.tpp +%%PORTDOCS%%@dirrm %%DOCSDIR%%/examples +%%PORTDOCS%%@dirrm %%DOCSDIR%% -- cgit