1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Ruby wrapper around David Loren Parsons' discount, a fast,

BSD-licensed c implementation of John Gruber's Markdown plus
some aspects of SmartyPants.  Markdown is a text-to-HTML
conversion language for web writers, inspired by the format
of plain-text e-mail messages.  Markdown allows you to write
in an easy-to-read, easy-to-write plain text format, then
convert it to structurally valid XHTML (or HTML).

WWW: http://github.com/rtomayko/rdiscount/

PR:		ports/128548
Submitted by:	Daniel Roethlisberger <daniel at roe.ch>
This commit is contained in:
Martin Wilke 2008-11-09 23:02:01 +00:00
parent 035e3310b1
commit b527b77010
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=222655
4 changed files with 39 additions and 0 deletions

View File

@ -957,6 +957,7 @@
SUBDIR += rubygem-htmltools
SUBDIR += rubygem-ini
SUBDIR += rubygem-rak
SUBDIR += rubygem-rdiscount
SUBDIR += rubygem-spreadsheet-excel
SUBDIR += rubygem-syntax
SUBDIR += rubygem-tidy

View File

@ -0,0 +1,26 @@
# Ports collection makefile for: rubygem-rdiscount
# Date created: 2008-11-02
# Whom: Daniel Roethlisberger <daniel@roe.ch>
#
# $FreeBSD$
PORTNAME= rdiscount
PORTVERSION= 1.2.10
CATEGORIES= textproc rubygems
MASTER_SITES= RF/gems
MAINTAINER= daniel@roe.ch
COMMENT= A fast Markdown converter for ruby based on discount
USE_RUBY= yes
USE_RUBYGEMS= yes
post-install:
@${ECHO} ${GEM_CACHE} > ${TMPPLIST}
@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
@${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
@${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
@${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (rubygem/rdiscount-1.2.10.gem) = 6c1b220c136d215440eb1552f8f56dd1
SHA256 (rubygem/rdiscount-1.2.10.gem) = dab826a59aeb021a600661ba4987e4a28e3955ffa14b5e6adafbf46cc1beebd2
SIZE (rubygem/rdiscount-1.2.10.gem) = 31232

View File

@ -0,0 +1,9 @@
Ruby wrapper around David Loren Parsons' discount, a fast,
BSD-licensed c implementation of John Gruber's Markdown plus
some aspects of SmartyPants. Markdown is a text-to-HTML
conversion language for web writers, inspired by the format
of plain-text e-mail messages. Markdown allows you to write
in an easy-to-read, easy-to-write plain text format, then
convert it to structurally valid XHTML (or HTML).
WWW: http://github.com/rtomayko/rdiscount/