openbsd-ports/textproc/ruby-ronn/Makefile
jeremy c3579f1baf Bump revisions for ruby gem/extconf ports after the switch to ruby 1.9
by default, since the ruby 1.8 version now has a ruby18 explicit FLAVOR.
2012-09-23 16:57:32 +00:00

41 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2012/09/23 16:57:35 jeremy Exp $
COMMENT = builds man pages
DISTNAME = ronn-0.7.3
REVISION = 1
CATEGORIES = textproc
HOMEPAGE = http://rtomayko.github.com/ronn/
MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/ruby
CONFIGURE_STYLE = ruby gem
MODRUBY_ADJ_FILES = ronn
post-install:
cd ${WRKINST}/${LOCALBASE}/${GEM_LIB}/gems/${DISTNAME}/man && \
mv ronn.1 ${WRKINST}/${LOCALBASE}/man/man1/ronn${GEM_MAN_SUFFIX}.1 && \
mv ronn-format.7 ${WRKINST}/${LOCALBASE}/man/man7/ronn-format${GEM_MAN_SUFFIX}.7
rm -r ${WRKINST}/${LOCALBASE}/${GEM_LIB}/gems/${DISTNAME}/man
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = textproc/ruby-hpricot,${MODRUBY_FLAVOR}>=0.8.2 \
textproc/ruby-mustache,${MODRUBY_FLAVOR}>=0.7.0 \
textproc/ruby-rdiscount,${MODRUBY_FLAVOR}>=1.5.8 \
www/ruby-sinatra,${MODRUBY_FLAVOR}
MODRUBY_REGRESS = rake
MODRUBY_REGRESS_ENV = RUBYOPT=-rubygems
.include <bsd.port.mk>