mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
55d65cacd9
html2text is a very simple script that uses Ruby's DOM methods to load HTML from a string, and then iterates over the resulting DOM to correctly output plain text. WWW: https://github.com/soundasleep/html2text_ruby
22 lines
401 B
Makefile
22 lines
401 B
Makefile
# Created by: Torsten Zuehlsdorff <tz@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= html2text
|
|
PORTVERSION= 0.2.0
|
|
CATEGORIES= textproc rubygems
|
|
MASTER_SITES= RG
|
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
|
COMMENT= Convert HTML into a plain text format
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
RUN_DEPENDS= rubygem-nokogiri>=1.6:textproc/rubygem-nokogiri
|
|
|
|
NO_ARCH= yes
|
|
USE_RUBY= yes
|
|
USES= gem
|
|
|
|
.include <bsd.port.mk>
|