# Created by: Po-Chuan Hsieh # $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