Switch tpp from ruby 1.8 to ruby 1.9. Modify the shebang line so that

it actually references the binary installed by the ports system.

OK sthen@
This commit is contained in:
jeremy 2012-09-03 18:03:13 +00:00
parent f683119254
commit c6460b3549

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.7 2011/09/16 10:31:23 espie Exp $
# $OpenBSD: Makefile,v 1.8 2012/09/03 18:03:13 jeremy Exp $
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