Ronn builds manuals. It converts simple, human readable textfiles to roff for terminal display, and also to HTML for the web. The source format includes all of Markdown but has a more rigid structure and syntax extensions for features commonly found in manpages (definition lists, link notation, etc.). The ronn-format(7) manual page defines the format in detail. OK sthen@
39 lines
1016 B
Makefile
39 lines
1016 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2011/11/17 15:31:19 jeremy Exp $
|
|
|
|
COMMENT = builds man pages
|
|
|
|
DISTNAME = ronn-0.7.3
|
|
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
|
|
|
|
MODRUBY_REGRESS = rake
|
|
MODRUBY_REGRESS_ENV = RUBYOPT=-rubygems
|
|
|
|
.include <bsd.port.mk>
|