openbsd-ports/textproc/ruby-ronn/Makefile

34 lines
835 B
Makefile

COMMENT = builds man pages
DISTNAME = ronn-0.7.3
REVISION = 4
CATEGORIES = textproc
HOMEPAGE = http://rtomayko.github.com/ronn/
MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
# MIT
PERMIT_PACKAGE = 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
MODRUBY_TEST = rake
.include <bsd.port.mk>