aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-08-30 22:03:30 +0800
committerarved <arved@FreeBSD.org>2004-08-30 22:03:30 +0800
commit8481145161dc9d13909061632769e609193c050c (patch)
tree8954a5ab99319d433ea717a75eb3827f88e27bdd
parent2ae320ef457c1ee4159094cc7cc4b39b51bc247b (diff)
downloadfreebsd-ports-gnome-8481145161dc9d13909061632769e609193c050c.tar.gz
freebsd-ports-gnome-8481145161dc9d13909061632769e609193c050c.tar.zst
freebsd-ports-gnome-8481145161dc9d13909061632769e609193c050c.zip
Add tpp, text presentation program, an ncurses-based powerpoint clone
written in ruby
-rw-r--r--misc/Makefile1
-rw-r--r--misc/tpp/Makefile39
-rw-r--r--misc/tpp/distinfo2
-rw-r--r--misc/tpp/pkg-descr4
-rw-r--r--misc/tpp/pkg-plist21
5 files changed, 67 insertions, 0 deletions
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 <bsd.port.mk>
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 <ak@synflood.at>
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%%