c3579f1baf
by default, since the ruby 1.8 version now has a ruby18 explicit FLAVOR.
31 lines
732 B
Makefile
31 lines
732 B
Makefile
# $OpenBSD: Makefile,v 1.2 2012/09/23 16:57:34 jeremy Exp $
|
|
|
|
COMMENT = generate and display ruby documentation
|
|
|
|
DISTNAME = rdoc-3.11
|
|
REVISION = 0
|
|
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>
|