Date: Thu, 10 Sep 2015 00:45:26 +0000 (UTC) From: Jason Unovitch <junovitch@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396547 - in head/textproc: . smi Message-ID: <201509100045.t8A0jQFW087140@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: junovitch Date: Thu Sep 10 00:45:25 2015 New Revision: 396547 URL: https://svnweb.freebsd.org/changeset/ports/396547 Log: New Port: textproc/smi Smi is a Simple Markup Interpreter / filter for simplified Markup dialect. smi can be fed text in Markdown, and return HTML output. smi can be fed HTML, and return the markup translated to entities. I use smi as a filter for devel/cgit to parse the README.md files, returning HTML output. I am also using it to markup wiki pages, for a git backed wiki. The use cases are limited only by your imagination. WWW: http://BSDforge.com/projects/textproc/smi/ PR: 196224 Submitted by: Chris Hutchinson <portmaster@bsdforge.com> Approved by: pgollucci (mentor) Differential Revision: https://reviews.freebsd.org/D3569 Added: head/textproc/smi/ head/textproc/smi/Makefile (contents, props changed) head/textproc/smi/distinfo (contents, props changed) head/textproc/smi/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Thu Sep 10 00:45:03 2015 (r396546) +++ head/textproc/Makefile Thu Sep 10 00:45:25 2015 (r396547) @@ -1500,6 +1500,7 @@ SUBDIR += sl-hyphen SUBDIR += sl-mythes SUBDIR += slides + SUBDIR += smi SUBDIR += smu SUBDIR += so-hunspell SUBDIR += soothsayer Added: head/textproc/smi/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/smi/Makefile Thu Sep 10 00:45:25 2015 (r396547) @@ -0,0 +1,34 @@ +# Created by: Chris Hutchinson <portmaster@bsdforge.com> +# $FreeBSD$ + +PORTNAME= smi +PORTVERSION= 1.4 +CATEGORIES= textproc www +MASTER_SITES= http://bsdforge.com/projects/source/textproc/${PORTNAME}/ + +MAINTAINER= portmaster@bsdforge.com +COMMENT= Simple Markdown Interpreter / filter for simplified markup dialect + +LICENSE= MIT BSD2CLAUSE +LICENSE_COMB= multi +LICENSE_FILE= ${WRKSRC}/LICENSE + +PORTDOCS= README.md + +PLIST_FILES= bin/smi man/man1/smi.1.gz + +USES= tar:xz + +post-patch: + ${REINPLACE_CMD} -e 's|^CC = .*|CC = ${CC}|' \ + -e 's|^PREFIX = .*|PREFlX = ${PREFIX}|' \ + -e 's|^MANPREFIX = .*|MANPREFIX = ${MANPREFIX}|' \ + ${WRKSRC}/config.mk + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/smi ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/smi.1 ${STAGEDIR}${MANPREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> Added: head/textproc/smi/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/smi/distinfo Thu Sep 10 00:45:25 2015 (r396547) @@ -0,0 +1,2 @@ +SHA256 (smi-1.4.tar.xz) = dca9315a926e12516526aa67827be42f2903189dc3c3e9efb2170ac06c2e4ba4 +SIZE (smi-1.4.tar.xz) = 7196 Added: head/textproc/smi/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/smi/pkg-descr Thu Sep 10 00:45:25 2015 (r396547) @@ -0,0 +1,8 @@ +Smi is a Simple Markup Interpreter / filter for simplified Markup dialect. +smi can be fed text in Markdown, and return HTML output. smi can be fed +HTML, and return the markup translated to entities. I use smi as a filter +for devel/cgit to parse the README.md files, returning HTML output. I am +also using it to markup wiki pages, for a git backed wiki. The use cases +are limited only by your imagination. + +WWW: http://BSDforge.com/projects/textproc/smi/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509100045.t8A0jQFW087140>