Index: textproc/Makefile =================================================================== --- textproc/Makefile +++ textproc/Makefile @@ -1402,6 +1402,7 @@ SUBDIR += rubygem-unf SUBDIR += rubygem-unf_ext SUBDIR += rubygem-version_sorter + SUBDIR += rubygem-wikicloth SUBDIR += rubygem-xml-simple SUBDIR += rubygem-xslt SUBDIR += rubygem-ya2yaml Index: textproc/rubygem-wikicloth/Makefile =================================================================== --- /dev/null +++ textproc/rubygem-wikicloth/Makefile @@ -0,0 +1,24 @@ +# $FreeBSD$ + +PORTNAME= wikicloth +PORTVERSION= 0.8.3 +CATEGORIES= textproc rubygems +MASTER_SITES= RG + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Ruby parser for the MediaWiki markup language + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/MIT-LICENSE + +RUN_DEPENDS= rubygem-builder>0:${PORTSDIR}/devel/rubygem-builder \ + rubygem-expression_parser>0:${PORTSDIR}/math/rubygem-expression_parser \ + rubygem-htmlentities>0:${PORTSDIR}/textproc/rubygem-htmlentities \ + rubygem-nokogiri>0:${PORTSDIR}/textproc/rubygem-nokogiri \ + rubygem-twitter-text>0:${PORTSDIR}/textproc/rubygem-twitter-text + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +.include Index: textproc/rubygem-wikicloth/distinfo =================================================================== --- /dev/null +++ textproc/rubygem-wikicloth/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/wikicloth-0.8.3.gem) = 502e688579cfb6c408d353c26608d4495561c20a807697592eab8ef472c8e830 +SIZE (rubygem/wikicloth-0.8.3.gem) = 123904 Index: textproc/rubygem-wikicloth/pkg-descr =================================================================== --- /dev/null +++ textproc/rubygem-wikicloth/pkg-descr @@ -0,0 +1,10 @@ +Ruby parser for the MediaWiki markup language, supporting: + +- Variables and templates +- Links +- Markup +- Disabling of wiki markup +- References +- HTML sanitization + +WWW: https://github.com/nricciar/wikicloth