1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/devel/rubygem-manpages/Makefile
Sunpoet Po-Chuan Hsieh 5e04ad07c6 Cosmetic change
2018-09-16 23:25:16 +00:00

32 lines
707 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
USES= gem shebangfix
USE_RUBY= yes
NO_ARCH= yes
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>