freebsd-ports/devel/rubygem-manpages/Makefile
Sunpoet Po-Chuan Hsieh 884320238b Add rubygem-manpages 0.6.1
This plugin will add man pages support to ruby gems. Instead of adding a new
command like gem-man it will try to link the files to a place the man command
automatically discovers.

WWW: https://github.com/bitboxer/manpages
2018-04-15 20:02:19 +00:00

30 lines
706 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= manpages
PORTVERSION= 0.6.1
CATEGORIES= devel rubygems
MASTER_SITES= RG
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Detect man pages within gems and exposes them to the man command
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
NO_ARCH= yes
USE_RUBY= yes
USES= gem shebangfix
SHEBANG_FILES= rbenv/rbenv_hook_install.sh \
rbenv/remove_hook_folders.sh
post-patch:
@${REINPLACE_CMD} -e 's|/share/man|/man|' \
${WRKSRC}/README.md \
${WRKSRC}/lib/rubygems/commands/manpages_command.rb \
${WRKSRC}/lib/rubygems_plugin.rb \
${WRKSRC}/rbenv/hooks/version-name-change-man.bash \
${WRKSRC}/rbenv/vars.sh
.include <bsd.port.mk>