openbsd-ports/devel/ruby-rdoc/Makefile

30 lines
723 B
Makefile
Raw Normal View History

# $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>