Currently, misc/tpp uses #!/usr/bin/env ruby, so it doesn't work by default with the ports system. This patch makes it use ruby18 so it works (the homepage states it requires ruby 1.8).
This also adds MODRUBY_FLAVOR to the ruby-ncurses RUN_DEPENDS, so that it will continue to work if we default to using the ruby19 FLAVOR for unFLAVORed ports. Looking for OKs. Thanks, Jeremy Index: Makefile =================================================================== RCS file: /cvs/ports/misc/tpp/Makefile,v retrieving revision 1.7 diff -u -p -r1.7 Makefile --- Makefile 16 Sep 2011 10:31:23 -0000 1.7 +++ Makefile 2 Sep 2012 21:31:40 -0000 @@ -3,7 +3,7 @@ COMMENT = text-based presentation program DISTNAME = tpp-1.3.1 -REVISION = 2 +REVISION = 3 CATEGORIES = misc productivity @@ -18,7 +18,7 @@ PERMIT_DISTFILES_FTP = Yes MASTER_SITES = http://synflood.at/tpp/ MODULES = lang/ruby -RUN_DEPENDS = devel/ruby-ncurses \ +RUN_DEPENDS = devel/ruby-ncurses,${MODRUBY_FLAVOR} \ misc/figlet NO_BUILD = Yes @@ -31,6 +31,7 @@ do-install: ${INSTALL_MAN_DIR} ${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/doc/tpp.1 ${PREFIX}/man/man1 ${INSTALL_SCRIPT} ${WRKSRC}/tpp.rb ${PREFIX}/bin/tpp + ${MODRUBY_RUBY_ADJ} ${PREFIX}/bin/tpp ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tpp ${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/tpp ${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp
