blob: 89a3b7d909f608db057d78eeb1ab3dadd1915144 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
# $FreeBSD$
PORTNAME= rabbit
PORTVERSION= 2.2.1
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-gio2>0:devel/rubygem-gio2 \
rubygem-gtk2>0:x11-toolkits/rubygem-gtk2 \
rubygem-hikidoc>0:textproc/rubygem-hikidoc \
rubygem-kramdown>0:textproc/rubygem-kramdown \
rubygem-nokogiri>0:textproc/rubygem-nokogiri \
rubygem-poppler>0:x11-toolkits/rubygem-poppler \
rubygem-rdtool>0:textproc/rubygem-rdtool \
rubygem-rouge>0:textproc/rubygem-rouge \
rubygem-rsvg2>0: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>
|