1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/misc/rubygem-rabbit/Makefile
Koichiro Iwao 28c0cf1a0e misc/rubygem-rabbit: Update to 3.0.0
While here, switch rubygem-faraday0 -> rubygem-farday because it works
with faraday 1.x series. There's no reason to stay on 0.x.

PR:		254996
Reported by:	meta
Approved by:	maintainer timeout (tota, > almost 2 months)
Relnotes:	https://rabbit-shocker.org/ja/news.html
2021-06-07 11:30:43 +09:00

45 lines
1.4 KiB
Makefile

# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
PORTNAME= rabbit
PORTVERSION= 3.0.0
CATEGORIES= misc rubygems
MASTER_SITES= RG
MAINTAINER= tota@FreeBSD.org
COMMENT= RD-document-based presentation application
LICENSE= GPLv2+
LICENSE_FILE_GPLv2+ = ${WRKSRC}/GPL
RUN_DEPENDS= rubygem-coderay>=1.0.0:textproc/rubygem-coderay \
rubygem-faraday>0:www/rubygem-faraday \
rubygem-gdk_pixbuf2>=3.0.9:graphics/rubygem-gdk_pixbuf2 \
rubygem-gettext>=3.0.1:devel/rubygem-gettext \
rubygem-gtk3>0:x11-toolkits/rubygem-gtk3 \
rubygem-hikidoc>0:textproc/rubygem-hikidoc \
rubygem-kramdown>0:textproc/rubygem-kramdown \
rubygem-kramdown-parser-gfm>0:textproc/rubygem-kramdown-parser-gfm \
rubygem-nokogiri>0:textproc/rubygem-nokogiri \
rubygem-poppler>=3.2.5:x11-toolkits/rubygem-poppler \
rubygem-rdtool>0:textproc/rubygem-rdtool \
rubygem-rouge>0:textproc/rubygem-rouge \
rubygem-rsvg2>=3.1.4:graphics/rubygem-rsvg2 \
rubygem-rttool>0:textproc/rubygem-rttool
NO_ARCH= yes
USES= gem gettext
USE_RUBY= yes
PLIST_FILES= bin/rabbit bin/rabbirc bin/rabbit-command bin/rabbit-slide \
bin/rabbit-theme
OPTIONS_DEFINE= MIMETEX
MIMETEX_DESC= Run with mimetex
MIMETEX_RUN_DEPENDS= ${LOCALBASE}/www/mimetex/cgi-bin/mimetex.cgi:www/mimetex
post-patch-MIMETEX-on:
${REINPLACE_CMD} -e 's|"mimetex.cgi"|"${PREFIX}/www/mimetex/cgi-bin/mimetex.cgi"|' \
${WRKSRC}/lib/rabbit/parser/ext/tex.rb
.include <bsd.port.mk>