openbsd-ports/devel/ruby-rdoc/Makefile
jeremy ea4a3cb0a9 Import ruby-rdoc 3.11, a Rails 3.1 dependency
RDoc produces HTML and command-line documentation for Ruby projects.
RDoc includes the rdoc and ri tools for generating and displaying online
documentation.

OK claudio@
2011-12-13 17:36:02 +00:00

30 lines
723 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/12/13 17:36:02 jeremy Exp $
COMMENT = generate and display ruby documentation
DISTNAME = rdoc-3.11
CATEGORIES = devel
HOMEPAGE = http://docs.seattlerb.org/rdoc/
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/ruby
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = converters/ruby-json,${MODRUBY_FLAVOR}>=1.4,<2.0
CONFIGURE_STYLE = ruby gem
# All ruby implementations ship with rdoc/ri binaries, so rename
# the ones from the gem so they don't conflict.
post-install:
mv ${PREFIX}/${GEM_BIN}/rdoc${GEM_BIN_SUFFIX}{,-gem}
mv ${PREFIX}/${GEM_BIN}/ri${GEM_BIN_SUFFIX}{,-gem}
.include <bsd.port.mk>