openbsd-ports/misc/tpp/Makefile
jeremy ac78ad4e83 Make ruby 1.9 the default ruby for non-gem/extconf ports,
for consistency with the gem/extconf ports.

Update non-gem/extconf ports that relied on the previous
default of ruby 1.8 to explicitly specify it.

OK ajacoutot@
2013-03-20 19:13:50 +00:00

40 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.12 2013/03/20 19:13:50 jeremy Exp $
COMMENT = text-based presentation program
DISTNAME = tpp-1.3.1
REVISION = 5
CATEGORIES = misc productivity
HOMEPAGE = http://synflood.at/tpp.html
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = http://synflood.at/tpp/
MODULES = lang/ruby
MODRUBY_REV= 1.8
RUN_DEPENDS = devel/ruby-ncurses,${MODRUBY_FLAVOR} \
misc/figlet
NO_BUILD = Yes
USE_GROFF = Yes
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tpp
cd ${WRKSRC} && \
${INSTALL_DATA} DESIGN README THANKS ${PREFIX}/share/doc/tpp
${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
${INSTALL_DATA} ${WRKSRC}/contrib/tpp-mode.el ${PREFIX}/share/emacs/site-lisp
${INSTALL_DATA} ${WRKSRC}/contrib/tpp.vim ${PREFIX}/share/doc/tpp
.include <bsd.port.mk>