mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rabbit
|
|
PORTVERSION= 2.1.1
|
|
CATEGORIES= misc rubygems
|
|
MASTER_SITES= RG
|
|
|
|
MAINTAINER= tota@FreeBSD.org
|
|
COMMENT= RD-document-based presentation application
|
|
|
|
LICENSE= GPLv2 GPLv3
|
|
LICENSE_COMB= dual
|
|
LICENSE_FILE_GPLv2= ${WRKSRC}/GPL
|
|
|
|
RUN_DEPENDS= rubygem-coderay>=1.0.0:textproc/rubygem-coderay \
|
|
rubygem-faraday>0:www/rubygem-faraday \
|
|
rubygem-gettext>0:devel/rubygem-gettext \
|
|
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-rsvg2>0:graphics/rubygem-rsvg2 \
|
|
rubygem-rttool>0:textproc/rubygem-rttool
|
|
|
|
NO_ARCH= yes
|
|
USE_RUBY= yes
|
|
USES= gem gettext
|
|
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>
|